[Mockpp-commits] mockpp/mockpp/framework SelectUnittestFramework.h,1.5,1.6
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-12-30 15:40:21
|
Update of /cvsroot/mockpp/mockpp/mockpp/framework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11062/mockpp/framework Modified Files: SelectUnittestFramework.h Log Message: prepare for Boost.Test Index: SelectUnittestFramework.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/framework/SelectUnittestFramework.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- SelectUnittestFramework.h 29 Dec 2005 19:29:51 -0000 1.5 +++ SelectUnittestFramework.h 30 Dec 2005 15:40:14 -0000 1.6 @@ -34,6 +34,8 @@ # define MOCKPP_DERIVE_PUBLIC_UNITFRAMEWORK : public CxxTest::TestSuite +#define MOCKPP_TEST_DECL /* static or not */ + #define CXXTEST_HAVE_STD #ifndef CXXTEST_RUNNING #define CXXTEST_RUNNING @@ -54,9 +56,18 @@ #elif defined(MOCKPP_USE_CPPUNIT) +#define MOCKPP_TEST_DECL /* not static */ + # include <cppunit/extensions/HelperMacros.h> # define MOCKPP_DERIVE_PUBLIC_UNITFRAMEWORK : public CppUnit::TestFixture +#elif defined(MOCKPP_USE_BOOSTTEST) + +#define MOCKPP_TEST_DECL static + +# include +# define MOCKPP_DERIVE_PUBLIC_UNITFRAMEWORK : public + #else # pragma message ("No unittest framework available at compile time") |