QtRocket
 
Loading...
Searching...
No Matches
Catch::IResultCapture Class Referenceabstract

#include <catch_amalgamated.hpp>

Public Member Functions

virtual ~IResultCapture ()
 
virtual void notifyAssertionStarted (AssertionInfo const &info)=0
 
virtual bool sectionStarted (StringRef sectionName, SourceLineInfo const &sectionLineInfo, Counts &assertions)=0
 
virtual void sectionEnded (SectionEndInfo &&endInfo)=0
 
virtual void sectionEndedEarly (SectionEndInfo &&endInfo)=0
 
virtual IGeneratorTrackeracquireGeneratorTracker (StringRef generatorName, SourceLineInfo const &lineInfo)=0
 
virtual IGeneratorTrackercreateGeneratorTracker (StringRef generatorName, SourceLineInfo lineInfo, Generators::GeneratorBasePtr &&generator)=0
 
virtual void benchmarkPreparing (StringRef name)=0
 
virtual void benchmarkStarting (BenchmarkInfo const &info)=0
 
virtual void benchmarkEnded (BenchmarkStats<> const &stats)=0
 
virtual void benchmarkFailed (StringRef error)=0
 
virtual void pushScopedMessage (MessageInfo const &message)=0
 
virtual void popScopedMessage (MessageInfo const &message)=0
 
virtual void emplaceUnscopedMessage (MessageBuilder &&builder)=0
 
virtual void handleFatalErrorCondition (StringRef message)=0
 
virtual void handleExpr (AssertionInfo const &info, ITransientExpression const &expr, AssertionReaction &reaction)=0
 
virtual void handleMessage (AssertionInfo const &info, ResultWas::OfType resultType, std::string &&message, AssertionReaction &reaction)=0
 
virtual void handleUnexpectedExceptionNotThrown (AssertionInfo const &info, AssertionReaction &reaction)=0
 
virtual void handleUnexpectedInflightException (AssertionInfo const &info, std::string &&message, AssertionReaction &reaction)=0
 
virtual void handleIncomplete (AssertionInfo const &info)=0
 
virtual void handleNonExpr (AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction)=0
 
virtual bool lastAssertionPassed ()=0
 
virtual void assertionPassed ()=0
 
virtual std::string getCurrentTestName () const =0
 
virtual const AssertionResultgetLastResult () const =0
 
virtual void exceptionEarlyReported ()=0
 

Constructor & Destructor Documentation

◆ ~IResultCapture()

Catch::IResultCapture::~IResultCapture ( )
virtualdefault

Member Function Documentation

◆ acquireGeneratorTracker()

virtual IGeneratorTracker * Catch::IResultCapture::acquireGeneratorTracker ( StringRef generatorName,
SourceLineInfo const & lineInfo )
pure virtual
Here is the caller graph for this function:

◆ assertionPassed()

virtual void Catch::IResultCapture::assertionPassed ( )
pure virtual

◆ benchmarkEnded()

virtual void Catch::IResultCapture::benchmarkEnded ( BenchmarkStats<> const & stats)
pure virtual

◆ benchmarkFailed()

virtual void Catch::IResultCapture::benchmarkFailed ( StringRef error)
pure virtual

◆ benchmarkPreparing()

virtual void Catch::IResultCapture::benchmarkPreparing ( StringRef name)
pure virtual

◆ benchmarkStarting()

virtual void Catch::IResultCapture::benchmarkStarting ( BenchmarkInfo const & info)
pure virtual

◆ createGeneratorTracker()

virtual IGeneratorTracker * Catch::IResultCapture::createGeneratorTracker ( StringRef generatorName,
SourceLineInfo lineInfo,
Generators::GeneratorBasePtr && generator )
pure virtual
Here is the caller graph for this function:

◆ emplaceUnscopedMessage()

virtual void Catch::IResultCapture::emplaceUnscopedMessage ( MessageBuilder && builder)
pure virtual

◆ exceptionEarlyReported()

virtual void Catch::IResultCapture::exceptionEarlyReported ( )
pure virtual

◆ getCurrentTestName()

virtual std::string Catch::IResultCapture::getCurrentTestName ( ) const
pure virtual

◆ getLastResult()

virtual const AssertionResult * Catch::IResultCapture::getLastResult ( ) const
pure virtual

◆ handleExpr()

virtual void Catch::IResultCapture::handleExpr ( AssertionInfo const & info,
ITransientExpression const & expr,
AssertionReaction & reaction )
pure virtual

◆ handleFatalErrorCondition()

virtual void Catch::IResultCapture::handleFatalErrorCondition ( StringRef message)
pure virtual

◆ handleIncomplete()

virtual void Catch::IResultCapture::handleIncomplete ( AssertionInfo const & info)
pure virtual

◆ handleMessage()

virtual void Catch::IResultCapture::handleMessage ( AssertionInfo const & info,
ResultWas::OfType resultType,
std::string && message,
AssertionReaction & reaction )
pure virtual

◆ handleNonExpr()

virtual void Catch::IResultCapture::handleNonExpr ( AssertionInfo const & info,
ResultWas::OfType resultType,
AssertionReaction & reaction )
pure virtual

◆ handleUnexpectedExceptionNotThrown()

virtual void Catch::IResultCapture::handleUnexpectedExceptionNotThrown ( AssertionInfo const & info,
AssertionReaction & reaction )
pure virtual

◆ handleUnexpectedInflightException()

virtual void Catch::IResultCapture::handleUnexpectedInflightException ( AssertionInfo const & info,
std::string && message,
AssertionReaction & reaction )
pure virtual

◆ lastAssertionPassed()

virtual bool Catch::IResultCapture::lastAssertionPassed ( )
pure virtual

◆ notifyAssertionStarted()

virtual void Catch::IResultCapture::notifyAssertionStarted ( AssertionInfo const & info)
pure virtual

◆ popScopedMessage()

virtual void Catch::IResultCapture::popScopedMessage ( MessageInfo const & message)
pure virtual
Here is the caller graph for this function:

◆ pushScopedMessage()

virtual void Catch::IResultCapture::pushScopedMessage ( MessageInfo const & message)
pure virtual
Here is the caller graph for this function:

◆ sectionEnded()

virtual void Catch::IResultCapture::sectionEnded ( SectionEndInfo && endInfo)
pure virtual
Here is the caller graph for this function:

◆ sectionEndedEarly()

virtual void Catch::IResultCapture::sectionEndedEarly ( SectionEndInfo && endInfo)
pure virtual
Here is the caller graph for this function:

◆ sectionStarted()

virtual bool Catch::IResultCapture::sectionStarted ( StringRef sectionName,
SourceLineInfo const & sectionLineInfo,
Counts & assertions )
pure virtual

The documentation for this class was generated from the following files: