[Cppunit-cvs] cppunit2/src/cpputtest reflectiontest.cpp,1.2,1.3
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-03-05 09:41:09
|
Update of /cvsroot/cppunit/cppunit2/src/cpputtest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1644/src/cpputtest Modified Files: reflectiontest.cpp Log Message: * added support for reflection of const methods * factorised parameter type registration for better template function reuse. Index: reflectiontest.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit2/src/cpputtest/reflectiontest.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** reflectiontest.cpp 3 Mar 2005 20:48:54 -0000 1.2 --- reflectiontest.cpp 5 Mar 2005 09:41:00 -0000 1.3 *************** *** 38,42 **** } ! void checkTotal( int expected ) { CPPUT_ASSERT_EQUAL( expected, total_, "Total did not match expected value" ); --- 38,42 ---- } ! void checkTotal( int expected ) const { CPPUT_ASSERT_EQUAL( expected, total_, "Total did not match expected value" ); |