Menu

Commit [r251]  Maximize  Restore  History

* Makefile.am: added examples/qt to tar ball release.

* TODO: heavily updated.

* contrib/msvc/CppUnit*.wwtpl: changed base class for unit test to TestFixture.

* include/cppunit/Test.h: removed toString() method. Not used by the framework
and source of confusions with getName().
Added getChildTestCount() and getChildTestAt(), introducing the composite pattern
at top level. Added utility methods findTest() and findTestPath().

* src/cppunit/Test.cpp: added. Implementation of new utility methods.

* include/cppunit/TestCase.h:
* src/cppunit/TestCase.cpp: inherits TestLeaf. Removed toString(), run(void) and
defaultResult(). Removed default constructor.

* src/cppunit/TestCase.cpp:
* src/cppunit/TestSuite.cpp: fixed some includes that used "" instead of <>.

* include/cppunit/TestComposite.h:
* src/cppunit/TestComposite.cpp: added. Common implementation of Test for composite
tests (TestSuite).

* include/cppunit/TestFailure.h:
* src/cppunit/TestFailure.cpp: removed toString().

* include/cppunit/TestLeaf.h:
* src/cppunit/TestLeaf.cpp: added. Common implementation of Test for single test
(TestCase).

* include/cppunit/TestListener.h: added TimingListener example to documentation.

* include/cppunit/TestPath.h:
* src/cppunit/TestPath.cpp: added. List of test traversed to access a test in the
test hierarchy.

* include/cppunit/TestRunner.h: added. Generic TestRunner.

* src/cppunit/TestRunner.cpp: moved to TextTestRunner.cpp. Added new implementation
of includecppunit/TestRunner.h.

* include/cppunit/TestSuite.h:
* src/cppunit/TestSuite.cpp: inherits TestComposite and implements new Test
interface. Removed toString().

* src/cppunit/TextTestRunner.cpp: moved from TestRunner.cpp. Implementation of
include/cppunit/ui/text/TestRunner.h.

* include/cppunit/extensions/RepeatedTest.h:
* src/cppunit/RepeatedTest.cpp: removed toString().

* include/cppunit/extensions/TestDecorator.h: inherits TestLeaf.
Removed toString()

* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp:
* examples/cppunittest/XmlOutputterTest.cpp:
* examples/cppunittest/XmlOutputterTest.h: XML outputter now escape node content.
Add unit test for that bug (#540944). Added style sheet support. Modified
XML structure: failure message as its own element.

* src/msvc/testrunner/TestRunnerModel.h:
* src/msvc/testrunner/TestRunnerModel.cpp: used Test::findTest() to find a test
by name instead of using RTTI. Added toAnsiString() for convertion when
compiling as UNICODE.

* src/msvc/testrunner/TreeHierarchyDlg.h:
* src/msvc/testrunner/TreeHierarchyDlg.cpp: used new composite interface of Test
to explorer the test hierarchy instead of RTTI.

* examples/cppunittest/TestPathTest.h:
* examples/cppunittest/TestPathTest.cpp: added, unit tests for TestPath.

* examples/cppunittest/TestCaseTest.h:
* examples/cppunittest/TestCaseTest.cpp: added test for TestLeaf.

* examples/cppunittest/TestSuiteTest.h:
* examples/cppunittest/TestSuiteTest.cpp: added test for TestComposite and
new Test interface.

blep 2002-04-12

1 2 3 > >> (Page 1 of 3)
changed /trunk/cppunit/ChangeLog
changed /trunk/cppunit/Makefile.am
changed /trunk/cppunit/NEWS
changed /trunk/cppunit/README.CVS
changed /trunk/cppunit/TODO
changed /trunk/cppunit/contrib/msvc/CppUnit.WWTpl
changed /trunk/cppunit/contrib/msvc/CppUnitDev.WWTpl
added /trunk/cppunit/contrib/msvc/UnitTestAddIn.zip
changed /trunk/cppunit/doc/CppUnit-win.dox
added /trunk/cppunit/doc/makedox.bat
changed /trunk/cppunit/examples/cppunittest/CppUnitTestMain.cpp
changed /trunk/cppunit/examples/cppunittest/CppUnitTestMain.dsp
changed /trunk/cppunit/examples/cppunittest/Makefile.am
changed /trunk/cppunit/examples/cppunittest/MockTestCase.cpp
changed /trunk/cppunit/examples/cppunittest/MockTestCase.h
changed /trunk/cppunit/examples/cppunittest/TestCaseTest.cpp
changed /trunk/cppunit/examples/cppunittest/TestCaseTest.h
added /trunk/cppunit/examples/cppunittest/TestPathTest.cpp
added /trunk/cppunit/examples/cppunittest/TestPathTest.h
changed /trunk/cppunit/examples/cppunittest/TestSuiteTest.cpp
changed /trunk/cppunit/examples/cppunittest/TestSuiteTest.h
added /trunk/cppunit/examples/cppunittest/TestTest.cpp
added /trunk/cppunit/examples/cppunittest/TestTest.h
changed /trunk/cppunit/examples/cppunittest/TrackedTestCase.cpp
changed /trunk/cppunit/examples/cppunittest/XmlOutputterTest.cpp
/trunk/cppunit/ChangeLog Diff Switch to side-by-side view
Loading...
/trunk/cppunit/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/cppunit/NEWS Diff Switch to side-by-side view
Loading...
/trunk/cppunit/README.CVS Diff Switch to side-by-side view
Loading...
/trunk/cppunit/TODO Diff Switch to side-by-side view
Loading...
/trunk/cppunit/contrib/msvc/CppUnit.WWTpl Diff Switch to side-by-side view
Loading...
/trunk/cppunit/contrib/msvc/CppUnitDev.WWTpl Diff Switch to side-by-side view
Loading...
/trunk/cppunit/doc/CppUnit-win.dox Diff Switch to side-by-side view
Loading...
/trunk/cppunit/doc/makedox.bat Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/CppUnitTestMain.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/CppUnitTestMain.dsp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/Makefile.am Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/MockTestCase.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/MockTestCase.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TestCaseTest.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TestCaseTest.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TestPathTest.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TestPathTest.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TestSuiteTest.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TestSuiteTest.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TestTest.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TestTest.h Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/TrackedTestCase.cpp Diff Switch to side-by-side view
Loading...
/trunk/cppunit/examples/cppunittest/XmlOutputterTest.cpp Diff Switch to side-by-side view
Loading...
1 2 3 > >> (Page 1 of 3)
MongoDB Logo MongoDB