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

summaryrefslogtreecommitdiffhomepage
path: root/Test/TestMain.cpp
diff options
context:
space:
mode:
authorPhil Nash2010-12-14 09:00:09 +0000
committerPhil Nash2010-12-14 09:00:09 +0000
commita2d20951a266bc1f5ccc2b0373a6cc4ecac26ef8 (patch)
treefc7778e1f5d2cbdac2f3c5343dadb1cba31368f8 /Test/TestMain.cpp
parentde77ff3b29fe02de338ed30cc515288c312067e0 (diff)
downloadcatch3-a2d20951a266bc1f5ccc2b0373a6cc4ecac26ef8.tar.gz
changed macro names: EXPECT -> REQUIRE, *_NOT -> *_FALSE
Diffstat (limited to 'Test/TestMain.cpp')
-rw-r--r--Test/TestMain.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/TestMain.cpp b/Test/TestMain.cpp
index b2bf7f84..dd7eb367 100644
--- a/Test/TestMain.cpp
+++ b/Test/TestMain.cpp
@@ -14,7 +14,7 @@
#include "../catch_runner.hpp"
// This code runs the meta tests and verifies that the failing ones failed and the successful ones succeeded
-/*
+///*
int main (int argc, char * const argv[])
{
using namespace Catch;
@@ -61,13 +61,13 @@ int main (int argc, char * const argv[])
if( result == 0 )
{
- const size_t expectedTestCaseCount = 99; // !TBD factor this out
+ const size_t expectedTestCaseCount = 102; // !TBD factor this out
size_t testCaseCount = runner.getSuccessCount() + runner.getFailureCount();
std::cout << "All " << testCaseCount << " tests completed successfully" << std::endl;
if( testCaseCount != expectedTestCaseCount )
{
std::cerr << "- but we were expecting " << expectedTestCaseCount
- << " test to run. Where some added or removed, or were they not compiled in?"
+ << " test to run. Were some added or removed, or were they not compiled in?"
<< std::endl;
return 1;
}
@@ -75,5 +75,5 @@ int main (int argc, char * const argv[])
}
return result;
}
-*/
-#include "catch_default_main.hpp" \ No newline at end of file
+//*/
+//#include "catch_default_main.hpp" \ No newline at end of file