Update of /cvsroot/cppunit/cppunit2/src/opentesttest
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31558/src/opentesttest
Modified Files:
packetstest.cpp remoteinterfacestest.cpp serializertest.cpp
Log Message:
- fixed static registration macro for Registry
- static registration macros must no longer be followed by a semi-colon
(therefore we get compiler error if registry.h was not included)
- allow registration macros to work with class implenting suite() or suite( const std::string &).
Index: packetstest.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/opentesttest/packetstest.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** packetstest.cpp 6 Sep 2005 07:31:42 -0000 1.4
--- packetstest.cpp 8 Nov 2005 23:25:31 -0000 1.5
***************
*** 41,45 ****
! CPPUT_REGISTER_SUITE_TO_DEFAULT( PacketsTest );
PacketsTest::PacketsTest()
--- 41,45 ----
! CPPUT_REGISTER_SUITE_TO_DEFAULT( PacketsTest )
PacketsTest::PacketsTest()
Index: serializertest.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/opentesttest/serializertest.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** serializertest.cpp 7 Nov 2005 22:43:08 -0000 1.5
--- serializertest.cpp 8 Nov 2005 23:25:31 -0000 1.6
***************
*** 14,18 ****
! CPPUT_REGISTER_SUITE_TO_DEFAULT( SerializerTest );
--- 14,18 ----
! CPPUT_REGISTER_SUITE_TO_DEFAULT( SerializerTest )
Index: remoteinterfacestest.cpp
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/src/opentesttest/remoteinterfacestest.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** remoteinterfacestest.cpp 7 Nov 2005 22:43:08 -0000 1.2
--- remoteinterfacestest.cpp 8 Nov 2005 23:25:31 -0000 1.3
***************
*** 71,75 ****
! CPPUT_REGISTER_SUITE_TO_DEFAULT( RemoteInterfacesTest );
--- 71,75 ----
! CPPUT_REGISTER_SUITE_TO_DEFAULT( RemoteInterfacesTest )
|