| 8512 | namespace Catch { |
| 8513 | |
| 8514 | RunContext::RunContext(IConfigPtr const &_config, IStreamingReporterPtr &&reporter) |
| 8515 | : m_runInfo(_config->name()), m_context(getCurrentMutableContext()), m_config(_config), |
| 8516 | m_reporter(std::move(reporter)), m_lastAssertionInfo{StringRef(), SourceLineInfo("", 0), StringRef(), |
| 8517 | ResultDisposition::Normal}, |
| 8518 | m_includeSuccessfulResults(m_config->includeSuccessfulResults()) { |
| 8519 | m_context.setRunner(this); |
| 8520 | m_context.setConfig(m_config); |
| 8521 | m_context.setResultCapture(this); |
| 8522 | m_reporter->testRunStarting(m_runInfo); |
| 8523 | } |
| 8524 | |
| 8525 | RunContext::~RunContext() { |
| 8526 | m_reporter->testRunEnded(TestRunStats(m_runInfo, m_totals, aborting())); |
nothing calls this directly
no test coverage detected