MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / RunContext

Method RunContext

Bcore/src/main/cpp/Dobby/tests/catch.hpp:8514–8523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8512namespace Catch {
8513
8514RunContext::RunContext(IConfigPtr const &_config, IStreamingReporterPtr &&reporter)
8515 : m_runInfo(_config->name()), m_context(getCurrentMutableContext()), m_config(_config),
8516 m_reporter(std::move(reporter)), m_lastAssertionInfo{StringRef(), SourceLineInfo("", 0), StringRef(),
8517 ResultDisposition::Normal},
8518 m_includeSuccessfulResults(m_config->includeSuccessfulResults()) {
8519 m_context.setRunner(this);
8520 m_context.setConfig(m_config);
8521 m_context.setResultCapture(this);
8522 m_reporter->testRunStarting(m_runInfo);
8523}
8524
8525RunContext::~RunContext() {
8526 m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting()));

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected