Blame NEWS

Packit 8c9aa0
  New in CppUnit 1.14.0:
Packit 8c9aa0
  ---------------------
Packit 8c9aa0
Packit 8c9aa0
  - TestCaller supports any callable that can be put into
Packit 8c9aa0
    std::function<void()>.
Packit 8c9aa0
Packit 8c9aa0
  - CPPUNIT_TEST_PARAMETERIZED executes a test for any value in
Packit 8c9aa0
    an iteratable.
Packit 8c9aa0
Packit 8c9aa0
  - Added new Assertion macros: ASSERT_LESS, ASSERT_GREATER,
Packit 8c9aa0
                    ASSERT_LESSEQUAL, ASSERT_GREATEREQUAL
Packit 8c9aa0
Packit 8c9aa0
* Portability:
Packit 8c9aa0
  - Always build with C++11.
Packit 8c9aa0
Packit 8c9aa0
  - Always require RTTI support.
Packit 8c9aa0
Packit 8c9aa0
  - Removed support for compilers that don't support
Packit 8c9aa0
    default template arguments with standard containers.
Packit 8c9aa0
Packit 8c9aa0
  - Removed portability headers for wrapper around
Packit 8c9aa0
    standard containers.
Packit 8c9aa0
Packit 8c9aa0
  - Support C++11 enum class in asserter.
