INFOs only reset at assertion if consumed

This commit is contained in:
Phil Nash committed 2013-06-28 16:25:49 +01:00
1 parent 239fa28e46
commit 0d357302a0
8 files changed
+18 -13

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ namespace Catch {
virtual void testCaseStarting( TestCaseInfo const& ) {}
virtual void sectionStarting( SectionInfo const& ) {}
virtual void assertionStarting( AssertionInfo const& ) {}
virtual void assertionEnded( AssertionStats const& ) {}
virtual bool assertionEnded( AssertionStats const& ) { return false; }
virtual void sectionEnded( SectionStats const& ) {}
virtual void testCaseEnded( TestCaseStats const& ) {}
virtual void testGroupEnded( TestGroupStats const& ) {}