Added self-test for section ordering

Added MockReporter for tracking test runs.
Added intrusive smart pointer. Config holds reporter by smart pointer, so we can route the mock reporter through multiple test runs
This commit is contained in:
Phil Nash committed 2012-05-04 07:55:11 +01:00
1 parent 83a66a6255
commit b213202ad7
16 files changed
+432 -67

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
"Number of 'succeeding' tests is fixed" )
{
runner.runMatching( "./succeeding/*" );
CHECK( runner.getTotals().assertions.passed == 276 );
CHECK( runner.getTotals().assertions.passed == 273 );
CHECK( runner.getTotals().assertions.failed == 0 );
}