MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / RunContext

Method RunContext

tests/catch.hpp:10071–10083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10069 }
10070
10071 RunContext::RunContext(IConfigPtr const& _config, IStreamingReporterPtr&& reporter)
10072 : m_runInfo(_config->name()),
10073 m_context(getCurrentMutableContext()),
10074 m_config(_config),
10075 m_reporter(std::move(reporter)),
10076 m_lastAssertionInfo{ StringRef(), SourceLineInfo("",0), StringRef(), ResultDisposition::Normal },
10077 m_includeSuccessfulResults( m_config->includeSuccessfulResults() || m_reporter->getPreferences().shouldReportAllAssertions )
10078 {
10079 m_context.setRunner(this);
10080 m_context.setConfig(m_config);
10081 m_context.setResultCapture(this);
10082 m_reporter->testRunStarting(m_runInfo);
10083 }
10084
10085 RunContext::~RunContext() {
10086 m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting()));

Callers

nothing calls this directly

Calls 9

StringRefClass · 0.85
SourceLineInfoClass · 0.85
setRunnerMethod · 0.80
setConfigMethod · 0.80
setResultCaptureMethod · 0.80
nameMethod · 0.45
getPreferencesMethod · 0.45
testRunStartingMethod · 0.45

Tested by

no test coverage detected