From c7a4dccd9f1b1fadcd47afe482c8a8ff9e05ea8f Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Mon, 11 Jun 2001 18:59:15 +0000 Subject: Include/cppunit/NotEqualException. include/cppunit/NotEqualException.cpp: addded, exception to be used with assertEquals(). * src/cppunit/RepeatedTest.cpp: added to reduce header dependency (TestResult.h was missing). * src/cppunit/TestAssert.cpp: added to put non template functions there. * src/cppunit/TestCase.cpp: added std:: prefix to catch (exception& e). Integrated a modified version of Tim Jansen patch (#403745) for TestCase to make the unit test (TestCaseTest) pass. If the setUp() fail then neither the runTest() nor the tearDown() method is called. --- src/cppunit/cppunit.dsp | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'src/cppunit/cppunit.dsp') diff --git a/src/cppunit/cppunit.dsp b/src/cppunit/cppunit.dsp index 1ac2f67..3a52746 100644 --- a/src/cppunit/cppunit.dsp +++ b/src/cppunit/cppunit.dsp @@ -122,6 +122,10 @@ SOURCE=..\..\include\cppunit\extensions\Orthodox.h # End Source File # Begin Source File +SOURCE=.\RepeatedTest.cpp +# End Source File +# Begin Source File + SOURCE=..\..\include\cppunit\extensions\RepeatedTest.h # End Source File # Begin Source File @@ -142,10 +146,6 @@ SOURCE=..\..\include\cppunit\extensions\TestFactoryRegistry.h # End Source File # Begin Source File -SOURCE=..\..\include\cppunit\extensions\TestSetup.h -# End Source File -# Begin Source File - SOURCE=..\..\include\cppunit\extensions\TestSuiteBuilder.h # End Source File # Begin Source File @@ -183,10 +183,22 @@ SOURCE=..\..\include\cppunit\Exception.h # End Source File # Begin Source File +SOURCE=.\NotEqualException.cpp +# End Source File +# Begin Source File + +SOURCE=..\..\include\cppunit\NotEqualException.h +# End Source File +# Begin Source File + SOURCE=..\..\include\cppunit\Test.h # End Source File # Begin Source File +SOURCE=.\TestAssert.cpp +# End Source File +# Begin Source File + SOURCE=..\..\include\cppunit\TestAssert.h # End Source File # Begin Source File -- cgit v1.2.1