diff options
author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-06-13 14:31:01 +0000 |
---|---|---|
committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-06-13 14:31:01 +0000 |
commit | abd178318ae3cdb6cc0a700e77414a33ef9297ca (patch) | |
tree | 76bb1f6d0bf28bfe23c710487d0b20bd95878ca4 /doc | |
parent | 3702f4f7603f1e49b4d6747c49e795bad712eab7 (diff) | |
download | cppunit-abd178318ae3cdb6cc0a700e77414a33ef9297ca.tar.gz |
Include/cppunit/Asserter.
include/cppunit/Asserter.h:
* src/cppunit/Asserter.cpp: added functions that take a Message as a
parameter. Existing function have a short description indicating
an assertion failure.
* include/cppunit/CompilerOuputter.h:
* src/cppunit/CompilerOuputter.cpp: removed printNotEqualMessage() and
printDefaultMessage(). Updated to use Message.
* include/cppunit/Message.h:
* src/cppunit/Message.cpp: added. Represents a message associated to an
Exception.
* include/cppunit/Exception.h:
* src/cppunit/Exception.cpp: the message associated to the exception is now
stored as a Message instead of a string.
* include/cppunit/NotEqualException.cpp: constructs a Message instead of a
string.
* include/cppunit/TestAssert.h:
* src/cppunit/TestAssert.cpp: updated to use Asserter functions that
take a message when pertinent (CPPUNIT_FAIL...).
* include/cppunit/TestCaller.h:
* src/cppunit/TestCaller.cpp: exception not caught failure has a better
short description.
* src/cppunit/TestCase.cpp: better short description when setUp() or
tearDown() fail.
* src/msvc6/testrunner/TestRunnerDlg.cpp: replace '\n' in failure message
with space.
* examples/cppunittest/ExceptionTest.cpp:
* examples/cppunittest/NotEqualExceptionTest.cpp:
* examples/cppunittest/TestCallerTest.cpp:
* examples/cppunittest/TestFailureTest.cpp:
* examples/cppunittest/TestResultCollectorTest.h:
* examples/cppunittest/TestResultCollectorTest.cpp:
* examples/cppunittest/TestResultTest.cpp:
* examples/cppunittest/XmlOutputterTest.h:
* examples/cppunittest/XmlOutputterTest.cpp: updated to use Exception/Message.
* examples/cppunittest/MessageTest.h:
* examples/cppunittest/MessageTest.cpp: added. Unit test for Message.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/other_documentation.dox | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/other_documentation.dox b/doc/other_documentation.dox index 9e6d576..b059775 100644 --- a/doc/other_documentation.dox +++ b/doc/other_documentation.dox @@ -71,7 +71,7 @@ * * Creating a test plug-in is really simple: * - make your project a dynamic library (with VC++, choose Win32 Dynamic Library in - * the project wizard), and link against the dynamic library version of CppUnit + * the project wizard), and link against the dynamic library version of %CppUnit * (cppunit*_dll.lib for VC++). * - in a cpp file, include TestPlugIn.h, and use the macro CPPUNIT_PLUGIN_IMPLEMENT() * to declare the test plug-in. @@ -133,8 +133,8 @@ CPPUNIT_PLUGIN_IMPLEMENT();\endverbatim * * How does it works ? * - * When CppUnit is linked as a DLL, the singleton used for the TestFactoryRegistry - * is the same for the plug-in runner (also linked against CppUnit DLL). This means + * When %CppUnit is linked as a DLL, the singleton used for the TestFactoryRegistry + * is the same for the plug-in runner (also linked against %CppUnit DLL). This means * that the tests registered with the macros (at static initialization) are * registered in the same registry. As soon as a DLL is loaded by the PlugInManager, * the DLL static variable are constructed and the test registered to the |