MCPcopy Create free account
hub / github.com/RenderKit/embree / RunContext

Method RunContext

tutorials/external/catch.hpp:10329–10341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10327 }
10328
10329 RunContext::RunContext(IConfigPtr const& _config, IStreamingReporterPtr&& reporter)
10330 : m_runInfo(_config->name()),
10331 m_context(getCurrentMutableContext()),
10332 m_config(_config),
10333 m_reporter(std::move(reporter)),
10334 m_lastAssertionInfo{ StringRef(), SourceLineInfo("",0), StringRef(), ResultDisposition::Normal },
10335 m_includeSuccessfulResults( m_config->includeSuccessfulResults() || m_reporter->getPreferences().shouldReportAllAssertions )
10336 {
10337 m_context.setRunner(this);
10338 m_context.setConfig(m_config);
10339 m_context.setResultCapture(this);
10340 m_reporter->testRunStarting(m_runInfo);
10341 }
10342
10343 RunContext::~RunContext() {
10344 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