| 10327 | } |
| 10328 | |
| 10329 | RunContext::RunContext(IConfigPtr const& _config, IStreamingReporterPtr&& reporter) |
| 10330 | : m_runInfo(_config->name()), |
| 10331 | m_context(getCurrentMutableContext()), |
| 10332 | m_config(_config), |
| 10333 | m_reporter(std::move(reporter)), |
| 10334 | m_lastAssertionInfo{ StringRef(), SourceLineInfo("",0), StringRef(), ResultDisposition::Normal }, |
| 10335 | m_includeSuccessfulResults( m_config->includeSuccessfulResults() || m_reporter->getPreferences().shouldReportAllAssertions ) |
| 10336 | { |
| 10337 | m_context.setRunner(this); |
| 10338 | m_context.setConfig(m_config); |
| 10339 | m_context.setResultCapture(this); |
| 10340 | m_reporter->testRunStarting(m_runInfo); |
| 10341 | } |
| 10342 | |
| 10343 | RunContext::~RunContext() { |
| 10344 | m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting())); |
nothing calls this directly
no test coverage detected