Clear state in AccumulatingReporter

This commit is contained in:
Phil Nash 2012-12-14 18:28:03 +00:00
parent 8b71158540
commit 0d4609f536
1 changed files with 5 additions and 0 deletions

View File

@ -232,6 +232,11 @@ namespace Catch
unusedGroupInfo.reset();
}
virtual void testRunEnded( Ptr<TestRunStats const> const& /* _testRunStats */ ) {
currentSectionInfo.reset();
unusedSectionInfo.reset();
unusedTestCaseInfo.reset();
unusedGroupInfo.reset();
testRunInfo.reset();
}
ReporterConfig m_config;