Blame NEWS

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