Clear state in AccumulatingReporter

This commit is contained in:
Phil Nash 2012-12-14 18:28:03 +00:00
parent 8b71158540
commit 0d4609f536

View File

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