summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* prepare a cppunit 1.13.3 releasecppunit-1-13Markus Mohrhard2017-06-081-1/+1
|
* prepare for 1.13.2 releaseMarkus Mohrhard2013-05-251-1/+1
|
* calm gcc paranoia about uninitialized stateMichael Meeks2012-06-271-0/+1
|
* avoid the need to work around auto_ptr warnings by dropping thatMichael Meeks2012-06-271-4/+13
|
* TestDecorator assumes ownership and is not allowed to create copiesMarkus Mohrhard2012-06-161-1/+8
|
* correct documentation, sf#2185407Markus Mohrhard2012-06-131-1/+1
|
* correct documentation, sf#2186611Markus Mohrhard2012-06-131-2/+2
| | | | std::vector::at() throws std::out_of_range and not std::invalid_argument
* GCC -Werror=sign-promoStephan Bergmann2012-02-141-0/+15
|
* Improve previous warnings patchStephan Bergmann2012-02-011-1/+1
|
* Fix for Solaris "finite" in ieeefp.h instead of math.hStephan Bergmann2012-02-011-0/+5
| | | | See <https://sourceforge.net/tracker/?func=detail&aid=2912590&group_id=11795&atid=311795>.
* Portability.h contains #define CPPUNIT_VERSION "1.12.0", sf#2983798Markus Mohrhard2012-01-271-1/+1
|
* upstream libreoffice patch related to rhbz#641350Markus Mohrhard2012-01-271-0/+2
| | | | impl. destructor of Cppunit::Message causes segfault when test
* upstream libreoffice warnings patchMarkus Mohrhard2012-01-271-4/+2
|
* Include/cppunit/portability/config-msvc6.Baptiste Lepilleur2009-11-242-1/+10
| | | | | | | include/cppunit/portability/config-msvc6.h: * include/cppunit/portability/Portability.h: Added macro CPPUNIT_UNIQUE_COUNTER on MSVS 7.0+ using __COUNTER__ to fix bug #2031696.
* Include/cppunit/plugin/TestPlugIn.Baptiste Lepilleur2009-11-242-1/+10
| | | | | include/cppunit/plugin/TestPlugIn.h: * include/cppunit/plugin/TestPlugInDefaultImpl.h: added missing dllexport for CppUnitTestPlugIn.
* Changes to suppress warnings of gcc -Wall -W -ansi, mainly from patch [1898225].Steve M. Robbins2008-02-211-1/+1
|
* Make floatingPointIsFinite() return int. Fix comment about comparisons and ↵Steve M. Robbins2007-03-051-5/+8
| | | | IEEE NaN.
* Portability/FloatingPoint.h must include Portability.hSteve M. Robbins2007-02-251-0/+1
|
* Src/cppunit/TestAssert.Baptiste Lepilleur2007-02-245-5/+75
| | | | | | | | | | | | | | | | | | | src/cppunit/TestAssert.cpp (assertDoubleEquals): Moved finite & NaN tests to include/cppunit/portability/FloatingPoint.h. Changed implementation assertDoubleEquals to explicitly test for NaN in case of non-finite values to force equality failure in the presence of NaN. Previous implementation failed on Microsoft Visual Studio 6 (on this platform: NaN == NaN). * examples/cppunittest/TestAssertTest.cpp: Add more unit tests to test the portable floating-point primitive. Added missing include <limits>. * include/cppunit/portability/Makefile.am: * include/cppunit/portability/FloatingPoint.h: Added file. Extracted isfinite() from TestAssert.cpp. * include/cppunit/config-evc4: * include/cppunit/config-msvc6: Added support for _finite().
* Ensure virtual class has virtual destructor.Steve M. Robbins2007-01-123-0/+6
|
* - fixed some compilation issues for QtTestRunner.Baptiste Lepilleur2006-10-262-1/+2
|
* - bumped version to 1.12.0cppunit-1.12.0Baptiste Lepilleur2006-06-291-1/+1
|
* - fixed doc typos.Baptiste Lepilleur2006-06-291-1/+1
|
* Include/cppunit/ui/text/TextTestRunner.Baptiste Lepilleur2006-06-291-0/+4
| | | | | | include/cppunit/ui/text/TextTestRunner.h * src/cppunit/TextTestRunner.cpp: applied patch #1210013 to remove hidden virtual function warning.
* removed compilation warningBaptiste Lepilleur2006-02-041-9/+9
|
* Include/cppunit/config/SourcePrefix.Baptiste Lepilleur2005-11-062-0/+7
| | | | | | | | | | | | | | | | | | include/cppunit/config/SourcePrefix.h: disable warning #4996 (sprintf is deprecated) for visual studio 2005. * include/cppunit/TestAssert.h: use sprintf_s instead of sprintf for visual studio 2005. * examples/ClockerPlugIn/ClockerPlugIn.cpp * examples/DumperPlugIn/DumperPlugIn.cpp: use SourcePrefix.h. Fixed wrong macro usage to implement DllMain. * examples/msvc6/HostApp/ExamplesTestCase.h * examples/msvc6/HostApp/ExamplesTestCase.cpp * examples/simple/ExamplesTestCase.h * examples/simple/ExamplesTestCase.cpp: removed divideByZero test case as it cause some crash on some platforms.
* made sure Portability.h is included...Baptiste Lepilleur2005-10-271-0/+2
|
* include/cppunit/TestAssert.h: added missing #include <stdio.h>Baptiste Lepilleur2005-10-271-1/+1
|
* removed most warning when compiling with vc++ 6sp6.Baptiste Lepilleur2005-10-141-1/+2
|
* better float & double string conversionBaptiste Lepilleur2005-10-131-3/+4
|
* removed most warning when compiling with vc++ 6sp6.Baptiste Lepilleur2005-10-131-0/+11
|
* fixed documentation typo.Baptiste Lepilleur2005-08-021-1/+1
|
* include/cppunit/config/config-msvc6.h: added missing macro definitionBaptiste Lepilleur2005-07-301-0/+4
| | | | CPPUNIT_HAVE_CPP_CAST.
* include/cppunit/config/config-msvc6.h: auto-detect if RTTI are enabledBaptiste Lepilleur2005-07-301-2/+6
| | | | the _CPPRTTI macro (defined by the compiler when enabling RTTI).
* Doc/Money.Baptiste Lepilleur2005-07-094-6/+6
| | | | | | | | | | | | | | | doc/Money.dox: * include/cppunit/TestSuite.h: * include/cppunit/XmlOutputterHook.h: applied Brad Hards patch that correct miscellaneous doc generation issues (unescaped <>, \...). * include/cppunit/plugin/TestPlugIn.h: * include/cppunit/CompilerOutputter.h: * doc/CppUnit-win.dox: removed a few documentation generation warnings. * include/cppunit/plugin/TestPlugIn.h: * include/cppunit/CompilerOutputter.h: * doc/CppUnit-win.dox: removed a few documentation generation warnings.
* Fixed memory leak occuring when calling reset().Baptiste Lepilleur2005-07-052-0/+7
| | | | | | | | | | | | | | | * include/cppunit/TestResultCollector.h * src/cppunit/TestResultCollector.cpp: fixed memory leak occuring when calling reset(). * src/cppunit/DllMain.cpp: added work-around for mingw compilation for BLENDFUNCTION macro issue when including windows.h. * src/qttestrunner/TestRunnerDlgImpl.cpp: fixed display of multiline messages. * include/cppunit/Portability.h: better integration of compiler output for gcc on Mac OS X with Xcode (contributed by Claus Broch).
* added specific copy constructor implementatin to ensure string buffer are ↵Baptiste Lepilleur2004-11-192-1/+10
| | | | detached during copy (therefore providing thread-safe copy constructor for non thread-safe std::string copy constructor implementation).
* added new line at the end of the file.Baptiste Lepilleur2004-11-081-0/+1
|
* include/cppunit/TestAssert.h: fixed portability bug pointed out byBaptiste Lepilleur2004-11-081-1/+1
| | | | Neil Ferguson.
* include/cppunit/Portability.h: fixed EVC++ 4 detection.Baptiste Lepilleur2004-11-061-4/+6
|
* include/cppunit/TestAssert.h: integrated Neil Ferguson patch for highBaptiste Lepilleur2004-11-061-0/+32
| | | | | precision conversion to string for double number. Modified the patch to works even if DBL_DIG C99 macro is not defined.
* Include/cppunit/TestAssert.Baptiste Lepilleur2004-11-051-43/+136
| | | | | | | include/cppunit/TestAssert.h: * src/cppunit/TestAssert.cpp: integrated Neil Ferguson patch for missing _MESSAGE assertion variants. Also enhanced the failure message of a few assertions.
* Added missing operator <<( const charBaptiste Lepilleur2004-09-021-0/+5
| | | | added missing operator <<( const char * )
* Include/cppunit/XmlOutputter.Baptiste Lepilleur2004-09-012-0/+24
| | | | | | | | include/cppunit/XmlOutputter.h: * include/cppunit/tools/XmlDocument.h * src/cppunit/XmlDocument.cpp: * src/cppunit/XmlOutputter.cpp: integrated patch #997006 from Akos Maroy. This patch makes the 'standalone' attribute in XML header optional.
* Include/cppunit/Portability.Baptiste Lepilleur2004-06-252-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | include/cppunit/Portability.h: moved OStringStream alias definition to Portability/Stream.h. User need to define EVC4 to indicate that config-evc4.h should be used. (how to we detect this automatically ?). Notes that this means it might be needed to add #include <string> to some headers since its no longer included by Portability.h. * include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(), and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides our own implementation (based on sprintf and fwrite). * include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4. Still need to detect for this platform in Portability.h (currently relying on EVC4 being defined...) * *.[cpp/h]: most source files have been impacted with the following change: #include <iostream> -> #include <cppunit/Portability/Stream.h> std::ostream -> CPPUNIT_NS::OStream std::ofstream -> CPPUNIT_NS::OFileStream std::cout -> CPPUNIT_NS::stdCOut() std::endl -> "\n" Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined. The exact list of impact files can be obtain in CVS using tags: TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER.
* Include/cppunit/Portability.Baptiste Lepilleur2004-06-255-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | include/cppunit/Portability.h: moved OStringStream alias definition to Portability/Stream.h. User need to define EVC4 to indicate that config-evc4.h should be used. (how to we detect this automatically ?). Notes that this means it might be needed to add #include <string> to some headers since its no longer included by Portability.h. * include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(), and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides our own implementation (based on sprintf and fwrite). * include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4. Still need to detect for this platform in Portability.h (currently relying on EVC4 being defined...) * *.[cpp/h]: most source files have been impacted with the following change: #include <iostream> -> #include <cppunit/Portability/Stream.h> std::ostream -> CPPUNIT_NS::OStream std::ofstream -> CPPUNIT_NS::OFileStream std::cout -> CPPUNIT_NS::stdCOut() std::endl -> "\n" Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined. The exact list of impact files can be obtain in CVS using tags: TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER.
* Include/cppunit/Portability.Baptiste Lepilleur2004-06-252-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | include/cppunit/Portability.h: moved OStringStream alias definition to Portability/Stream.h. User need to define EVC4 to indicate that config-evc4.h should be used. (how to we detect this automatically ?). Notes that this means it might be needed to add #include <string> to some headers since its no longer included by Portability.h. * include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(), and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides our own implementation (based on sprintf and fwrite). * include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4. Still need to detect for this platform in Portability.h (currently relying on EVC4 being defined...) * *.[cpp/h]: most source files have been impacted with the following change: #include <iostream> -> #include <cppunit/Portability/Stream.h> std::ostream -> CPPUNIT_NS::OStream std::ofstream -> CPPUNIT_NS::OFileStream std::cout -> CPPUNIT_NS::stdCOut() std::endl -> "\n" Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined. The exact list of impact files can be obtain in CVS using tags: TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER.
* Include/cppunit/Portability.Baptiste Lepilleur2004-06-2512-60/+423
| | | | | | | | | | | | | | | | | | | | | | | | | | include/cppunit/Portability.h: moved OStringStream alias definition to Portability/Stream.h. User need to define EVC4 to indicate that config-evc4.h should be used. (how to we detect this automatically ?). Notes that this means it might be needed to add #include <string> to some headers since its no longer included by Portability.h. * include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(), and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides our own implementation (based on sprintf and fwrite). * include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4. Still need to detect for this platform in Portability.h (currently relying on EVC4 being defined...) * *.[cpp/h]: most source files have been impacted with the following change: #include <iostream> -> #include <cppunit/Portability/Stream.h> std::ostream -> CPPUNIT_NS::OStream std::ofstream -> CPPUNIT_NS::OFileStream std::cout -> CPPUNIT_NS::stdCOut() std::endl -> "\n" Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined. The exact list of impact files can be obtain in CVS using tags: TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER.
* Release 10.0.2cppunit-1.10.2Baptiste Lepilleur2004-06-181-1/+1
|
* Include/cppunit/extension/TestSuiteBuilderContext.Baptiste Lepilleur2004-06-181-1/+10
| | | | | | | | include/cppunit/extension/TestSuiteBuilderContext.h: * src/cppunit/TestSuiteBuilderContext.cpp: fixed bug #921843. This bug was caused by a known STL bug in VC++ 6. See http://www.dinkumware.com/vc_fixes.html <xtree> issue with shared std::map in dll. As a work-around the map has been replaced by a vector.