diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-04-20 20:54:36 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-04-20 20:54:36 +0000 |
| commit | f05089dffe81419786776b60bc2dc13d2a421a5c (patch) | |
| tree | 8451a33146a505c999a28288fe4574e98f268238 /include/cppunit | |
| parent | c4995a9e022ed586cf4e3f166738dfe01bf51c16 (diff) | |
| download | cppunit-f05089dffe81419786776b60bc2dc13d2a421a5c.tar.gz | |
THANKS: updated
THANKS: updated
* src/cppunit/DynamicLibraryManager.cpp: bugfix: did not pass
library name to exception.
* include/cppunit/TestPath.h:
* src/cppunit/TestPath.cpp: changed into value object.
* src/cppunit/BeosDynamicLibraryManager.cpp: integrated patch from
Shibu Yoshiki for BeOS ('cuppa' project team).
* src/DllPlugInTester/CommandLineParser.h:
* src/DllPlugInTester/CommandLineParser.cpp: added. Command line
parsing.
* src/DllPlugInTester/DllPlugInTester.cpp: full command line support
with parameters for plug-ins.
* src/DllPlugInTester/makefile.am:
* examples/simple/makefile.am:
* examples/cppunittest/makefile.am: integrated Jeffrey Morgan patch,
Unix side should be working again.
* examples/ReadMe.txt: added. Brief description of each example.
* examples/cppunittest/CppUnitTestPlugIn.cpp:
* examples/cppunittest/CppUnitTestPlugIn.dsp: added. New project to
build CppUnit's test suite as a test plug-in.
* examples/cppunittest/CppUnitTestSuite.cpp: updated. Use new
helper macros to create the test suite hierarchy.
* examples/simple/simple_plugin.opt: added. Contains debug tab
settings.
* examples/ClockerPlugIn/ClockerListener.cpp:
* examples/ClockerPlugIn/ClockerListener.h:
* examples/ClockerPlugIn/Timer.cpp:
* examples/ClockerPlugIn/Timer.h:
* examples/ClockerPlugIn/WinNtTimer.cpp:
* examples/ClockerPlugIn/WinNtTimer.h:
* examples/ClockerPlugIn/ClockerPlugIn.cpp:
* examples/ClockerPlugIn/ClockerPlugIn.dsp: added. test listener
plug-in that times tests.
* examples/DumperPlugIn/DumperListener.cpp:
* examples/DumperPlugIn/DumperListener.h:
* examples/DumperPlugIn/DumperPlugIn.cpp:
* examples/DumperPlugIn/DumperPlugIn.dsp: added. test listener
plug-in that dump the test tree.
Diffstat (limited to 'include/cppunit')
| -rw-r--r-- | include/cppunit/TestListener.h | 4 | ||||
| -rw-r--r-- | include/cppunit/TestPath.h | 13 | ||||
| -rw-r--r-- | include/cppunit/config/SelectDllLoader.h | 2 |
3 files changed, 15 insertions, 4 deletions
diff --git a/include/cppunit/TestListener.h b/include/cppunit/TestListener.h index b75265f..71d591b 100644 --- a/include/cppunit/TestListener.h +++ b/include/cppunit/TestListener.h @@ -121,7 +121,7 @@ public: * You can use this to do some global initialisation. A listener * could also use to output a 'prolog' to the test run. * - * \param suite Test that is going to be run. + * \param test Test that is going to be run. * \param eventManager Event manager used for the test run. */ virtual void startTestRun( Test *test, @@ -132,7 +132,7 @@ public: * TextTestProgressListener use this to emit a line break. You can also use this * to do some global uninitialisation. * - * \param suite Test that was run. + * \param test Test that was run. * \param eventManager Event manager used for the test run. */ virtual void endTestRun( Test *test, diff --git a/include/cppunit/TestPath.h b/include/cppunit/TestPath.h index 02016ef..ddd0102 100644 --- a/include/cppunit/TestPath.h +++ b/include/cppunit/TestPath.h @@ -73,6 +73,11 @@ public: TestPath( Test *searchRoot, const std::string &pathAsString ); + /*! Copy constructor. + * \param other Object to copy. + */ + TestPath( const TestPath &other ); + virtual ~TestPath(); /*! Tests if the path contains at least one test. @@ -153,6 +158,12 @@ public: */ virtual std::string toString() const; + /*! Assignment operator. + * \param other Object to copy. + * \return This object. + */ + TestPath &operator =( const TestPath &other ); + protected: /*! Checks that the specified test index is within valid range. * \param index Zero based index to check. @@ -187,7 +198,7 @@ protected: protected: typedef std::deque<Test *> Tests; - Tests _tests; + Tests m_tests; }; diff --git a/include/cppunit/config/SelectDllLoader.h b/include/cppunit/config/SelectDllLoader.h index 55959e6..23df1f9 100644 --- a/include/cppunit/config/SelectDllLoader.h +++ b/include/cppunit/config/SelectDllLoader.h @@ -69,4 +69,4 @@ #endif // !defined(CPPUNIT_NO_TESTPLUGIN) -#endif // CPPUNIT_CONFIG_SELECTDLLLOADER_H
\ No newline at end of file +#endif // CPPUNIT_CONFIG_SELECTDLLLOADER_H |
