8#ifndef TWOBLUECUBES_CATCH_RUNNER_IMPL_HPP_INCLUDED
9#define TWOBLUECUBES_CATCH_RUNNER_IMPL_HPP_INCLUDED
30 struct IMutableContext;
44 void testGroupStarting( std::string
const& testSpec, std::size_t groupIndex, std::size_t groupsCount );
45 void testGroupEnded( std::string
const& testSpec,
Totals const& totals, std::size_t groupIndex, std::size_t groupsCount );
69 std::string
const& message,
111 void runCurrentTest(
std::
string& redirectedCout,
std::
string& redirectedCerr );
112 void invokeActiveTestCase();
114 void resetAssertionInfo();
115 bool testForMissingAssertions(
Counts& assertions );
128 void handleUnfinishedSections();
132 TestCase const* m_activeTestCase =
nullptr;
133 ITracker* m_testCaseTracker =
nullptr;
145 bool m_lastAssertionPassed = false;
146 bool m_shouldReportUnexpected = true;
147 bool m_includeSuccessfulResults;
void handleIncomplete(AssertionInfo const &info) override
IConfigPtr config() const
void benchmarkStarting(BenchmarkInfo const &info) override
auto acquireGeneratorTracker(SourceLineInfo const &lineInfo) -> IGeneratorTracker &override
RunContext(RunContext const &)=delete
void popScopedMessage(MessageInfo const &message) override
void benchmarkEnded(BenchmarkStats const &stats) override
void sectionEnded(SectionEndInfo const &endInfo) override
Totals runTest(TestCase const &testCase)
void emplaceUnscopedMessage(MessageBuilder const &builder) override
std::string getCurrentTestName() const override
RunContext & operator=(RunContext const &)=delete
void handleExpr(AssertionInfo const &info, ITransientExpression const &expr, AssertionReaction &reaction) override
void sectionEndedEarly(SectionEndInfo const &endInfo) override
void testGroupEnded(std::string const &testSpec, Totals const &totals, std::size_t groupIndex, std::size_t groupsCount)
IStreamingReporter & reporter() const
void exceptionEarlyReported() override
void assertionPassed() override
bool lastAssertionPassed() override
void pushScopedMessage(MessageInfo const &message) override
void handleNonExpr(AssertionInfo const &info, ResultWas::OfType resultType, AssertionReaction &reaction) override
const AssertionResult * getLastResult() const override
void handleFatalErrorCondition(StringRef message) override
void handleMessage(AssertionInfo const &info, ResultWas::OfType resultType, StringRef const &message, AssertionReaction &reaction) override
bool sectionStarted(SectionInfo const §ionInfo, Counts &assertions) override
bool aborting() const final
void handleUnexpectedExceptionNotThrown(AssertionInfo const &info, AssertionReaction &reaction) override
void testGroupStarting(std::string const &testSpec, std::size_t groupIndex, std::size_t groupsCount)
void handleUnexpectedInflightException(AssertionInfo const &info, std::string const &message, AssertionReaction &reaction) override
std::unique_ptr< IStreamingReporter > IStreamingReporterPtr
std::shared_ptr< IConfig const > IConfigPtr