| 12094 | } |
| 12095 | |
| 12096 | RunContext::RunContext(IConfigPtr const& _config, IStreamingReporterPtr&& reporter) |
| 12097 | : m_runInfo(_config->name()), |
| 12098 | m_context(getCurrentMutableContext()), |
| 12099 | m_config(_config), |
| 12100 | m_reporter(std::move(reporter)), |
| 12101 | m_lastAssertionInfo{ StringRef(), SourceLineInfo("",0), StringRef(), ResultDisposition::Normal }, |
| 12102 | m_includeSuccessfulResults( m_config->includeSuccessfulResults() || m_reporter->getPreferences().shouldReportAllAssertions ) |
| 12103 | { |
| 12104 | m_context.setRunner(this); |
| 12105 | m_context.setConfig(m_config); |
| 12106 | m_context.setResultCapture(this); |
| 12107 | m_reporter->testRunStarting(m_runInfo); |
| 12108 | } |
| 12109 | |
| 12110 | RunContext::~RunContext() { |
| 12111 | m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting())); |
nothing calls this directly
no test coverage detected