Packit 8c9aa0
Packit 8c9aa0
* Test Plug-in Runner: 
Packit 8c9aa0
  - Fixed crash on Win64 in test runner (fdo#81433)
Packit 8c9aa0
Packit 8c9aa0
* Removed features
Packit 8c9aa0
Packit 8c9aa0
  - QT test runner
Packit 8c9aa0
Packit 8c9aa0
  - msvc6 test runners
Packit 8c9aa0
Packit 8c9aa0
  - msvc6 plugin
Packit 8c9aa0
Packit 8c9aa0
  - BeOS support
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.13.2:
Packit 8c9aa0
  ---------------------
Packit 8c9aa0
Packit 8c9aa0
* Portability:
Packit 8c9aa0
  - Supports 64 bit build on windows
Packit 8c9aa0
Packit 8c9aa0
  - Report errors from dlopen and dlclose through dlerror on
Packit 8c9aa0
    unix/linux.
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.13.1:
Packit 8c9aa0
  ---------------------
Packit 8c9aa0
Packit 8c9aa0
* Portability:
Packit 8c9aa0
  - Use portable way to use free (fdo#52536)
Packit 8c9aa0
Packit 8c9aa0
  - Prevent crash when demangling fails with gcc (fdo#52539)
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.13.0:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
* Portability:
Packit 8c9aa0
  - Added support for macro CPPUNIT_UNIQUE_COUNTER to config-*.h. It
Packit 8c9aa0
    should expands to a unique number per translation unit. Default
Packit 8c9aa0
    to __LINE__ if not defined. Use __COUNTER__ on MSVS 7.0+.
Packit 8c9aa0
    (Bug #2031696)
Packit 8c9aa0
Packit 8c9aa0
* Compilation
Packit 8c9aa0
Packit 8c9aa0
  - destructor of Message causes segfault when testing (rhbz#641350)
Packit 8c9aa0
Packit 8c9aa0
  - use correct CPPUNIT_VERSION value (sf#2983798)
Packit 8c9aa0
Packit 8c9aa0
  - allow -Werror builds
Packit 8c9aa0
    (various Libreoffice patches)
Packit 8c9aa0
Packit 8c9aa0
  - finite in "ieeefp.h" instead of math.h on Solaris (sf#2912590)
Packit 8c9aa0
Packit 8c9aa0
  - Fixed compilation issue with Microsoft Visual Studio.Net 2005/2008 and
Packit 8c9aa0
    added Visual Studio 2005/2010  projects (.vcproj/.vcxproj)
Packit 8c9aa0
     
Packit 8c9aa0
  - Changes to build without warnings using gcc -Wall -W -ansi 
Packit 8c9aa0
    (patch #1898225 contributed by dpkatz)
Packit 8c9aa0
Packit 8c9aa0
  - Libraries flags such as "-ldl" are now in LDADD instead of LIBADD_DL
Packit 8c9aa0
    ( patch #2807259 contributed by Jan Echternach).
Packit 8c9aa0
Packit 8c9aa0
  - Fixed detection of cxxabi.h with gcc 4.3 in configure (bug #2796543).
Packit 8c9aa0
Packit 8c9aa0
  - made TestCaseDecorator copy c'tor and operator= private (fdo#51317)
Packit 8c9aa0
      
Packit 8c9aa0
* Documentation
Packit 8c9aa0
Packit 8c9aa0
  - Updated several false documentation entries (sf#2185407, sf#2186611)
Packit 8c9aa0
Packit 8c9aa0
* Test Plug-in Runner: 
Packit 8c9aa0
  - fixed memory leak in TestPlugInRunnerDlg (#1721408)
Packit 8c9aa0
      
Packit 8c9aa0
      
Packit 8c9aa0
  New in CppUnit 1.12.1:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
* Assertion:
Packit 8c9aa0
Packit 8c9aa0
  - CPPUNIT_ASSERT_DOUBLES_EQUAL() now properly handles non-finite
Packit 8c9aa0
    values, specifically NaN, +Inf, and -Inf.
Packit 8c9aa0
Packit 8c9aa0
* Portability: 
Packit 8c9aa0
Packit 8c9aa0
  - Fixed some compilation issue for QtTestRunner.
Packit 8c9aa0
  - Code should build on Windows in UNICODE mode.
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.12.0:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
* Portability:
Packit 8c9aa0
Packit 8c9aa0
  - autogen.sh can now be run on Mac OS X (patch #1449380
Packit 8c9aa0
    contributed by Sander Temme).
Packit 8c9aa0
    
Packit 8c9aa0
* MFC Test runner:
Packit 8c9aa0
Packit 8c9aa0
  - fixed bug #1498175: double click on failure would sometime 
Packit 8c9aa0
    not goto failed assertion in visual studio.
Packit 8c9aa0
Packit 8c9aa0
* Documentation:
Packit 8c9aa0
Packit 8c9aa0
  - now generated with doxygen 1.4.7 new 'tabs' style.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.11.4:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* Portability:
Packit 8c9aa0
Packit 8c9aa0
  - Support for Embedded Visual C++ 4 added. For this purpose, CppUnit now
Packit 8c9aa0
    provides a very simple stream implementation if none is provided.
Packit 8c9aa0
    This should also help porting on other platforms which have STL but
Packit 8c9aa0
    no stream support. Just make sure that CPPUNIT_NO_STREAM is defined
Packit 8c9aa0
    to 1 in your config header.
Packit 8c9aa0
Packit 8c9aa0
* Assertion:
Packit 8c9aa0
Packit 8c9aa0
  - Added missing _MESSAGE variants for the following assertions:
Packit 8c9aa0
  
Packit 8c9aa0
    CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE
Packit 8c9aa0
    CPPUNIT_ASSERT_THROW_MESSAGE
Packit 8c9aa0
    CPPUNIT_ASSERT_NO_THROW_MESSAGE
Packit 8c9aa0
    CPPUNIT_ASSERT_ASSERTION_FAIL_MESSAGE
Packit 8c9aa0
    CPPUNIT_ASSERT_ASSERTION_PASS_MESSAGE
Packit 8c9aa0
Packit 8c9aa0
    Notes: change made to CPPUNIT_ASSERT_THROW may cause compilation error 
Packit 8c9aa0
    if you're expecting std::exception as it would be caught twice. Contact us
Packit 8c9aa0
    if it is an issue (we don't see much use for such a test).
Packit 8c9aa0
Packit 8c9aa0
    Some assertions failure message are now more detailed (exception, 
Packit 8c9aa0
    expression).
Packit 8c9aa0
    Thanks to Neil Ferguson who contributed this patch.
Packit 8c9aa0
Packit 8c9aa0
  - Assertion on real number now output expected and actual value using the
Packit 8c9aa0
    maximum available precision instead of the previous strategy of rounding 
Packit 8c9aa0
    to 6 digits.
Packit 8c9aa0
Packit 8c9aa0
    Thanks to Neil Ferguson who contributed this patch.
Packit 8c9aa0
Packit 8c9aa0
* Outputter:
Packit 8c9aa0
Packit 8c9aa0
  - XML Ouputter: patch #997006 contributed by Akos Maroy makes the
Packit 8c9aa0
    'stand-alone' attribute of the XML header optional. 
Packit 8c9aa0
    See XmlOutputter::setStandalone() & XmlDocument::setStandalone().
Packit 8c9aa0
Packit 8c9aa0
  - Better integration of compiler output for gcc on Mac OS X with Xcode
Packit 8c9aa0
    (contributed by Claus Broch).
Packit 8c9aa0
Packit 8c9aa0
* MFC Test Runner
Packit 8c9aa0
Packit 8c9aa0
  - Integration with VC++ 7.0 & 7.1. Double clicking on a failure will now
Packit 8c9aa0
    to the failure location in the open IDE (no add-in necessary). 
Packit 8c9aa0
    This was contributed by Max Quatember and Andreas Pfaffenbichler.
Packit 8c9aa0
Packit 8c9aa0
  - Progress bar: now use system color to draw border 
Packit 8c9aa0
    (patch from bug #1165875 contributed by Pieter Van Dyck).
Packit 8c9aa0
Packit 8c9aa0
* QT Test Runner
Packit 8c9aa0
Packit 8c9aa0
  - Fixed display of multi-line messages (patch contributed by Karol Szkudlarek).
Packit 8c9aa0
Packit 8c9aa0
* Compilation:
Packit 8c9aa0
Packit 8c9aa0
  - The standard pkg-config file is now generated on unix (contributed by 
Packit 8c9aa0
    Robert Leight).
Packit 8c9aa0
Packit 8c9aa0
  - MinGW: patch #1024428 contributed by astar, fixed compilation issue in
Packit 8c9aa0
    Win32DynamicLibraryManager.cpp.
Packit 8c9aa0
Packit 8c9aa0
  - MinGW, cygwin: enable build of shared library when using libtool. 
Packit 8c9aa0
    patch #1194394 contributed by Stéphane Fillod.
Packit 8c9aa0
Packit 8c9aa0
  - autotool: applied patch #1076398 contributed by Henner Sudek. Quote:
Packit 8c9aa0
		 "This patch allows AM_PATH_CPPUNIT to accept version
Packit 8c9aa0
		numbers without minor and micro version.
Packit 8c9aa0
		Now you can do:
Packit 8c9aa0
		AM_PATH_CPPUNIT(1.9)
Packit 8c9aa0
		instead of
Packit 8c9aa0
		AM_PATH_CPPUNIT(1.9.0)"
Packit 8c9aa0
		
Packit 8c9aa0
  - Visual Studio 2005: removed deprecated warning.
Packit 8c9aa0
Packit 8c9aa0
* Documentation:
Packit 8c9aa0
Packit 8c9aa0
  - Corrected many typos in cookbook and money example. Thanks to all
Packit 8c9aa0
    those who helped !
Packit 8c9aa0
Packit 8c9aa0
* Bug Fix:
Packit 8c9aa0
Packit 8c9aa0
  - cppunit.m4: patch #946302, AM_PATH_CPPUNIT doesn't report result 
Packit 8c9aa0
    if CppUnit is missing.
Packit 8c9aa0
Packit 8c9aa0
  - Message/SourceLine: copy constructor have been specifically implemented
Packit 8c9aa0
    to ensure they are thread-safe even if std::string copy constructor
Packit 8c9aa0
    is not (usually on reference count based implementation).
Packit 8c9aa0
Packit 8c9aa0
  - TestResultCollector: fixed memory leak occuring when calling reset().
Packit 8c9aa0
Packit 8c9aa0
* Contrib:
Packit 8c9aa0
Packit 8c9aa0
  - added XSLT for compatibility with Ant junit xml formatter.
Packit 8c9aa0
    Patch #1112053 contributed by Norbert Barbosa.
Packit 8c9aa0
    See xml-xsl/cppunit2junit.xsl and cppunit2junit.txt for details.
Packit 8c9aa0
Packit 8c9aa0
  - xml-xsl/report.xsl has been fixed to work with current xml output.
Packit 8c9aa0
Packit 8c9aa0
* (Possible) Compatiblity break:
Packit 8c9aa0
Packit 8c9aa0
  - All text output is now done on cout() instead of sometime cerr & 
Packit 8c9aa0
    sometime cout depending on the component.
Packit 8c9aa0
Packit 8c9aa0
  - OStringStream definition has been removed from Portability.h. This
Packit 8c9aa0
    means that <sstream> is no longer included, and that ostringstream and
Packit 8c9aa0
    string might not be defined. In practice this should have no impact 
Packit 8c9aa0
    since those includes have been moved to other CppUnit headers.
Packit 8c9aa0
Packit 8c9aa0
* Notes:
Packit 8c9aa0
Packit 8c9aa0
  - CppUnit now uses the alias OStream when refering to std::ostream for 
Packit 8c9aa0
    portability.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.10.2:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
* Bug Fix:
Packit 8c9aa0
Packit 8c9aa0
  - Memory checker: bug #938753, array bound read in 
Packit 8c9aa0
    splitPathString() with substr if an empty string is passed.
Packit 8c9aa0
Packit 8c9aa0
  - Memory leaks: bug #952912, many memory leaks removed in the
Packit 8c9aa0
    MFC test plug-in runner.
Packit 8c9aa0
Packit 8c9aa0
  - Crash when using CPPUNIT_TEST_SUITE_REGISTRATION with cppunit dll.
Packit 8c9aa0
    Bug #921843. This bug was caused by a known STL bug in VC++ 6. 
Packit 8c9aa0
    See http://www.dinkumware.com/vc_fixes.html <xtree> issue with shared
Packit 8c9aa0
    std::map in dll.
Packit 8c9aa0
Packit 8c9aa0
* Compilation:
Packit 8c9aa0
Packit 8c9aa0
  - mingw & cigwin, bug #930338 & #945737 fixed.
Packit 8c9aa0
Packit 8c9aa0
  - make install does not work on SunOS. Bug #940650 fixed.
Packit 8c9aa0
Packit 8c9aa0
  - bug #933154, post-build step fails in directory with spaces
Packit 8c9aa0
    with Visual C++.
Packit 8c9aa0
Packit 8c9aa0
  - DllPlugInTester, bug #941625 (char * string literal). Applied patch
Packit 8c9aa0
    contribued by Curt Arnold.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.10.0 (same as 1.9.14):
Packit 8c9aa0
  --------------------------------------
Packit 8c9aa0
Packit 8c9aa0
* Assertions
Packit 8c9aa0
Packit 8c9aa0
  - Ported exception assertion macros from cppunit 2 to the 1.9.x series:
Packit 8c9aa0
    CPPUNIT_ASSERT_THROW, CPPUNIT_ASSERT_NO_THROW, 
Packit 8c9aa0
    CPPUNIT_ASSERT_ASSERTION_FAIL, CPPUNIT_ASSERT_ASSERTION_PASS.
Packit 8c9aa0
Packit 8c9aa0
* Deprecated:
Packit 8c9aa0
Packit 8c9aa0
  - The helper macros: CPPUNIT_TEST_FAIL & CPPUNIT_TEST_EXCEPTION have
Packit 8c9aa0
    been deprecated. Use the new exception assertion macros instead.
Packit 8c9aa0
Packit 8c9aa0
* Bug Fix:
Packit 8c9aa0
Packit 8c9aa0
  - cppunit-config: bug #903363, missing -ldl from the output of
Packit 8c9aa0
    cppunit-config --libs. Fixed thanks Eric Blossom patch.
Packit 8c9aa0
Packit 8c9aa0
  - test plug-in(unix): Adding RTLD_GLOBAL allows test plug-ins 
Packit 8c9aa0
    to provide symbols to shared objects they load themselves.
Packit 8c9aa0
    Thanks goes to Gareth Sylvester for this patch (#816563).
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.9.12:
Packit 8c9aa0
  ---------------------
Packit 8c9aa0
Packit 8c9aa0
* Test Plug-in
Packit 8c9aa0
Packit 8c9aa0
  - added support contributed support for UNIX systems that
Packit 8c9aa0
    have libdld and not libdl (e.g. hp-ux). Contributed by
Packit 8c9aa0
    Abdessattar Sassi.
Packit 8c9aa0
Packit 8c9aa0
* RTTI
Packit 8c9aa0
Packit 8c9aa0
  - TypeInfoHelper now used gcc c++ abi to demangle typeinfo name thanks to
Packit 8c9aa0
    Neil Ferguson contribution.
Packit 8c9aa0
Packit 8c9aa0
* Bug Fix:
Packit 8c9aa0
Packit 8c9aa0
  - MFC TestRunner: integrated bug fix from Tim Threlkeld for bug 
Packit 8c9aa0
    #610191 and #610162. Fixed assertion when minizing dialog 
Packit 8c9aa0
    (bug #643612).
Packit 8c9aa0
Packit 8c9aa0
  - XMLOutputter: Fixed bug #676505: no space inserted between attributes
Packit 8c9aa0
    of XmlElement.
Packit 8c9aa0
Packit 8c9aa0
  - CppUnit portability: fixed many mistakes relating to compilation
Packit 8c9aa0
    without type info or namespace reported by Philip Craig.
Packit 8c9aa0
Packit 8c9aa0
  - Missing destructor with no throw specification for 
Packit 8c9aa0
    DynamicLibraryManagerException. Bug #619059.
Packit 8c9aa0
Packit 8c9aa0
  - Fixed missing export for operator <<(TextTestResult). Bug #610119.
Packit 8c9aa0
Packit 8c9aa0
  - Missing include for typeinfo in TestNamer.h. Bug #662666.
Packit 8c9aa0
Packit 8c9aa0
* Compilation
Packit 8c9aa0
Packit 8c9aa0
  - Fixed compilation issues for Borland C++ 6 and STLPort. Bug #694971,
Packit 8c9aa0
    #699794 and #662666.
Packit 8c9aa0
Packit 8c9aa0
  - Fixed compilation issues for AIX.
Packit 8c9aa0
Packit 8c9aa0
  - Fixed compilation issues for Visual C++ .NET 2002.
Packit 8c9aa0
Packit 8c9aa0
  - Fixed doxygen usage in mingw environment (space not allowed in 
Packit 8c9aa0
    doxygen path). Bug #700730.
Packit 8c9aa0
Packit 8c9aa0
  - Fixed compilation issue for mingw (bug #711583).
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.9.10:
Packit 8c9aa0
  ---------------------
Packit 8c9aa0
Packit 8c9aa0
  - Major portability improvement
Packit 8c9aa0
  - Protector
Packit 8c9aa0
  - HelperMacros
Packit 8c9aa0
  - MFC TestRunner bug fixes
Packit 8c9aa0
  - Failure diagnostic
Packit 8c9aa0
  - Asserter
Packit 8c9aa0
Packit 8c9aa0
* Major portability improvement:
Packit 8c9aa0
Packit 8c9aa0
  - Much work has been done to reduce C++ feature requirement to compile
Packit 8c9aa0
    CppUnit. It should now be possible to compile CppUnit on most 
Packit 8c9aa0
    compilers, as long as STL are available (in std namespace or not), 
Packit 8c9aa0
    with some form of strstream and iostream, as well as exception support.
Packit 8c9aa0
    See CodingGuideLines.txt for details.
Packit 8c9aa0
Packit 8c9aa0
* Protector
Packit 8c9aa0
Packit 8c9aa0
  - Protector can be passed to the TestResult to 'protect' call to
Packit 8c9aa0
    setUp(), runTest() and tearDown() method. With this, it is easy to
Packit 8c9aa0
    capture exceptions which do not have std::exception as a base class,
Packit 8c9aa0
    such as CException or RWXMsg for example. TestResult and Protector 
Packit 8c9aa0
    class documentation. Look at src/cppunit/DefaultProtector.cpp for
Packit 8c9aa0
    an example of implementation.
Packit 8c9aa0
Packit 8c9aa0
* Helper macros
Packit 8c9aa0
Packit 8c9aa0
  - Mostly rewritten. It no longer use TestSuiteBuilder. A new object
Packit 8c9aa0
    TestSuiteBuilderContext was introduced. It is used to name test case,
Packit 8c9aa0
    create test fixture instance and add test to the fixture suite. It
Packit 8c9aa0
    is now much more easier to add custom test cases using
Packit 8c9aa0
    CPPUNIT_TEST_SUITE_ADD_CUSTOM_TESTS. Should also prevent most 
Packit 8c9aa0
    compability break concerning that macro.
Packit 8c9aa0
Packit 8c9aa0
  - Useful typedef are now public: TestFixtureType, ParentTestFixtureType.
Packit 8c9aa0
Packit 8c9aa0
  - New typedef for custom test method parameter: 
Packit 8c9aa0
    typedef TestSuiteBuilderContext<TestFixtureType> 
Packit 8c9aa0
       TestSuiteBuilderContextType;
Packit 8c9aa0
Packit 8c9aa0
  - added support for abstract test fixture with
Packit 8c9aa0
    CPPUNIT_TEST_SUITE_END_ABSTRACT(). See documentation for further
Packit 8c9aa0
    detail.
Packit 8c9aa0
Packit 8c9aa0
* Failure diagnostic
Packit 8c9aa0
Packit 8c9aa0
  - setUp() and tearDown() now provides a detailed diagnostic of the
Packit 8c9aa0
    failure (assertion, exception...)
Packit 8c9aa0
Packit 8c9aa0
  - If RTTI is allowed to extract type info, CppUnit will report the
Packit 8c9aa0
    actual exception type in the diagnostic.
Packit 8c9aa0
Packit 8c9aa0
* Asserter:
Packit 8c9aa0
  
Packit 8c9aa0
  - A new AdditionalMessage class has been introduced. It is used for
Packit 8c9aa0
    assertion that takes an additional 'message' argument 
Packit 8c9aa0
    (CPPUNIT_ASSERT_MESSAGE...). Since this macro has an implicit 
Packit 8c9aa0
    constructor that take a string, which creates a Message with the 
Packit 8c9aa0
    specified string as detail. That way, additional message can be a 
Packit 8c9aa0
    single string or a complex Message object. See documentation for 
Packit 8c9aa0
    example of use.
Packit 8c9aa0
Packit 8c9aa0
* Bug Fix:
Packit 8c9aa0
Packit 8c9aa0
  - MFC TestRunner: bug #530426 (conflict between TestRunner and host 
Packit 8c9aa0
    application's resources). A huge thanks to Steven Mitter for that one.
Packit 8c9aa0
Packit 8c9aa0
  - MFC TestRunner: Browse button is now disabled while running test.
Packit 8c9aa0
Packit 8c9aa0
* Deprecated
Packit 8c9aa0
Packit 8c9aa0
  - CppUnit::TextUi::TestRunner moved to CppUnit::TextTestRunner.
Packit 8c9aa0
  - CppUnit::MfcUi::TestRunner moved to CppUnit::MfcTestRunner.
Packit 8c9aa0
  - CppUnit::QtUi::TestRunner moved to CppUnit::QtTestRunner.
Packit 8c9aa0
Packit 8c9aa0
* Compatiblity break:
Packit 8c9aa0
Packit 8c9aa0
  - CppUnitTextUi::TestRunner, removed runTestByName() and runTest().
Packit 8c9aa0
  - TestSuiteBuilder: removed templatized method 
Packit 8c9aa0
    addTestCallerForException(). See implementation of 
Packit 8c9aa0
    CPPUNIT_TEST_EXCEPTION implementation for an alternative.
Packit 8c9aa0
  - TestAssert: removed deprecated functions (those not using SourceLine) 
Packit 8c9aa0
    assertImplementation(), assertNotEqualImplementation(), 
Packit 8c9aa0
    assertEquals(). Moved non deprecated functions assertEquals() and
Packit 8c9aa0
    assertEquals() into CppUnit namespace.
Packit 8c9aa0
  - Plug-ins 'Parameters' typedef has been replaced by class 
Packit 8c9aa0
    PlugInParameters. The method commandLine() returns what used to be in
Packit 8c9aa0
    Parameters[0]. This should avoid future compatibility break when the 
Packit 8c9aa0
    parameters passing API will be defined.
Packit 8c9aa0
  - TestPlugIn::initialize() now takes a PlugInParameters in argument 
Packit 8c9aa0
    instead of a Parameters.
Packit 8c9aa0
  - template <class T> void assertEquals() no longer has a default message 
Packit 8c9aa0
    value (no impact, unless you used this function directly instead of
Packit 8c9aa0
    assertion macros).
Packit 8c9aa0
  - HelperMacros: renamed CPPUNIT_TEST_ADD to 
Packit 8c9aa0
    CPPUNIT_TEST_SUITE_ADD_TEST.
Packit 8c9aa0
  - HelperMacros: removed CPPUNIT_TEST_CUSTOM. Instead use 
Packit 8c9aa0
    CPPUNIT_TEST_SUITE_ADD_CUSTOM_TESTS and call context.addTest() 
Packit 8c9aa0
    passing the test that was returned.
Packit 8c9aa0
  - HelperMacros: renamed CPPUNIT_TEST_CUSTOMS to 
Packit 8c9aa0
    CPPUNIT_TEST_SUITE_ADD_CUSTOM_TESTS. Changed method signature to
Packit 8c9aa0
    static void aMethodName( TestSuiteBuilderContextType &context ).
Packit 8c9aa0
    You can replace the 3 previous parameters by context. (See 
Packit 8c9aa0
    documentation for further detail).
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.9.8:
Packit 8c9aa0
  ---------------------
Packit 8c9aa0
Packit 8c9aa0
  - New custom test macros for fixture suite
Packit 8c9aa0
  - Exception message are now structured
Packit 8c9aa0
  - Added detail field to MFC TestRunner
Packit 8c9aa0
  - New XmlDocument class to easily create new XML output format
Packit 8c9aa0
  - XmlOutputter customization
Packit 8c9aa0
  - Test plug-in XMLOutputter hook
Packit 8c9aa0
  - ClockerPlugIn example includes test time in XML output
Packit 8c9aa0
  - DllPlugInTester allows test plug-in to hook the XmlOutputter
Packit 8c9aa0
  - Configurable CompilerOutputter wrapping
Packit 8c9aa0
Packit 8c9aa0
* New custom test macros
Packit 8c9aa0
Packit 8c9aa0
  - 3 new macros have been added for use when declaring test fixture suite:
Packit 8c9aa0
    - CPPUNIT_TEST_CUSTOM : to specify a method that returns an instance of 
Packit 8c9aa0
      Test to add to the suite
Packit 8c9aa0
    - CPPUNIT_TEST_CUSTOM : to specify a method that add some tests to the 
Packit 8c9aa0
      suite
Packit 8c9aa0
    - CPPUNIT_TEST_ADD : to add a test to the suite. Used this to create custom 
Packit 8c9aa0
      CPPUNIT_TEST_xxx macros.
Packit 8c9aa0
Packit 8c9aa0
    See macros documentation for examples and details.
Packit 8c9aa0
Packit 8c9aa0
* Exception message
Packit 8c9aa0
Packit 8c9aa0
  - Exception message are now stored in a Message object instead of a string.
Packit 8c9aa0
    A message is composed of two items:
Packit 8c9aa0
    - a short description (~20/30 characters)
Packit 8c9aa0
    - a list of detail strings
Packit 8c9aa0
Packit 8c9aa0
    The short description is used to indicate how the detail strings should be
Packit 8c9aa0
    interpreted. It usually indicates the failure types, such as
Packit 8c9aa0
    "assertion failed", "forced failure", "unexpected exception caught",
Packit 8c9aa0
    "equality assertion failed"... It should not contains new line characters 
Packit 8c9aa0
    (\n).
Packit 8c9aa0
Packit 8c9aa0
    Detail strings are used to provide more information about the failure. It
Packit 8c9aa0
    can contains the asserted expression, the expected and actual values in an
Packit 8c9aa0
    equality assertion, some addional messages... Detail strings can contains
Packit 8c9aa0
    new line characters (\n).
Packit 8c9aa0
Packit 8c9aa0
    This change allow ouputters to deal with all failure the same way (there is
Packit 8c9aa0
    no special case for the equality assertion any more).
Packit 8c9aa0
Packit 8c9aa0
* New XmlDocument class to easily create new XML output format
Packit 8c9aa0
Packit 8c9aa0
  - Classes XmlDocument and XmlElement where extracted from XmlOutputter. This
Packit 8c9aa0
    help writing outputters that use a completly different XML format.
Packit 8c9aa0
Packit 8c9aa0
  - XmlDocument represents a XML file, and XmlElement represents a XML element.
Packit 8c9aa0
Packit 8c9aa0
* XmlOutputter customization
Packit 8c9aa0
Packit 8c9aa0
  - Xml output can be customized using XmlOutputterHook. To do so, subclass
Packit 8c9aa0
    XmlOutputterHook and register it to the XmlOutputter with addHook() before
Packit 8c9aa0
    call XmlOutputter::write().
Packit 8c9aa0
Packit 8c9aa0
    Hook can be used to add some datas to the XmlDocument or the XmlElement of
Packit 8c9aa0
    a specific hook. Methods have been added to XmlElement to help navigating
Packit 8c9aa0
    and modifying the XmlDocument.
Packit 8c9aa0
Packit 8c9aa0
    See ClockerPlugIn example.
Packit 8c9aa0
Packit 8c9aa0
* MFC TestRunner
Packit 8c9aa0
Packit 8c9aa0
  - The name of the test is displayed just before being run.
Packit 8c9aa0
  - Browse Test Hierarchy dialog is resizable.
Packit 8c9aa0
  - Better (and cleaner) handling of windows resizing
Packit 8c9aa0
  - Failure list now only show the short description of the failure.
Packit 8c9aa0
  - Edit field added to display the details of the selected failure.
Packit 8c9aa0
Packit 8c9aa0
* MFC test plug-in runner (TestPlugInRunner):
Packit 8c9aa0
  
Packit 8c9aa0
  - command line: a dll name can be specified on the command after -testsuite:
Packit 8c9aa0
    example: TestPlugInRunnerd.exe -testsuite Simpled.dll
Packit 8c9aa0
Packit 8c9aa0
  - Layout configuration is stored/restored.
Packit 8c9aa0
Packit 8c9aa0
* Test plug-in XML output Hook
Packit 8c9aa0
Packit 8c9aa0
  - TestPlugIn interface provides a mean for plug-in to register hook for
Packit 8c9aa0
    XML output. Practically, this allow plug-in to add specific data to the
Packit 8c9aa0
    output. See ClockerPlugIn example, which add timing datas to the xml
Packit 8c9aa0
    output.
Packit 8c9aa0
Packit 8c9aa0
* DllPlugInTester:
Packit 8c9aa0
Packit 8c9aa0
  - added option -w / --wait to wait for the user to press a key before exiting.
Packit 8c9aa0
Packit 8c9aa0
  - plug-in can now provides XmlOutputterHook to add specific datas to the 
Packit 8c9aa0
    XML ouput. See ClockerPlugIn example.
Packit 8c9aa0
Packit 8c9aa0
* CompilerOutputter wrapping is parametrized
Packit 8c9aa0
Packit 8c9aa0
  - Wrap column can be set with setWrapColumn(). Default is now 79 instead of 80.
Packit 8c9aa0
Packit 8c9aa0
  - Wrapping can be disabled with setNoWrap().
Packit 8c9aa0
Packit 8c9aa0
* Examples:
Packit 8c9aa0
Packit 8c9aa0
  - ClockerPlugIn: the example now use the new XmlOutputterHook. Test time are
Packit 8c9aa0
    now included in the XML output. See examples/ClockerPlugIn/ReadMe.txt for
Packit 8c9aa0
    details.
Packit 8c9aa0
Packit 8c9aa0
* Bug Fix:
Packit 8c9aa0
Packit 8c9aa0
  - CompilerOutputter: fixed wrapping issues (UT magic!)
Packit 8c9aa0
Packit 8c9aa0
  - DllPlugInTester: use ISO-LATIN1 encoding if none is given. Flag --xsl was
Packit 8c9aa0
    ignored.
Packit 8c9aa0
Packit 8c9aa0
  - MfcUi plug-in runner (TesTPlugInRunner): better handling of history when
Packit 8c9aa0
    loading and reloading a dll. 
Packit 8c9aa0
Packit 8c9aa0
  - Qt Test Runner: minor bug fixes. Should compile on Unix.
Packit 8c9aa0
Packit 8c9aa0
  - XmlOutputter: use the default encoding if an empty string is given as
Packit 8c9aa0
    encoding
Packit 8c9aa0
Packit 8c9aa0
* Compatibility Break:
Packit 8c9aa0
Packit 8c9aa0
  - CompilerOutputter: removed printNotEqualMessage() and printDefaultMessage().
Packit 8c9aa0
    No longer needed since Exception message are processed in a generic way.
Packit 8c9aa0
    Removed wrap(). Extracted to StringTools.
Packit 8c9aa0
Packit 8c9aa0
  - Exception constructor takes a Message instead of a string. Notes that the
Packit 8c9aa0
    first argument in Message constructor is a short description, not the message.
Packit 8c9aa0
    Therefore, the change will usualy have the following form:
Packit 8c9aa0
      Exception( Message( "assertion failed", oldMessage ) );
Packit 8c9aa0
    You may want to use Asserter functions instead of constructing and throwing
Packit 8c9aa0
    the exception manually.
Packit 8c9aa0
Packit 8c9aa0
  - TestPlugInAdapter: renamed TestPlugInDefaultImpl.
Packit 8c9aa0
Packit 8c9aa0
  - TestSuiteBuilder: removed default constructor. All remaining constructors
Packit 8c9aa0
    take an additional argument of type TestNamer used to specify the fixture
Packit 8c9aa0
    named and generate test case name. Remove template method 
Packit 8c9aa0
    addTestCallerForException(). Use addTest() instead (see 
Packit 8c9aa0
    CPPUNIT_TEST_EXCEPTION implementation).
Packit 8c9aa0
Packit 8c9aa0
  - TextTestResult: most printing method were removed. This task is now delegated
Packit 8c9aa0
    to TextOuputter.
Packit 8c9aa0
Packit 8c9aa0
  - XmlElement: renamed addNode() to addElement().
Packit 8c9aa0
Packit 8c9aa0
  - XmlOutputter: removed methods writeProlog() and writeTestResult() which
Packit 8c9aa0
    are replaced by XmlDocument. Renamed makeRootNode() to setRootNode(). It
Packit 8c9aa0
    no longer returns the root node, but set the root node of the XML document.
Packit 8c9aa0
Packit 8c9aa0
  - XmlOuputter::Node: class has been extracted and renamed XmlElement.
Packit 8c9aa0
Packit 8c9aa0
* Deprecated:
Packit 8c9aa0
Packit 8c9aa0
  - Asserter: all functions that use a string for the failure message. Construct
Packit 8c9aa0
    a Message instead (see Exception constructor compatiblity break and
Packit 8c9aa0
    Exception message feature).
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.9.6:
Packit 8c9aa0
  ---------------------
Packit 8c9aa0
Packit 8c9aa0
  - DllPlugInTester can be parametrized from command line
Packit 8c9aa0
  - Two test listener plug-in examples
Packit 8c9aa0
  - An 'hello world' example & getting started document : Money
Packit 8c9aa0
  - Contribution: generic makefile for Borland 5.5 free compiler.
Packit 8c9aa0
  - Bug fixes
Packit 8c9aa0
Packit 8c9aa0
* DllPlugInTester:
Packit 8c9aa0
Packit 8c9aa0
  - Advanced command line to support miscellaneous listener outputer.
Packit 8c9aa0
    Parameters can now be passed to test plug-in:
Packit 8c9aa0
Packit 8c9aa0
    -c --compiler
Packit 8c9aa0
      Use CompilerOutputter
Packit 8c9aa0
    -x --xml [filename]
Packit 8c9aa0
      Use XmlOutputter (if filename is omitted, then output to cout or
Packit 8c9aa0
      cerr.
Packit 8c9aa0
    -s --xsl stylesheet
Packit 8c9aa0
      XML style sheet for XML Outputter
Packit 8c9aa0
    -e --encoding encoding
Packit 8c9aa0
      XML file encoding (UTF8, shift_jis, ISO-8859-1...)
Packit 8c9aa0
    -b --brief-progress
Packit 8c9aa0
      Use BriefTestProgressListener (default is TextTestProgressListener)
Packit 8c9aa0
    -n --no-progress
Packit 8c9aa0
      Show no test progress (disable default TextTestProgressListener)
Packit 8c9aa0
    -t --text
Packit 8c9aa0
      Use TextOutputter
Packit 8c9aa0
    -o --cout
Packit 8c9aa0
      Ouputters output to cout instead of the default cerr.
Packit 8c9aa0
    filename[="options"]
Packit 8c9aa0
      Many filenames can be specified. They are the name of the 
Packit 8c9aa0
      test plug-ins to load. Optional plug-ins parameters can be 
Packit 8c9aa0
      specified after the filename by adding '='.
Packit 8c9aa0
    [:testpath]
Packit 8c9aa0
      Optional. Only one test path can be specified. It must 
Packit 8c9aa0
      be prefixed with ':'. See TestPath constructor for syntax.
Packit 8c9aa0
Packit 8c9aa0
    'parameters' (test plug-in or XML filename, test path...) may contains 
Packit 8c9aa0
    spaces if double quoted. Quote may be escaped with \".
Packit 8c9aa0
Packit 8c9aa0
    Some examples of command lines:
Packit 8c9aa0
DllPlugInTesterd_dll.exe -b -x tests.xml -c simple_plugind.dll CppUnitTestPlugInd.dll
Packit 8c9aa0
    Will load 2 tests plug-ins (available in lib/), use the brief test
Packit 8c9aa0
    progress, output the result in XML in file tests.xml and also
Packit 8c9aa0
    output the result using the compiler outputter.
Packit 8c9aa0
Packit 8c9aa0
DllPlugInTesterd_dll.exe ClockerPlugInd.dll="flat" -n CppUnitTestPlugInd.dll
Packit 8c9aa0
    Will load the 2 test plug-ins, and pass the parameter string "flat"
Packit 8c9aa0
    to the Clocker plug-in, disable test progress. Clocker being a test
Packit 8c9aa0
    listener plug-ins (it doesn't implements any tests, it just register
Packit 8c9aa0
    a TestListener), this is equivalent to say 'run all the test
Packit 8c9aa0
    of CppUnitTestPlugIn and use ClockerPlugIn as a TestLisener'.
Packit 8c9aa0
Packit 8c9aa0
DllPlugInTesterd_dll.exe CppUnitTestPlugInd.dll :Core
Packit 8c9aa0
    Will run the test named "Core" (a suite in the present case ) of the 
Packit 8c9aa0
    test plug-in.
Packit 8c9aa0
Packit 8c9aa0
* Documentation
Packit 8c9aa0
Packit 8c9aa0
  - New getting started documentation. Not completed yet, but probably
Packit 8c9aa0
    a good complement to the current cookbook. Explore the creation
Packit 8c9aa0
    of the Money example.
Packit 8c9aa0
Packit 8c9aa0
* Examples
Packit 8c9aa0
Packit 8c9aa0
  - Money (examples/Money): the 'hello world' example. Unit tests for 
Packit 8c9aa0
    a simple Money class.
Packit 8c9aa0
Packit 8c9aa0
  - DllPlugInTesterTest (src/DllPlugInTester/DllPlugInTester.dsp):
Packit 8c9aa0
    unit tests for CommandLineParser. Not really an example, but only
Packit 8c9aa0
    slightly more complex than Money.
Packit 8c9aa0
Packit 8c9aa0
  - ClockerPlugIn (examples/ClockerPlugIn): a test listener plug-in 
Packit 8c9aa0
    that track tests and test suites running time. Parameter: "flat" 
Packit 8c9aa0
    for a reporting with a flattened tree.
Packit 8c9aa0
Packit 8c9aa0
  - DumperPlugIn (examples/DumperPlugIn): a test listener plug-in that 
Packit 8c9aa0
    dump the test tree as it run. Paramater: "flat" for a reporting 
Packit 8c9aa0
    with a flattened tree.
Packit 8c9aa0
Packit 8c9aa0
  - CppUnitTestPlugIn (examples/cppunitest/CppUnitTestPlugIn.dsp):
Packit 8c9aa0
    CppUnit's test suite as a test plug-in.
Packit 8c9aa0
Packit 8c9aa0
* Contribution
Packit 8c9aa0
Packit 8c9aa0
  - Contributed by project cuppa team (http://sourceforge.jp/projects/cuppa/):
Packit 8c9aa0
Packit 8c9aa0
  - Makefile for CppUnit with Borland C++ 5.5 free compiler: does not
Packit 8c9aa0
    depend on a specific CppUnit version.
Packit 8c9aa0
Packit 8c9aa0
* Compatiblity breaks
Packit 8c9aa0
Packit 8c9aa0
  - DllPlugInTester: (1.9.4 only), should add -c to DllPlugInTester 
Packit 8c9aa0
    command line.
Packit 8c9aa0
Packit 8c9aa0
* Bug Fix:
Packit 8c9aa0
Packit 8c9aa0
  - DynamicLibaryManager did not report the library name when loading a
Packit 8c9aa0
    a library.
Packit 8c9aa0
Packit 8c9aa0
  - BeosDynamicLibraryManager: fixed thanks to Shibu Yoshiki 
Packit 8c9aa0
    ('cuppa' project team).
Packit 8c9aa0
Packit 8c9aa0
  - Broken build on Unix should be fixed for most (thanks to 
Packit 8c9aa0
    Jeffrey Morgan).
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.9.4:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
  - More versatile, easier to make test plug-in.
Packit 8c9aa0
  - A PlugInManager to manage multiple test plug-ins.
Packit 8c9aa0
  - Crossplatform test plug-in runner.
Packit 8c9aa0
  - Crossplatform test plug-in example.
Packit 8c9aa0
  - A brief progress listener 
Packit 8c9aa0
  - Easier test hierarchy creation
Packit 8c9aa0
  - Improved documentation.
Packit 8c9aa0
  - Tracking of test run start/end.
Packit 8c9aa0
  - Contribution: XML style sheet & borland 5.5 makefile.
Packit 8c9aa0
  - Help needed on the Unix side!
Packit 8c9aa0
Packit 8c9aa0
* Buildling on Unix:
Packit 8c9aa0
Packit 8c9aa0
  - I did not get any feed back on the previous build issue on Unix. Using
Packit 8c9aa0
    a simple autobook example was useless to try to solve the problem. Here
Packit 8c9aa0
  is the issue:
Packit 8c9aa0
Packit 8c9aa0
  CppUnit library build fine, it is the example I'm having trouble with.
Packit 8c9aa0
Packit 8c9aa0
  Since the test plug-in have been added, CppUnit use the function
Packit 8c9aa0
  dlopen(), dlsym() and dlclose() on unix to load/unload the plug-in.
Packit 8c9aa0
Packit 8c9aa0
  Those functions apparently requires to link another library when
Packit 8c9aa0
  building an exectuable. Here is was should be done:
Packit 8c9aa0
  - linking against the said library for each example.
Packit 8c9aa0
  - generates the shared library for the examples/simple/simple_plugin 
Packit 8c9aa0
    example (source files are ExampleTestCase.cpp, ExampleTestCase.cpp 
Packit 8c9aa0
    and SimplePlugIn.cpp).
Packit 8c9aa0
  - if possible, makes the above optionnal if --disable-test-plug-in 
Packit 8c9aa0
    is defined:
Packit 8c9aa0
    - don't link the dlXXX library 
Packit 8c9aa0
    - don't compile the plug-in example
Packit 8c9aa0
    - add #define CPPUNIT_NO_TESTPLUGIN 1 to the config file
Packit 8c9aa0
Packit 8c9aa0
  Contact me on the mailing-list for more details.
Packit 8c9aa0
Packit 8c9aa0
* TestPlugIn:
Packit 8c9aa0
Packit 8c9aa0
  - A simple fact I realised while testing: if you link your test plug-in 
Packit 8c9aa0
    against the DLL version of cppunit (or shared library on Unix), then
Packit 8c9aa0
  test registered to the TestFactoryRegistry (it is what's hide behind
Packit 8c9aa0
  CPPUNIT_TEST_SUITE_REGISTRATION) are automatically shared. Changes
Packit 8c9aa0
  have been made to support that usage (CppUnit was crashing badly).
Packit 8c9aa0
  Using the TestFactoryRegistry provides much more flexiblity that
Packit 8c9aa0
  providing a single suite for the plug-in. As such:
Packit 8c9aa0
Packit 8c9aa0
  - CppUnit plug-in should be linked against the dll version of CppUnit library.
Packit 8c9aa0
Packit 8c9aa0
  - Plug-in should register their tests using the CPPUNIT_TEST_SUITE_xxx macros.
Packit 8c9aa0
Packit 8c9aa0
  - 'homemade' suite can still be registred to the TestFactoryRegistry that is
Packit 8c9aa0
     passed as parameter on plug-in initialization. Notes that you must 
Packit 8c9aa0
   unregister those suites during plug-in uninitialization, otherwise on
Packit 8c9aa0
   destruction, the TestFactoryRegistry will attempt to destroy them... Your
Packit 8c9aa0
   plug-in would have been already unloaded...
Packit 8c9aa0
Packit 8c9aa0
  - Plug-in can accept parameters on initialization (notes that the Parameters
Packit 8c9aa0
    object is far from being stabilized, but whatever form it takes, it will be
Packit 8c9aa0
  a list of string).
Packit 8c9aa0
    
Packit 8c9aa0
  - Plug-in can register their one listener for a test run. This means that you
Packit 8c9aa0
    can extends 'DllPlugInTester' by creating test plug-in... This also means
Packit 8c9aa0
  than you can listen to startTestRun()/endTestRun() to do some global
Packit 8c9aa0
  setUp/tearDown (to initialize globales resources, such as COM...)
Packit 8c9aa0
Packit 8c9aa0
  - Why all this fuss around test plug-in ? Test plug-in are the incarnation of
Packit 8c9aa0
    an old concept: testable components...
Packit 8c9aa0
Packit 8c9aa0
* PlugInManager:
Packit 8c9aa0
Packit 8c9aa0
  - The PlugInManager is used to load/unload plug-ins. It takes care of all
Packit 8c9aa0
    the 'plug-in' protocol and makes it easy to use multiple plug-ins at the
Packit 8c9aa0
  same time. It dispatches the addListener()/removeListener() message to
Packit 8c9aa0
  each plug-in.
Packit 8c9aa0
Packit 8c9aa0
* Crossplatform test plug-in runner (src/DllPlugInRunner):
Packit 8c9aa0
Packit 8c9aa0
  - This application can be used to run your test plug-ins. It can load
Packit 8c9aa0
    multiple test plug-ins and run all or a specific test in the test
Packit 8c9aa0
  hierarchy returned by TestFactoryRegistry::getRegistry().makeTest().
Packit 8c9aa0
Packit 8c9aa0
  - Plug-in loaded by the plug-in may also be custom TestListener.
Packit 8c9aa0
Packit 8c9aa0
  - It can be use for post-build check and to debug the plug-in.
Packit 8c9aa0
Packit 8c9aa0
  - Why use it? It keep you away from CppUnit API changes!
Packit 8c9aa0
Packit 8c9aa0
* Easier test hierarchy creation (TestFactoryRegistry/HelperMacros):
Packit 8c9aa0
Packit 8c9aa0
  - added method addRegistry(name) to add a named registry to the registry.
Packit 8c9aa0
    see TestFactoryRegistry for an example of use.
Packit 8c9aa0
Packit 8c9aa0
  - added macros CPPUNIT_REGISTRY_ADD( which, to ) and 
Packit 8c9aa0
    CPPUNIT_REGISTRY_ADD_TO_DEFAULT( which ) to create test hierarchy at static
Packit 8c9aa0
  initialization (in the spirit of CPPUNIT_TEST_SUITE_xxx() macros).
Packit 8c9aa0
Packit 8c9aa0
* VerboseTestProgressListener:
Packit 8c9aa0
Packit 8c9aa0
  - A new TestListener that prints the test name before running it. Most useful when
Packit 8c9aa0
    a test crashing, mean a application crash.
Packit 8c9aa0
Packit 8c9aa0
* Documentation:
Packit 8c9aa0
Packit 8c9aa0
  - More details about the test plug-in, how to use it, how does it works...
Packit 8c9aa0
    See module/Writing Test Plug-in.
Packit 8c9aa0
Packit 8c9aa0
* Examples:
Packit 8c9aa0
Packit 8c9aa0
  - examAdded crossplatform simple example. Equivalent to VC++ HostApp example.
Packit 8c9aa0
  - examples/simple: a very simple example, demonstrating the use of CppUnit
Packit 8c9aa0
    with a single TestFixture. Demonstrate both how to build an application
Packit 8c9aa0
  using TestRunner, and how to build a test plug-in to use with the
Packit 8c9aa0
  test plug-in runner.
Packit 8c9aa0
Packit 8c9aa0
* Contribution
Packit 8c9aa0
Packit 8c9aa0
  - Contributed by project cuppa team (http://sourceforge.jp/projects/cuppa/):
Packit 8c9aa0
Packit 8c9aa0
  - XML style sheet: transform CppUnit XML output into HTML.
Packit 8c9aa0
  - Makefile for CppUnit with Borland C++ 5.5 free compiler.
Packit 8c9aa0
Packit 8c9aa0
* Behavior changes:
Packit 8c9aa0
Packit 8c9aa0
  - Test runner should call TestResult::runTest() to run the 'top level' test. This
Packit 8c9aa0
    will inform the TestListener of the test run start/end.
Packit 8c9aa0
Packit 8c9aa0
* Compatiblity break:
Packit 8c9aa0
Packit 8c9aa0
  - TestFactoryRegistry don't own register test anymore. AutoRegisterSuite has
Packit 8c9aa0
    been updated to preverse its apparent behavior. It should be of concern
Packit 8c9aa0
  if you created and registered custom TestFactory.
Packit 8c9aa0
Packit 8c9aa0
  - Removed TextTestProgressListener::done(). No longer needed, it listens
Packit 8c9aa0
    for endTestRun().
Packit 8c9aa0
Packit 8c9aa0
* Compatiblity Break for 1.9.2 users:
Packit 8c9aa0
Packit 8c9aa0
  - TestPlugIn.h: CppUnitTestPlugIn as been completly rewritten.
Packit 8c9aa0
Packit 8c9aa0
  - TestPlugIn.h: macro CPPUNIT_PLUGIN_IMPLEMENT() don't take any arguments.
Packit 8c9aa0
Packit 8c9aa0
  - TestSuitePlugIn: removed. A similar functionnality is provided by 
Packit 8c9aa0
    PlugInManager.
Packit 8c9aa0
Packit 8c9aa0
  - TestPlugInDefaultImpl: renamed TestPlugInAdapter. It does not implements
Packit 8c9aa0
    any default behavior anymore.
Packit 8c9aa0
Packit 8c9aa0
  - DllPlugInRunner: no longer support multiple specific tests. The test path must
Packit 8c9aa0
    be prefixed with ':'. Release and Debug configuration links against cppunit_dll.
Packit 8c9aa0
Packit 8c9aa0
* Bug Fix:
Packit 8c9aa0
Packit 8c9aa0
  - Crash when linking CppUnit DLL within another DLL that registered test. Caused
Packit 8c9aa0
    by the destruction of tests registered to TestFactoryRegistry. Fixed by
Packit 8c9aa0
  providing a register/unregister interface and removing the ownership of 
Packit 8c9aa0
  TestFactory to TestFactoryRegistry.
Packit 8c9aa0
 
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.9.2:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
  In short:
Packit 8c9aa0
  - Cleaner XML output
Packit 8c9aa0
  - Crossplatform Test plug-in
Packit 8c9aa0
  - TestPlugInSuite to wrap test plug-in
Packit 8c9aa0
  - More TestPlugIn documentation.
Packit 8c9aa0
Packit 8c9aa0
* TestPlugIn:
Packit 8c9aa0
  - The test plug-in functionnality has been rewritten from scrash. 
Packit 8c9aa0
    TestPlugIn related macro are now crossplatform (exporting the plug-in
Packit 8c9aa0
  function from the dynamic library...).
Packit 8c9aa0
Packit 8c9aa0
  - Class DynamicLibraryManager provides a generic way to access dynamic 
Packit 8c9aa0
    library. Platform specific implementation provided for WIN32, unix, BeOs.
Packit 8c9aa0
  Can be very easily ported to new platform.
Packit 8c9aa0
  
Packit 8c9aa0
  - A More flexible and hopefully extensible interface has been introduced
Packit 8c9aa0
    (CppUnitPlugIn). 
Packit 8c9aa0
  
Packit 8c9aa0
  - A default implementation using the test factory registry is provided 
Packit 8c9aa0
    (TestPlugInDefaultImpl). Can be easily customized.
Packit 8c9aa0
Packit 8c9aa0
  - The one line test plug-in declaration was renamed CPPUNIT_PLUGIN_IMPLEMENT.
Packit 8c9aa0
Packit 8c9aa0
  See modules/Writing Test Plug-in documentation and examples/EasyTestPlugIn.
Packit 8c9aa0
Packit 8c9aa0
* XmlOutputter:
Packit 8c9aa0
Packit 8c9aa0
  - XML output is now indented. Nodes that don't have children are one line 
Packit 8c9aa0
    tag. The output can now easily be read.
Packit 8c9aa0
Packit 8c9aa0
* Compatibility break:
Packit 8c9aa0
Packit 8c9aa0
  - class TestSucessListener was renamed to TestSuccessListener.
Packit 8c9aa0
Packit 8c9aa0
  - XmlOutput: renamed tag <SuccessfulTests> to <SuccessfulTests>
Packit 8c9aa0
Packit 8c9aa0
  - Global fix of the 'success' typo (was misspelled 'sucess'). Main impacts are listed
Packit 8c9aa0
    above, but check your own code in case you override some protected/private methods.
Packit 8c9aa0
Packit 8c9aa0
  - TestPlugInInterface (include/msvc6/TestPlugInInterface.h): this header and class
Packit 8c9aa0
    are now obsolete. You should use include/cppunit/plugin/TestPlugIn.h instead.
Packit 8c9aa0
  Macro CPPUNIT_TESTPLUGIN_IMPL have been replaced by CPPUNIT_PLUGIN_IMPLEMENT.
Packit 8c9aa0
Packit 8c9aa0
  - TestDecorator inherits Test instead of TestLeaf.
Packit 8c9aa0
Packit 8c9aa0
  - DllPlugInTester only run DLL implementing the new new TestPlugIn interface.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.9.0:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
  In short:
Packit 8c9aa0
  - Exploration of the test hierarchy without RTTI support
Packit 8c9aa0
  - Utility methods to find a test in the hierarchy
Packit 8c9aa0
  - TestPath to store/load the path to a specific test in the hierarchy
Packit 8c9aa0
  - Generic TestRunner
Packit 8c9aa0
  - Style sheet support added to XML ouput.
Packit 8c9aa0
  - CompilerOutputter supports run-time parametrization of error location format.
Packit 8c9aa0
  - Tracking of test suite run.
Packit 8c9aa0
  - Debugging and post-build testing of DLL using DllPlugInTester.
Packit 8c9aa0
  - Easy creation a test plug-in and test plug-in new example
Packit 8c9aa0
Packit 8c9aa0
* Test:
Packit 8c9aa0
Packit 8c9aa0
  - Exploration of the test hierarchy without RTTI support:
Packit 8c9aa0
    Added Test::getChildTestCount() and Test::getChildTestAt() to walk the test hierarchy
Packit 8c9aa0
  without RTTI.
Packit 8c9aa0
Packit 8c9aa0
  - Utility methods to find a test in the hierarchy:
Packit 8c9aa0
  Added Test::findTest(), Test::findTestPath() and Test::resolveTestPath().
Packit 8c9aa0
Packit 8c9aa0
* TestPath:
Packit 8c9aa0
Packit 8c9aa0
  - A new class that store the path to a specific test (list of pointer). Can be
Packit 8c9aa0
    converted into a string and constructed from a string. Typically used with 
Packit 8c9aa0
  TestRunner.
Packit 8c9aa0
Packit 8c9aa0
* TestListener:
Packit 8c9aa0
Packit 8c9aa0
  - Added startSuite() and endSuite() callback that are called before and after a
Packit 8c9aa0
    test suite runs its child tests. See TestListener for detail and new example.
Packit 8c9aa0
Packit 8c9aa0
* CompilerOutputter:
Packit 8c9aa0
Packit 8c9aa0
  - Support run-time parametrization of compiler error format. Support for gcc error
Packit 8c9aa0
    format added. See CompilerOutputter::setLocationFormat().
Packit 8c9aa0
Packit 8c9aa0
* XmlOutputter:
Packit 8c9aa0
Packit 8c9aa0
  - Added style sheet support.
Packit 8c9aa0
Packit 8c9aa0
  - XML structure change (see Compatibility break)
Packit 8c9aa0
Packit 8c9aa0
* DllPlugInTester: (src/msvc6/DllPlugInTester, in src/CppUnitLibraries.dsw)
Packit 8c9aa0
Packit 8c9aa0
  - An application to load a DLL test plug-in and run the specified test. Test
Packit 8c9aa0
    result are reported using a CompilerOutputter. It can be used for post-build
Packit 8c9aa0
  testing, but to debug DLL too! See examples/msvc6/TestPlugIn/TestPlugIn.dsp
Packit 8c9aa0
  which demonstrate both.
Packit 8c9aa0
Packit 8c9aa0
* TestPlugInInterface (include/msvc6/TestPlugInInterface.h):
Packit 8c9aa0
Packit 8c9aa0
  - Easy creation a test plug-in with the new macro CPPUNIT_TESTPLUGIN_IMPL
Packit 8c9aa0
    that implements and exports everything for you. 
Packit 8c9aa0
  See examples/msvc6/EasyTestPlugIn for an example.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* Compatibility break:
Packit 8c9aa0
Packit 8c9aa0
  - Test::toString() has been removed. Applies to all subclass of Test. 
Packit 8c9aa0
    It was not used by the framework and was source of confusion with getName().
Packit 8c9aa0
Packit 8c9aa0
  - TestCase::run(void) and TestCase::defaultResult() have been removed. Using the
Packit 8c9aa0
    run() method with a TestResult instead.
Packit 8c9aa0
Packit 8c9aa0
  - XmlOutput: added a message element to the XML structure. The message associated
Packit 8c9aa0
    to a failure is now in the content of <Message> element instead of in the content
Packit 8c9aa0
  of the <FailedTest> element.
Packit 8c9aa0
  Changed from:
Packit 8c9aa0
        <FailedTest id="6">
Packit 8c9aa0
          <Name>test6</Name>
Packit 8c9aa0
          <FailureType>Error</FailureType>
Packit 8c9aa0
          error2
Packit 8c9aa0
        </FailedTest>
Packit 8c9aa0
  To:
Packit 8c9aa0
        <FailedTest id="6">
Packit 8c9aa0
          <Name>test6</Name>
Packit 8c9aa0
          <FailureType>Error</FailureType>
Packit 8c9aa0
          <Message>error2</Message>
Packit 8c9aa0
        </FailedTest>
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* Deprecated:
Packit 8c9aa0
Packit 8c9aa0
  - CompilerOutputter::defaultOutputter(): use default constructor instead.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* Bug fix:
Packit 8c9aa0
Packit 8c9aa0
  - XmlOutputter: did not escape content (bug #540944).
Packit 8c9aa0
Packit 8c9aa0
  - Included qt/examples in distribution
Packit 8c9aa0
Packit 8c9aa0
  - Removed dependency of MfcTestRunner on DSPlugIn. It should now compile with
Packit 8c9aa0
    VC++ 7.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.8.0:
Packit 8c9aa0
  ----------------------
Packit 8c9aa0
Packit 8c9aa0
  In short:
Packit 8c9aa0
  - new assertions
Packit 8c9aa0
  - new facilities to write custom assertions
Packit 8c9aa0
  - new macros to define test case in your fixture
Packit 8c9aa0
  - registration of test fixture in named suite
Packit 8c9aa0
  - xml & compiler format test result output
Packit 8c9aa0
  - a new graphic test runner for the QT library
Packit 8c9aa0
  - MFC test runner window is resizable
Packit 8c9aa0
  - cppunit as a DLL
Packit 8c9aa0
  - Unicode support for MFC test runner.
Packit 8c9aa0
  - architecture clean-up: TestResultCollector extracted from TestResult.
Packit 8c9aa0
  - architecture clean-up: TestFixture extracted from TestCase.
Packit 8c9aa0
  - cookbook and documentation updated.
Packit 8c9aa0
Packit 8c9aa0
* New assertion (TestAssert.h):
Packit 8c9aa0
Packit 8c9aa0
  CPPUNIT_FAIL(message) : equivalent to CPPUNIT_ASSERT_MESSAGE( message, false )
Packit 8c9aa0
Packit 8c9aa0
  CPPUNIT_ASSERT_EQUAL_MESSAGE( expectedValue, actualValue, additionalMessage ):
Packit 8c9aa0
  behave like CPPUNIT_ASSERT_EQUAL but allow to add some contextual information.
Packit 8c9aa0
Packit 8c9aa0
* New macros to write test case (HelperMacros.h):
Packit 8c9aa0
Packit 8c9aa0
  CPPUNIT_TEST_EXCEPTION that expect an exception of a specified type to
Packit 8c9aa0
  be thrown.
Packit 8c9aa0
Packit 8c9aa0
  CPPUNIT_TEST_FAIL that expect a test to fail.
Packit 8c9aa0
Packit 8c9aa0
  CPPUNIT_TEST_SUITE_NAMED_REGISTRATION to register a suite in a named suite. See
Packit 8c9aa0
  cppunittest example for a demo.
Packit 8c9aa0
Packit 8c9aa0
* TextTestRunner (TextTestRunner.h):
Packit 8c9aa0
  -run() returns a boolean indicating is the run was successful.
Packit 8c9aa0
  -the constructor and setOutputter() allow you do define a specific outputter
Packit 8c9aa0
  to print the test result (CompilerOutputter, TextOutputter, XmlOutputter...)
Packit 8c9aa0
  -result() provide access to the result of the test run.
Packit 8c9aa0
  -eventManager() give access to the TestResult, allowing you to register others
Packit 8c9aa0
  TestListener.
Packit 8c9aa0
Packit 8c9aa0
* TestResult (TestResult.h):
Packit 8c9aa0
  - That class has been splitted in two: TestResult and TestResultCollector.
Packit 8c9aa0
Packit 8c9aa0
  - TestResult manages the TestListener (registration and event dispatch), as
Packit 8c9aa0
  well as the stop flag indicating if the current test run should be interrupted.
Packit 8c9aa0
  All other responsabilites have been moved to TestResultCollector.
Packit 8c9aa0
Packit 8c9aa0
  - TestResult no longer hold the result of the test run (this is done by
Packit 8c9aa0
  TestResultCollector which is a TestListener).
Packit 8c9aa0
Packit 8c9aa0
* TestListener (TestListener.h):
Packit 8c9aa0
  - all failures and errors are reported using a single method:
Packit 8c9aa0
    virtual void addFailure( const TestFailure &failure )
Packit 8c9aa0
  => the failure object life time is limited to that of the method call.
Packit 8c9aa0
  Use TestFailure::isError() to distinguish error from failure.
Packit 8c9aa0
  Use TestFailure::clone() to obtain a duplicate of the failure.
Packit 8c9aa0
Packit 8c9aa0
* New helpers to construct your own assertion (Asserter.h):
Packit 8c9aa0
Packit 8c9aa0
  It is now very easy to create your own assertion macro with failure
Packit 8c9aa0
  location.
Packit 8c9aa0
Packit 8c9aa0
  Asserter namespace contains functions used to construct and throw exception
Packit 8c9aa0
  to report failure. See Asserter documentation for an example of usage, and
Packit 8c9aa0
  examples/cppunittest/XmlUniformiser.h for a real life example.
Packit 8c9aa0
Packit 8c9aa0
  CPPUNIT_SOURCELINE() macro have been added (SourceLine.h). It captures the 
Packit 8c9aa0
  failure location in a SourceLine object. Use it to write your own macros.
Packit 8c9aa0
Packit 8c9aa0
  Asserter namespace contains functions used to construct and throw exception
Packit 8c9aa0
  to report failure. See Asserter documentation for an example of usage, and
Packit 8c9aa0
  examples/cppunittest/XmlUniformiser.h for a real life example.
Packit 8c9aa0
Packit 8c9aa0
* TestListener (TestListener.h):
Packit 8c9aa0
Packit 8c9aa0
  - TestSucesssListener : a simple listener that checks if a test has failed.
Packit 8c9aa0
Packit 8c9aa0
  - TestResultCollector : store all the test result. This class has been 
Packit 8c9aa0
  extracted from the hold TestResult class.
Packit 8c9aa0
Packit 8c9aa0
  - TextTestProgressListener : print dot on cout to each time a test ends.
Packit 8c9aa0
  Letter 'F' and 'E' are printed when a failure or an error occurs.
Packit 8c9aa0
Packit 8c9aa0
* Output (Outputter.h):
Packit 8c9aa0
Packit 8c9aa0
  - XML output: You can dump the TestResult as an XML document using 
Packit 8c9aa0
  XmlOutputter. See examples/cppunittest/XmlOutputterTest.cpp for document
Packit 8c9aa0
  structure and usage.
Packit 8c9aa0
Packit 8c9aa0
  - Compiler compatible output : CompilerOutputter print the result in a 
Packit 8c9aa0
  compiler compatible format. You can use your IDE to jump to the first 
Packit 8c9aa0
  failure. See examples/cppunittest/CppUniTestMain.cpp for an example of usage.
Packit 8c9aa0
Packit 8c9aa0
  - Text output : replace the deprecated TextTestResult. Print the result in
Packit 8c9aa0
  a human readable format.
Packit 8c9aa0
Packit 8c9aa0
* NotEqualException constructor take an additional message (usually used to
Packit 8c9aa0
point out where the difference occured between the expected and actual value)
Packit 8c9aa0
that can be retreived with additionalMessage(). See Asserter documentation for
Packit 8c9aa0
an example of usage.
Packit 8c9aa0
Packit 8c9aa0
* CppUnit
Packit 8c9aa0
Packit 8c9aa0
  - CppUnit can be compiled as a DLL (WIN32 platform). 
Packit 8c9aa0
  DLL can be generated by the cppunit_dll.dsp project. You must define the 
Packit 8c9aa0
  pre-processor symbol CPPUNIT_DLL when linking against CppUnit DLL.
Packit 8c9aa0
  See cppunittests examples for an example.
Packit 8c9aa0
Packit 8c9aa0
* TestRunner
Packit 8c9aa0
Packit 8c9aa0
  - Qt TestRunner : a test runner for the Qt library (http://www.trolltech.com).
Packit 8c9aa0
    See examples/qt for an example of use.
Packit 8c9aa0
Packit 8c9aa0
  - MFC TestRunner : the dialog can now be resized. List view column sizes, 
Packit 8c9aa0
  as well as the dialog size, are saved. Unicode configurations have been added.
Packit 8c9aa0
Packit 8c9aa0
* Deprecated
Packit 8c9aa0
Packit 8c9aa0
  - TextTestResult : use the test listener TextTestProgressListener and the
Packit 8c9aa0
  ouputter TextOuputter instead.
Packit 8c9aa0
Packit 8c9aa0
  - Methods having fileName, lineNumber as parameter. Usually replaced by
Packit 8c9aa0
  a similar method that take a SourceLine parameter. Exception and
Packit 8c9aa0
  TestAssert are impacted.
Packit 8c9aa0
Packit 8c9aa0
  - TestRegistryFactory::registerFactory( const std::string &name,
Packit 8c9aa0
                                          TestFactory *factory ).
Packit 8c9aa0
  
Packit 8c9aa0
    You must define the symbol CPPUNIT_ENABLE_SOURCELINE_DEPRECATED to enable
Packit 8c9aa0
  old Exception constructor, UNKNOWNFILENAME and UNKNOWNLINENUMBER, as well
Packit 8c9aa0
  as function defined in the TestAssert namespace. The exception construction
Packit 8c9aa0
  and throwing as been moved to Asserter namespace.
Packit 8c9aa0
Packit 8c9aa0
* Compatibility break:
Packit 8c9aa0
Packit 8c9aa0
  TestResult has been splitted in two class. TestResultCollector compatibility
Packit 8c9aa0
  breaks refer to the methods that were previously in TestResult.
Packit 8c9aa0
Packit 8c9aa0
  - TestListener::addError() was removed. addFailure() is used to report
Packit 8c9aa0
any kind of failure.
Packit 8c9aa0
  - TestResultCollector::errors() was removed. Use failures() instead.
Packit 8c9aa0
  - TestResultCollector::failures() now reports all kind of failures.
Packit 8c9aa0
  - TestResultCollector::failures() returns a const reference.
Packit 8c9aa0
  - void TestListener::addFailure( TestFailure *failure ) was removed.
Packit 8c9aa0
  - void TestListener::addError( TestFailure *failure ) signature changed.
Packit 8c9aa0
Packit 8c9aa0
  - CPPUNIT_ASSERT_EQUAL_MESSAGE: changed arguments order. 'message' is now 
Packit 8c9aa0
    the first argument instead of the last (like CPPUNIT_ASSERT_MESSAGE).
Packit 8c9aa0
  Notes that CPPUNIT_ASSERT_EQUAL was introduced in release 1.7.3.
Packit 8c9aa0
Packit 8c9aa0
  - directory for TestRunners as moved from cppunitui/ to cppunit/ui/ (concern
Packit 8c9aa0
  only users of release 1.7.10)
Packit 8c9aa0
Packit 8c9aa0
* Bug fix:
Packit 8c9aa0
  - test ExceptionTest.testAssignment() don't fail anymore on VC++. See FAQ
Packit 8c9aa0
    for detail.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.6.1
Packit 8c9aa0
  --------------------
Packit 8c9aa0
Packit 8c9aa0
* This is a bug-fixing release.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
  New in CppUnit 1.6.0
Packit 8c9aa0
  --------------------
Packit 8c9aa0
Packit 8c9aa0
* All CppUnit macros now begin with "CPPUNIT_".  
Packit 8c9aa0
Packit 8c9aa0
  Macros CU_TEST_SUITE, CU_TEST, CU_TEST_SUITE_END, CU_TEST_SUB_SUITE,
Packit 8c9aa0
  and CU_TEST_SUITE_REGISTRATION are renamed but are otherwise unchanged;
Packit 8c9aa0
  they take the same arguments, and have the same effect.  The old-style
Packit 8c9aa0
  macros can be used if your sources #define CPPUNIT_ENABLE_CU_TEST_MACROS
Packit 8c9aa0
  to 1 before including any CppUnit headers.
Packit 8c9aa0
Packit 8c9aa0
  Macros assert, assertEqual, and assertDoublesEqual, have been replaced
Packit 8c9aa0
  by CPPUNIT_ASSERT, CPPUNIT_ASSERT_EQUAL, and CPPUNIT_ASSERT_DOUBLES_EQUAL,
Packit 8c9aa0
  respectively.  Macro assertLongsEqual is replaced by CPPUNIT_ASSERT_EQUAL.
Packit 8c9aa0
  The old assert macros can be used if your sources #define
Packit 8c9aa0
  CPPUNIT_ENABLE_NAKED_ASSERT to 1 before including any CppUnit headers.
Packit 8c9aa0
Packit 8c9aa0
  The old macro names are deprecated and will vanish in a future version
Packit 8c9aa0
  of CppUnit.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* Equality assertion CPPUNIT_ASSERT_EQUAL(expected,actual) can test
Packit 8c9aa0
  any type of expression.  The types of "expected" and "actual" must
Packit 8c9aa0
  be the same; use a cast if necessary.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* Equality tested using CPPUNIT_ASSERT_EQUAL may be re-defined using
Packit 8c9aa0
  a traits class.  Ditto for the string representation used in the
Packit 8c9aa0
  diagnostic messages.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* New assertion with arbitrary message: CPPUNIT_ASSERT_MESSAGE.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* A test case obtained using class TestCaller may check that
Packit 8c9aa0
  a particular exception is thrown.
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* CppUnit has a test suite for itself!
Packit 8c9aa0
Packit 8c9aa0
Packit 8c9aa0
* VC++ integration for MFC TestRunner.
Packit 8c9aa0