Horizon
Loading...
Searching...
No Matches
Catch::RunContext Class Reference
Inheritance diagram for Catch::RunContext:
Catch::IResultCapture

Public Member Functions

 RunContext (RunContext const &)=delete
RunContext & operator= (RunContext const &)=delete
 RunContext (IConfig const *_config, IEventListenerPtr &&reporter)
Totals runTest (TestCaseHandle const &testCase)
void handleExpr (AssertionInfo const &info, ITransientExpression const &expr, AssertionReaction &reaction) override
void handleMessage (AssertionInfo const &info, ResultWas::OfType resultType, StringRef message, AssertionReaction &reaction) override
void handleUnexpectedExceptionNotThrown (AssertionInfo const &info, AssertionReaction &reaction) override
void handleUnexpectedInflightException (AssertionInfo const &info, std::string const &message, AssertionReaction &reaction) override
void handleIncomplete (AssertionInfo const &info) override
void handleNonExpr (AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction) override
bool sectionStarted (SectionInfo const &sectionInfo, Counts &assertions) override
void sectionEnded (SectionEndInfo const &endInfo) override
void sectionEndedEarly (SectionEndInfo const &endInfo) override
auto acquireGeneratorTracker (StringRef generatorName, SourceLineInfo const &lineInfo) -> IGeneratorTracker &override
void benchmarkPreparing (StringRef name) override
void benchmarkStarting (BenchmarkInfo const &info) override
void benchmarkEnded (BenchmarkStats<> const &stats) override
void benchmarkFailed (StringRef error) override
void pushScopedMessage (MessageInfo const &message) override
void popScopedMessage (MessageInfo const &message) override
void emplaceUnscopedMessage (MessageBuilder const &builder) override
std::string getCurrentTestName () const override
const AssertionResult * getLastResult () const override
void exceptionEarlyReported () override
void handleFatalErrorCondition (StringRef message) override
bool lastAssertionPassed () override
void assertionPassed () override
bool aborting () const

Member Function Documentation

◆ acquireGeneratorTracker()

auto Catch::RunContext::acquireGeneratorTracker ( StringRef generatorName,
SourceLineInfo const & lineInfo )->IGeneratorTracker &
overridevirtual

Implements Catch::IResultCapture.

◆ assertionPassed()

void Catch::RunContext::assertionPassed ( )
overridevirtual

Implements Catch::IResultCapture.

◆ benchmarkEnded()

void Catch::RunContext::benchmarkEnded ( BenchmarkStats<> const & stats)
overridevirtual

Implements Catch::IResultCapture.

◆ benchmarkFailed()

void Catch::RunContext::benchmarkFailed ( StringRef error)
overridevirtual

Implements Catch::IResultCapture.

◆ benchmarkPreparing()

void Catch::RunContext::benchmarkPreparing ( StringRef name)
overridevirtual

Implements Catch::IResultCapture.

◆ benchmarkStarting()

void Catch::RunContext::benchmarkStarting ( BenchmarkInfo const & info)
overridevirtual

Implements Catch::IResultCapture.

◆ emplaceUnscopedMessage()

void Catch::RunContext::emplaceUnscopedMessage ( MessageBuilder const & builder)
overridevirtual

Implements Catch::IResultCapture.

◆ exceptionEarlyReported()

void Catch::RunContext::exceptionEarlyReported ( )
overridevirtual

Implements Catch::IResultCapture.

◆ getCurrentTestName()

std::string Catch::RunContext::getCurrentTestName ( ) const
overridevirtual

Implements Catch::IResultCapture.

◆ getLastResult()

const AssertionResult * Catch::RunContext::getLastResult ( ) const
overridevirtual

Implements Catch::IResultCapture.

◆ handleExpr()

void Catch::RunContext::handleExpr ( AssertionInfo const & info,
ITransientExpression const & expr,
AssertionReaction & reaction )
overridevirtual

Implements Catch::IResultCapture.

◆ handleFatalErrorCondition()

void Catch::RunContext::handleFatalErrorCondition ( StringRef message)
overridevirtual

Implements Catch::IResultCapture.

◆ handleIncomplete()

void Catch::RunContext::handleIncomplete ( AssertionInfo const & info)
overridevirtual

Implements Catch::IResultCapture.

◆ handleMessage()

void Catch::RunContext::handleMessage ( AssertionInfo const & info,
ResultWas::OfType resultType,
StringRef message,
AssertionReaction & reaction )
overridevirtual

Implements Catch::IResultCapture.

◆ handleNonExpr()

void Catch::RunContext::handleNonExpr ( AssertionInfo const & info,
ResultWas::OfType resultType,
AssertionReaction & reaction )
overridevirtual

Implements Catch::IResultCapture.

◆ handleUnexpectedExceptionNotThrown()

void Catch::RunContext::handleUnexpectedExceptionNotThrown ( AssertionInfo const & info,
AssertionReaction & reaction )
overridevirtual

Implements Catch::IResultCapture.

◆ handleUnexpectedInflightException()

void Catch::RunContext::handleUnexpectedInflightException ( AssertionInfo const & info,
std::string const & message,
AssertionReaction & reaction )
overridevirtual

Implements Catch::IResultCapture.

◆ lastAssertionPassed()

bool Catch::RunContext::lastAssertionPassed ( )
overridevirtual

Implements Catch::IResultCapture.

◆ popScopedMessage()

void Catch::RunContext::popScopedMessage ( MessageInfo const & message)
overridevirtual

Implements Catch::IResultCapture.

◆ pushScopedMessage()

void Catch::RunContext::pushScopedMessage ( MessageInfo const & message)
overridevirtual

Implements Catch::IResultCapture.

◆ sectionEnded()

void Catch::RunContext::sectionEnded ( SectionEndInfo const & endInfo)
overridevirtual

Implements Catch::IResultCapture.

◆ sectionEndedEarly()

void Catch::RunContext::sectionEndedEarly ( SectionEndInfo const & endInfo)
overridevirtual

Implements Catch::IResultCapture.

◆ sectionStarted()

bool Catch::RunContext::sectionStarted ( SectionInfo const & sectionInfo,
Counts & assertions )
overridevirtual

Implements Catch::IResultCapture.


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