kblib 0.2.3
General utilities library for modern C++
Catch::IResultCapture Struct Referenceabstract

#include <catch/catch.hpp>

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 (StringRef generatorName, SourceLineInfo const &lineInfo) -> IGeneratorTracker &=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 AssertionResult * getLastResult () 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 (StringRef generatorName, SourceLineInfo const &lineInfo) -> IGeneratorTracker &=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 AssertionResult * getLastResult () const =0
 
virtual void exceptionEarlyReported ()=0
 

Detailed Description

Definition at line 2458 of file catch.hpp.

Constructor & Destructor Documentation

◆ ~IResultCapture() [1/2]

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

◆ ~IResultCapture() [2/2]

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

Member Function Documentation

◆ acquireGeneratorTracker() [1/2]

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

◆ acquireGeneratorTracker() [2/2]

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

◆ assertionPassed() [1/2]

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

◆ assertionPassed() [2/2]

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

◆ emplaceUnscopedMessage() [1/2]

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

◆ emplaceUnscopedMessage() [2/2]

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

◆ exceptionEarlyReported() [1/2]

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

◆ exceptionEarlyReported() [2/2]

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

◆ getCurrentTestName() [1/2]

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

◆ getCurrentTestName() [2/2]

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

◆ getLastResult() [1/2]

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

◆ getLastResult() [2/2]

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

◆ handleExpr() [1/2]

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

◆ handleExpr() [2/2]

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

◆ handleFatalErrorCondition() [1/2]

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

◆ handleFatalErrorCondition() [2/2]

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

◆ handleIncomplete() [1/2]

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

◆ handleIncomplete() [2/2]

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

◆ handleMessage() [1/2]

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

◆ handleMessage() [2/2]

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

◆ handleNonExpr() [1/2]

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

◆ handleNonExpr() [2/2]

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

◆ handleUnexpectedExceptionNotThrown() [1/2]

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

◆ handleUnexpectedExceptionNotThrown() [2/2]

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

◆ handleUnexpectedInflightException() [1/2]

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

◆ handleUnexpectedInflightException() [2/2]

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

◆ lastAssertionPassed() [1/2]

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

◆ lastAssertionPassed() [2/2]

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

◆ popScopedMessage() [1/2]

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

◆ popScopedMessage() [2/2]

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

◆ pushScopedMessage() [1/2]

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

◆ pushScopedMessage() [2/2]

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

◆ sectionEnded() [1/2]

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

◆ sectionEnded() [2/2]

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

◆ sectionEndedEarly() [1/2]

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

◆ sectionEndedEarly() [2/2]

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

◆ sectionStarted() [1/2]

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

◆ sectionStarted() [2/2]

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

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