[Mockpp-commits] mockpp/mockpp/tests AbstractDynamicChainingMock_test.cpp,1.24,1.25 CoreMock_test.cp
Brought to you by:
ewald-arnold
Update of /cvsroot/mockpp/mockpp/mockpp/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22145/mockpp/tests Modified Files: AbstractDynamicChainingMock_test.cpp CoreMock_test.cpp FIFOInvocationDispatcher_test.cpp InvocationMocker_test.cpp StubBuilder_test.cpp Log Message: work on support for weak compilers Index: CoreMock_test.cpp =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/tests/CoreMock_test.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- CoreMock_test.cpp 27 Feb 2005 11:48:16 -0000 1.17 +++ CoreMock_test.cpp 25 Mar 2005 16:53:31 -0000 1.18 @@ -27,10 +27,6 @@ * ***************************************************************************/ -#ifdef MOCKPP_PTI_WEAKNESS_TEST -#define MOCKPP_PTI_WEAKNESS // before mockpp headers! -#endif - #include <mockpp/mockpp.h> // always first #ifndef HAVE_CPPUNIT @@ -43,7 +39,10 @@ #include <mockpp/chaining/InvocationMocker.h> #include <mockpp/chaining/LIFOInvocationDispatcher.h> #include <mockpp/chaining/FIFOInvocationDispatcher.h> + +#ifdef MOCKPP_PTI_WEAKNESS #include <mockpp/chaining/mockpp_pti.h> +#endif #include <mockpp/stub/ReturnStub.h> Index: AbstractDynamicChainingMock_test.cpp =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/tests/AbstractDynamicChainingMock_test.cpp,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- AbstractDynamicChainingMock_test.cpp 25 Mar 2005 10:12:56 -0000 1.24 +++ AbstractDynamicChainingMock_test.cpp 25 Mar 2005 16:53:30 -0000 1.25 @@ -27,10 +27,6 @@ * ***************************************************************************/ -#ifdef MOCKPP_PTI_WEAKNESS_TEST -#define MOCKPP_PTI_WEAKNESS // before mockpp headers! -#endif - #include <mockpp/mockpp.h> // always first #ifndef HAVE_CPPUNIT @@ -43,7 +39,10 @@ #include <mockpp/chaining/InvocationMocker.h> #include <mockpp/chaining/LIFOInvocationDispatcher.h> #include <mockpp/chaining/FIFOInvocationDispatcher.h> + +#ifdef MOCKPP_PTI_WEAKNESS #include <mockpp/chaining/mockpp_pti.h> +#endif #include <mockpp/stub/ReturnStub.h> Index: InvocationMocker_test.cpp =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/tests/InvocationMocker_test.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- InvocationMocker_test.cpp 27 Feb 2005 11:48:16 -0000 1.27 +++ InvocationMocker_test.cpp 25 Mar 2005 16:53:31 -0000 1.28 @@ -27,10 +27,6 @@ * ***************************************************************************/ -#ifdef MOCKPP_PTI_WEAKNESS_TEST -#define MOCKPP_PTI_WEAKNESS // before mockpp headers! -#endif - #include <mockpp/mockpp.h> // always first #ifndef HAVE_CPPUNIT @@ -40,7 +36,10 @@ #else #include <mockpp/chaining/InvocationMocker.h> + +#ifdef MOCKPP_PTI_WEAKNESS #include <mockpp/chaining/mockpp_pti.h> +#endif #include <mockpp/stub/ReturnStub.h> Index: StubBuilder_test.cpp =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/tests/StubBuilder_test.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- StubBuilder_test.cpp 12 Jan 2005 20:24:30 -0000 1.10 +++ StubBuilder_test.cpp 25 Mar 2005 16:53:36 -0000 1.11 @@ -45,7 +45,9 @@ #include <mockpp/builder/StubBuilder.h> +#ifdef MOCKPP_PTI_WEAKNESS #include <mockpp/chaining/mockpp_pti.h> +#endif #include <mockpp/stub/ReturnStub.h> #include <mockpp/stub/StubHolder.h> Index: FIFOInvocationDispatcher_test.cpp =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/tests/FIFOInvocationDispatcher_test.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- FIFOInvocationDispatcher_test.cpp 27 Feb 2005 11:48:16 -0000 1.15 +++ FIFOInvocationDispatcher_test.cpp 25 Mar 2005 16:53:31 -0000 1.16 @@ -42,7 +42,10 @@ #include <mockpp/chaining/FIFOInvocationDispatcher.h> #include <mockpp/chaining/Invokable.h> #include <mockpp/chaining/Invocation.h> + +#ifdef MOCKPP_PTI_WEAKNESS #include <mockpp/chaining/mockpp_pti.h> +#endif #include <mockpp/stub/ReturnStub.h> #include <mockpp/stub/VoidStub.h> |