From: <bl...@us...> - 2003-05-03 17:36:48
|
Update of /cvsroot/cpptool/rfta/include/rfta/test In directory sc8-pr-cvs1:/tmp/cvs-serv32224/include/rfta/test Modified Files: UnitTesting.h Log Message: * added RFTA_CUSTOM_INIT_ASSERT Index: UnitTesting.h =================================================================== RCS file: /cvsroot/cpptool/rfta/include/rfta/test/UnitTesting.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** UnitTesting.h 1 May 2003 18:53:18 -0000 1.1 --- UnitTesting.h 3 May 2003 17:36:43 -0000 1.2 *************** *** 110,115 **** #define RFTA_CUSTOM_ASSERT( AsserterType ) \ ! AsserterType().setAssertLocation( CPPUNIT_SOURCELINE() ) --- 110,118 ---- + #define RFTA_CUSTOM_INIT_ASSERT( asserter ) \ + (asserter).setAssertLocation( CPPUNIT_SOURCELINE() ) + #define RFTA_CUSTOM_ASSERT( AsserterType ) \ ! RFTA_CUSTOM_INIT_ASSERT( AsserterType() ) |