| 10069 | } |
| 10070 | |
| 10071 | RunContext::RunContext(IConfigPtr const& _config, IStreamingReporterPtr&& reporter) |
| 10072 | : m_runInfo(_config->name()), |
| 10073 | m_context(getCurrentMutableContext()), |
| 10074 | m_config(_config), |
| 10075 | m_reporter(std::move(reporter)), |
| 10076 | m_lastAssertionInfo{ StringRef(), SourceLineInfo("",0), StringRef(), ResultDisposition::Normal }, |
| 10077 | m_includeSuccessfulResults( m_config->includeSuccessfulResults() || m_reporter->getPreferences().shouldReportAllAssertions ) |
| 10078 | { |
| 10079 | m_context.setRunner(this); |
| 10080 | m_context.setConfig(m_config); |
| 10081 | m_context.setResultCapture(this); |
| 10082 | m_reporter->testRunStarting(m_runInfo); |
| 10083 | } |
| 10084 | |
| 10085 | RunContext::~RunContext() { |
| 10086 | m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting())); |
nothing calls this directly
no test coverage detected