summaryrefslogtreecommitdiff
path: root/src/cppunit/NotEqualException.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixes for GCC 3.0Steve M. Robbins2001-07-121-1/+1
|
* Include/cppunit/NotEqualException.Baptiste Lepilleur2001-06-121-2/+20
| | | | | | | | | | | | | | | | | include/cppunit/NotEqualException.h * src/cppunit/NotEqualException.h: Fixed constructor and operator = (aren't unit test nice?). Added methods expectedValue() and actualValue(). * include/cppunit/TestAssert.h: * src/cppunit/TestAssert.cpp: Use NotEqualException to report equality failure. * src/cppunit/TestResult.cpp: Report expect/was on different line for assertEquals failure. * examples/cppunittest/NotEqualExceptionTest.*: added unit tests for NotEqualException.
* Include/cppunit/NotEqualException.Baptiste Lepilleur2001-06-111-0/+64
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.