| 8549 | }; |
| 8550 | |
| 8551 | RunContext::RunContext(IConfigPtr const& _config, IStreamingReporterPtr&& reporter) |
| 8552 | : m_runInfo(_config->name()), |
| 8553 | m_context(getCurrentMutableContext()), |
| 8554 | m_config(_config), |
| 8555 | m_reporter(std::move(reporter)), |
| 8556 | m_lastAssertionInfo{ StringRef(), SourceLineInfo("",0), StringRef(), ResultDisposition::Normal }, |
| 8557 | m_includeSuccessfulResults( m_config->includeSuccessfulResults() ) |
| 8558 | { |
| 8559 | m_context.setRunner(this); |
| 8560 | m_context.setConfig(m_config); |
| 8561 | m_context.setResultCapture(this); |
| 8562 | m_reporter->testRunStarting(m_runInfo); |
| 8563 | } |
| 8564 | |
| 8565 | RunContext::~RunContext() { |
| 8566 | m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting())); |
nothing calls this directly
no test coverage detected