Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Catch::IResultCapture Struct Referenceabstract

#include <catch_interfaces_capture.h>

Inheritance diagram for Catch::IResultCapture:

Public Member Functions

virtual ~IResultCapture ()
 
virtual bool sectionStarted (SectionInfo const &sectionInfo, Counts &assertions)=0
 
virtual void sectionEnded (SectionEndInfo const &endInfo)=0
 
virtual void sectionEndedEarly (SectionEndInfo const &endInfo)=0
 
virtual auto acquireGeneratorTracker (SourceLineInfo const &lineInfo) -> IGeneratorTracker &=0
 
virtual void benchmarkStarting (BenchmarkInfo const &info)=0
 
virtual void benchmarkEnded (BenchmarkStats const &stats)=0
 
virtual void pushScopedMessage (MessageInfo const &message)=0
 
virtual void popScopedMessage (MessageInfo const &message)=0
 
virtual void emplaceUnscopedMessage (MessageBuilder const &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, StringRef const &message, AssertionReaction &reaction)=0
 
virtual void handleUnexpectedExceptionNotThrown (AssertionInfo const &info, AssertionReaction &reaction)=0
 
virtual void handleUnexpectedInflightException (AssertionInfo const &info, std::string const &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
 
virtual ~IResultCapture ()
 
virtual bool sectionStarted (SectionInfo const &sectionInfo, Counts &assertions)=0
 
virtual void sectionEnded (SectionEndInfo const &endInfo)=0
 
virtual void sectionEndedEarly (SectionEndInfo const &endInfo)=0
 
virtual auto acquireGeneratorTracker (SourceLineInfo const &lineInfo) -> IGeneratorTracker &=0
 
virtual void benchmarkStarting (BenchmarkInfo const &info)=0
 
virtual void benchmarkEnded (BenchmarkStats const &stats)=0
 
virtual void pushScopedMessage (MessageInfo const &message)=0
 
virtual void popScopedMessage (MessageInfo const &message)=0
 
virtual void emplaceUnscopedMessage (MessageBuilder const &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, StringRef const &message, AssertionReaction &reaction)=0
 
virtual void handleUnexpectedExceptionNotThrown (AssertionInfo const &info, AssertionReaction &reaction)=0
 
virtual void handleUnexpectedInflightException (AssertionInfo const &info, std::string const &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
 

Detailed Description

Definition at line 2087 of file catch.hpp.

Constructor & Destructor Documentation

◆ ~IResultCapture() [1/2]

Catch::IResultCapture::~IResultCapture ( )
virtualdefault

◆ ~IResultCapture() [2/2]

virtual Catch::IResultCapture::~IResultCapture ( )
virtual

Member Function Documentation

◆ acquireGeneratorTracker() [1/2]

virtual auto Catch::IResultCapture::acquireGeneratorTracker ( SourceLineInfo const & lineInfo) -> IGeneratorTracker &
pure virtual

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ acquireGeneratorTracker() [2/2]

virtual auto Catch::IResultCapture::acquireGeneratorTracker ( SourceLineInfo const & lineInfo) -> IGeneratorTracker &
pure virtual

Implemented in Catch::RunContext.

◆ assertionPassed() [1/2]

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

Implemented in Catch::RunContext.

◆ assertionPassed() [2/2]

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

Implemented in Catch::RunContext.

◆ benchmarkEnded() [1/2]

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

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ benchmarkEnded() [2/2]

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

Implemented in Catch::RunContext.

◆ benchmarkStarting() [1/2]

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

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ benchmarkStarting() [2/2]

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

Implemented in Catch::RunContext.

◆ emplaceUnscopedMessage() [1/2]

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

Implemented in Catch::RunContext.

◆ emplaceUnscopedMessage() [2/2]

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

Implemented in Catch::RunContext.

◆ exceptionEarlyReported() [1/2]

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

Implemented in Catch::RunContext.

◆ exceptionEarlyReported() [2/2]

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

Implemented in Catch::RunContext.

◆ getCurrentTestName() [1/2]

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

Implemented in Catch::RunContext.

◆ getCurrentTestName() [2/2]

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

Implemented in Catch::RunContext.

◆ getLastResult() [1/2]

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

Implemented in Catch::RunContext.

◆ getLastResult() [2/2]

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

Implemented in Catch::RunContext.

◆ handleExpr() [1/2]

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

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ handleExpr() [2/2]

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

Implemented in Catch::RunContext.

◆ handleFatalErrorCondition() [1/2]

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

Implemented in Catch::RunContext.

◆ handleFatalErrorCondition() [2/2]

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

Implemented in Catch::RunContext.

◆ handleIncomplete() [1/2]

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

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ handleIncomplete() [2/2]

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

Implemented in Catch::RunContext.

◆ handleMessage() [1/2]

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

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ handleMessage() [2/2]

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

Implemented in Catch::RunContext.

◆ handleNonExpr() [1/2]

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

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ handleNonExpr() [2/2]

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

Implemented in Catch::RunContext.

◆ handleUnexpectedExceptionNotThrown() [1/2]

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

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ handleUnexpectedExceptionNotThrown() [2/2]

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

Implemented in Catch::RunContext.

◆ handleUnexpectedInflightException() [1/2]

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

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ handleUnexpectedInflightException() [2/2]

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

Implemented in Catch::RunContext.

◆ lastAssertionPassed() [1/2]

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

Implemented in Catch::RunContext.

◆ lastAssertionPassed() [2/2]

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

Implemented in Catch::RunContext.

◆ popScopedMessage() [1/2]

virtual void Catch::IResultCapture::popScopedMessage ( MessageInfo const & message)
pure virtual

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ popScopedMessage() [2/2]

virtual void Catch::IResultCapture::popScopedMessage ( MessageInfo const & message)
pure virtual

Implemented in Catch::RunContext.

◆ pushScopedMessage() [1/2]

virtual void Catch::IResultCapture::pushScopedMessage ( MessageInfo const & message)
pure virtual

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ pushScopedMessage() [2/2]

virtual void Catch::IResultCapture::pushScopedMessage ( MessageInfo const & message)
pure virtual

Implemented in Catch::RunContext.

◆ sectionEnded() [1/2]

virtual void Catch::IResultCapture::sectionEnded ( SectionEndInfo const & endInfo)
pure virtual

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ sectionEnded() [2/2]

virtual void Catch::IResultCapture::sectionEnded ( SectionEndInfo const & endInfo)
pure virtual

Implemented in Catch::RunContext.

◆ sectionEndedEarly() [1/2]

virtual void Catch::IResultCapture::sectionEndedEarly ( SectionEndInfo const & endInfo)
pure virtual

Implemented in Catch::RunContext.

Here is the caller graph for this function:

◆ sectionEndedEarly() [2/2]

virtual void Catch::IResultCapture::sectionEndedEarly ( SectionEndInfo const & endInfo)
pure virtual

Implemented in Catch::RunContext.

◆ sectionStarted() [1/2]

virtual bool Catch::IResultCapture::sectionStarted ( SectionInfo const & sectionInfo,
Counts & assertions )
pure virtual

Implemented in Catch::RunContext.

◆ sectionStarted() [2/2]

virtual bool Catch::IResultCapture::sectionStarted ( SectionInfo const & sectionInfo,
Counts & assertions )
pure virtual

Implemented in Catch::RunContext.


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