[Mockpp-commits] mockpp/mockpp/framework SelectUnittestFramework.h,1.2,1.3
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-12-11 20:47:09
|
Update of /cvsroot/mockpp/mockpp/mockpp/framework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9020/mockpp/framework Modified Files: SelectUnittestFramework.h Log Message: disable exceptions Index: SelectUnittestFramework.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/framework/SelectUnittestFramework.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SelectUnittestFramework.h 10 Dec 2005 21:57:37 -0000 1.2 +++ SelectUnittestFramework.h 11 Dec 2005 20:47:01 -0000 1.3 @@ -1,5 +1,5 @@ /*************************************************************************** - SelectUnittestFramework.h - setup for unittest framework in use + SelectUnittestFramework.h - setup for unittest framework in use ------------------- begin : Fri Dec 9 2005 copyright : (C) 2002-2005 by Ewald Arnold @@ -35,19 +35,21 @@ # define MOCKPP_DERIVE_PUBLIC_UNITFRAMEWORK : public CxxTest::TestSuite #define CXXTEST_HAVE_STD -#define CXXTEST_ABORT_TEST_ON_FAIL #ifndef CXXTEST_RUNNING #define CXXTEST_RUNNING #endif #define _CXXTEST_HAVE_STD + +#ifndef MOCKPP_NO_EXCEPTIONS +#define CXXTEST_ABORT_TEST_ON_FAIL #define _CXXTEST_HAVE_EH +#endif + #include <cxxtest/TestListener.h> #include <cxxtest/TestTracker.h> #include <cxxtest/RealDescriptions.h> -//#include <cxxtest/TestRunner.h> - #include <mockpp/framework/CxxTestSupport.h> #elif defined(HAVE_CPPUNIT) |