[Cppunit-cvs] cppunit2/include/cpput testcase.h,1.5,1.6 testfailureguard.h,1.11,1.12 testcontext.h,1
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2004-11-20 15:26:48
|
Update of /cvsroot/cppunit/cppunit2/include/cpput In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21663/include/cpput Modified Files: testcase.h testfailureguard.h Removed Files: testcontext.h Log Message: * Removed TestContext. * TestContext/AbstractTestCase: moved responsibility of running the test to AbstractTestCase. Index: testcase.h =================================================================== RCS file: /cvsroot/cppunit/cppunit2/include/cpput/testcase.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** testcase.h 17 Nov 2004 21:47:09 -0000 1.5 --- testcase.h 20 Nov 2004 15:26:37 -0000 1.6 *************** *** 2,6 **** # define CPPUT_TESTCASE_H_INCLUDED - # include <cpput/config.h> # include <cpput/forwards.h> # include <cpput/functor.h> --- 2,5 ---- *************** *** 18,21 **** --- 17,26 ---- AbstractTestCase( const std::string &name ); + /// @warning: TestInfo::startNewTest() must be called before each test + bool runTest(); + + /// @warning: TestInfo::startNewTest() must be called before each test + bool runTest( const TestExceptionGuardChain &guardsChain ); + public: // overridden from Test void accept( TestVisitor &visitor ); Index: testfailureguard.h =================================================================== RCS file: /cvsroot/cppunit/cppunit2/include/cpput/testfailureguard.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** testfailureguard.h 20 Nov 2004 15:06:59 -0000 1.11 --- testfailureguard.h 20 Nov 2004 15:26:37 -0000 1.12 *************** *** 57,61 **** void removeLastGuard(); ! bool protect( Functor0 test ); private: --- 57,61 ---- void removeLastGuard(); ! bool protect( Functor0 test ) const; private: --- testcontext.h DELETED --- |