| 12715 | } |
| 12716 | |
| 12717 | RunContext::RunContext(IConfigPtr const& _config, IStreamingReporterPtr&& reporter) |
| 12718 | : m_runInfo(_config->name()), |
| 12719 | m_context(getCurrentMutableContext()), |
| 12720 | m_config(_config), |
| 12721 | m_reporter(std::move(reporter)), |
| 12722 | m_lastAssertionInfo{ StringRef(), SourceLineInfo("",0), StringRef(), ResultDisposition::Normal }, |
| 12723 | m_includeSuccessfulResults( m_config->includeSuccessfulResults() || m_reporter->getPreferences().shouldReportAllAssertions ) |
| 12724 | { |
| 12725 | m_context.setRunner(this); |
| 12726 | m_context.setConfig(m_config); |
| 12727 | m_context.setResultCapture(this); |
| 12728 | m_reporter->testRunStarting(m_runInfo); |
| 12729 | } |
| 12730 | |
| 12731 | RunContext::~RunContext() { |
| 12732 | m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting())); |
nothing calls this directly
no test coverage detected