Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/Test
diff options
context:
space:
mode:
authorPhil Nash2011-01-28 10:22:36 +0000
committerPhil Nash2011-01-28 10:22:36 +0000
commitffcde2dd0e7581a6ff0fe1cce050fcd3eb91ae70 (patch)
treec3c6d5e6e90d3bbec276f8831d644bc1787495cf /Test
parentbf4a4312b4cc5f623c04afdc7f2446164ff506dc (diff)
downloadcatch3-ffcde2dd0e7581a6ff0fe1cce050fcd3eb91ae70.tar.gz
Fixed self test
Diffstat (limited to 'Test')
-rw-r--r--Test/MiscTests.cpp14
-rw-r--r--Test/TestMain.cpp2
2 files changed, 1 insertions, 15 deletions
diff --git a/Test/MiscTests.cpp b/Test/MiscTests.cpp
index f1451c07..4808d132 100644
--- a/Test/MiscTests.cpp
+++ b/Test/MiscTests.cpp
@@ -96,17 +96,3 @@ TEST_CASE( "./succeeding/generators/1", "Generators over two ranges" )
REQUIRE( multiply( i, 2 ) == i*2 );
REQUIRE( multiply( j, 2 ) == j*2 );
}
-
-
-// An unnamed test case. A name, of the form, "unnamed/#" is generated, where
-// # is an incrementing integer
-ANON_TEST_CASE()
-{
- int i = 7;
- REQUIRE( i == 7 );
-}
-ANON_TEST_CASE()
-{
- int i = 7;
- REQUIRE( i == 8 );
-}
diff --git a/Test/TestMain.cpp b/Test/TestMain.cpp
index d3dc7e5f..0e84c8f3 100644
--- a/Test/TestMain.cpp
+++ b/Test/TestMain.cpp
@@ -21,7 +21,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
EmbeddedRunner runner;
runner.runMatching( "./succeeding/*" );
- CHECK( runner.getReporter().getSucceeded() == 53 );
+ CHECK( runner.getReporter().getSucceeded() == 196 );
CHECK( runner.getReporter().getFailed() == 0 );
runner.runMatching( "./failing/*" );