[Mockpp-commits] mockpp/mockpp/examples/tutorial verifying.cpp,1.12,1.13
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-12-28 09:23:42
|
Update of /cvsroot/mockpp/mockpp/mockpp/examples/tutorial In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28468/mockpp/examples/tutorial Modified Files: verifying.cpp Log Message: select test framework Index: verifying.cpp =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/examples/tutorial/verifying.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- verifying.cpp 10 Dec 2005 20:07:21 -0000 1.12 +++ verifying.cpp 28 Dec 2005 09:23:30 -0000 1.13 @@ -14,7 +14,7 @@ #include <iostream> -#ifdef HAVE_CPPUNIT +#ifdef MOCKPP_USE_CPPUNIT #include <mockpp/framework/VerifyingTestCase.h> @@ -108,11 +108,11 @@ // missing actual } -#endif // HAVE_CPPUNIT +#endif // MOCKPP_USE_CPPUNIT int main(int argc, char ** /*argv*/) { -#ifdef HAVE_CPPUNIT +#ifdef MOCKPP_USE_CPPUNIT if (argc != 1) global_error = argc; // disturb tests @@ -123,6 +123,6 @@ return runner.run() ? 0 : 1; #else std::cout << "CppUnit was not available at compile time.\n"; - return 1; + return 0; #endif } |