Update of /cvsroot/cppunit/cppunit2/include/cpput
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1230/include/cpput
Modified Files:
testinfo.h
Log Message:
* added aborting assertion mode to optional carry a string containing the properties in the exception.
Index: testinfo.h
===================================================================
RCS file: /cvsroot/cppunit/cppunit2/include/cpput/testinfo.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** testinfo.h 19 Nov 2004 21:39:13 -0000 1.2
--- testinfo.h 19 Nov 2004 23:05:20 -0000 1.3
***************
*** 38,41 ****
--- 38,47 ----
};
+ enum AbortingAssertionMode
+ {
+ fastAbortingAssertion = 1,
+ richAbortingAssertion
+ };
+
namespace TestInfo {
void CPPUT_API setTestResultUpdater( const TestResultUpdaterPtr &updater );
***************
*** 77,80 ****
--- 83,89 ----
void CPPUT_API restoreContext( const TestInfoDataPtr &oldContext );
+ /// Only for using for unit test of the framework itself
+ void setAbortingAssertionMode( AbortingAssertionMode mode );
+
} // namespace TestInfo
|