summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* removed most warning when compiling with vc++ 6sp6.Baptiste Lepilleur2005-10-136-21/+26
|
* removed most warning when compiling with vc++ 6sp6.Baptiste Lepilleur2005-10-1310-1/+16
|
* src/cppunit/TestResultCollector.cpp: fixed memory leak in destructor.Baptiste Lepilleur2005-07-301-1/+2
|
* Fixed memory leak occuring when calling reset().Baptiste Lepilleur2005-07-053-0/+9
| | | | | | | | | | | | | | | * 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).
* MinGW, cygwin: enable build of shared library when using libtool. patch ↵Baptiste Lepilleur2005-06-141-2/+2
| | | | #1194394 contributed by Stéphane Fillod.
* src/msvc6/testrunner/ProgressBar.cpp: applied patch from bug #1165875,Baptiste Lepilleur2005-06-141-4/+4
| | | | (use system color for border instead of hard-coded color).
* src/cppunit/Win32DynamicLibraryManager.cpp: integrated patch #1024428,Baptiste Lepilleur2004-11-191-0/+1
| | | | MinGW compilation under Windows XP.
* added specific copy constructor implementatin to ensure string buffer are ↵Baptiste Lepilleur2004-11-192-3/+43
| | | | detached during copy (therefore providing thread-safe copy constructor for non thread-safe std::string copy constructor implementation).
* Include/cppunit/TestAssert.Baptiste Lepilleur2004-11-051-2/+9
| | | | | | | 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.
* Src/msvc6/testrunner/MsDevCallerListCtrl.Baptiste Lepilleur2004-09-102-37/+181
| | | | | | | src/msvc6/testrunner/MsDevCallerListCtrl.cpp: * src/msvc6/testrunner/MsDevCallerListCtrl.h: integrated go to source line features on double click contributed by Max Quatember and Andreas Pfaffenbichler.
* added error message if attempting to compile on a platform other than VC++ 6.Baptiste Lepilleur2004-09-101-0/+4
|
* Include/cppunit/XmlOutputter.Baptiste Lepilleur2004-09-012-1/+27
| | | | | | | | 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-256-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-76/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Src/msvc6/testrunner/TestRunnerDlg.Baptiste Lepilleur2004-06-186-16/+50
| | | | | | | | | | src/msvc6/testrunner/TestRunnerDlg.h: * src/msvc6/testrunner/TestRunnerDlg.cpp: * src/msvc6/testpluginrunner/TestPlugIn.cpp: * src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: * src/msvc6/testpluginrunner/TestPlugInRunnerModel.cpp: * src/msvc6/testpluginrunner/TestPlugInRunnerModel.h: bug #952912, memory leaks when loading/reloading plug-ins.
* added DEBUG_NEW for memory leaks trackingBaptiste Lepilleur2004-06-186-7/+42
|
* Src/Baptiste Lepilleur2004-06-183-3/+3
| | | | src/*/*.dsp: bug #933154, post build fail in directory with spaces.
* Src/DllPlugInTester/Baptiste Lepilleur2004-06-185-16/+16
| | | | | | src/DllPlugInTester/*.cpp: bug #941625, string literal using char * instead of const char *. Patch contributed by Curt Arnold has been applied.
* Include/cppunit/extension/TestSuiteBuilderContext.Baptiste Lepilleur2004-06-181-6/+24
| | | | | | | | 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.
* Src/Baptiste Lepilleur2004-06-176-11/+18
| | | | src/*/*.dsp: bug #933154, post build fail in directory with spaces.
* src/cppunit/TestPath.cpp: bug #938753, array bound read inBaptiste Lepilleur2004-06-171-1/+4
| | | | splitPathString() with substr if an empty string is passed.
* src/cppunit/TestPath.cpp: bug #938753, array bound read inBaptiste Lepilleur2004-06-171-1/+1
| | | | splitPathString() with substr if an empty string is passed.
* src/cppunit/TestPath.cpp: bug #938753, array bound read inBaptiste Lepilleur2004-06-171-1/+1
| | | | splitPathString() with substr if an empty string is passed.
* fixing project compilation settings (rtti not always enabled)Baptiste Lepilleur2004-06-161-1/+1
|
* clean upBaptiste Lepilleur2004-04-091-2/+2
|
* src/cppunit/UnixDynamicLibraryManager.cpp: applied patch #816563Baptiste Lepilleur2004-03-131-1/+1
| | | | | from Gareth Sylvester. Adding RTLD_GLOBAL allows test plug-ins to provide symbols to shared objects they load themselves.
* configure.in: bumped version number to 1.9.12Baptiste Lepilleur2004-02-191-63/+4
|
* Configure.Baptiste Lepilleur2004-02-181-0/+19
| | | | | | | | configure.in: * config/ax_cxx_gcc_abi_demangle.m4: * src/cppunit/TypeInfoHelper.cpp: added patch from Neil Ferguson <nferguso@eso.org> to use gcc c++ abi to demangle typeinfo name when available.
* Makefile.Baptiste Lepilleur2003-05-072-7/+12
| | | | | | | | | | | | | | | | | | | | | Makefile.am * configure.in * config/ac_dll.m4 * examples/cppunittest/Makefile.am * examples/hierarchy/Makefile.am * examples/money/Makefile.am * examples/simple/Makefile.am * include/cppunit/config/SelectDllLoader.h * include/cppunit/plugin/TestPlugIn.h * include/cppunit/tools/Algorithm.h * src/DllPlugInTester/Makefile.am * src/cppunit/Makefile.am * src/cppunit/TestDecorator.cpp * src/cppunit/ShlDynamicLibraryManager.cpp * src/cppunit/UnixDynamicLibraryManager.cpp * src/cppunit/Win32DynamicLibraryManager.cpp: applied patch from Abdessattar Sassi <abdesassi@users.sourceforge.net> to add support for plug-in to hp-ux (patch #721546).
* Makefile.Baptiste Lepilleur2003-05-077-7/+60
| | | | | | | | | | | | | | | | | | | | | Makefile.am * configure.in * config/ac_dll.m4 * examples/cppunittest/Makefile.am * examples/hierarchy/Makefile.am * examples/money/Makefile.am * examples/simple/Makefile.am * include/cppunit/config/SelectDllLoader.h * include/cppunit/plugin/TestPlugIn.h * include/cppunit/tools/Algorithm.h * src/DllPlugInTester/Makefile.am * src/cppunit/Makefile.am * src/cppunit/TestDecorator.cpp * src/cppunit/ShlDynamicLibraryManager.cpp * src/cppunit/UnixDynamicLibraryManager.cpp * src/cppunit/Win32DynamicLibraryManager.cpp: applied patch from Abdessattar Sassi <abdesassi@users.sourceforge.net> to add support for plug-in to hp-ux.
* src/cppunit/DynamicLibraryManager.cpp: fixed compilation issue on MingwBaptiste Lepilleur2003-03-311-1/+3
| | | | (bug #711583)
* Include/cppunit/extensions/TestNamer.Baptiste Lepilleur2003-03-201-0/+5
| | | | | | include/cppunit/extensions/TestNamer.h: * src/cppunit/TestNamer.cpp: Fixed bug #704684, TestNamer has non-virtual destructor.
* src/msvc6/testrunner/TestRunnerDlg.cpp: switched to using unsigned index in ↵Baptiste Lepilleur2003-03-151-0/+2
| | | | | | loop to avoid signed/unsigned warning in vc7.
* Src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.Baptiste Lepilleur2003-03-151-0/+4
| | | | | | | | src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp: * examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp: * examples/msvc6/HostApp/HostApp.cpp: * src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: fixed compatibility issues with vc7 MFC.
* src/msvc6/testrunner/TestRunnerDlg.cpp: switched to using unsigned index in ↵Baptiste Lepilleur2003-03-151-1/+1
| | | | | | loop to avoid signed/unsigned warning in vc7.
* Include/cppunit/tools/Algorithm.Baptiste Lepilleur2003-03-153-5/+5
| | | | | | | | | | | | | | | | include/cppunit/tools/Algorithm.h: * examples/cppunittest/XmlOutputterTest.cpp: * examples/cppunittest/XmlUniformiser.*: * src/cppunit/CompilerOutputter.cpp: * src/cppunit/ProtectorChain.cpp: * src/cppunit/StringTools.cpp: * src/cppunit/TestPath.cpp: * src/cppunit/TypeInfoHelper.cpp: * src/cppunit/XmlElement.cpp: * src/cppunit/XmlOutputter.cpp: * src/DllPlugInTester/CommandLineParser.h: * src/msvc6/testrunner/TestRunnerDlg.cpp: switched to using unsigned index in loop to avoid signed/unsigned warning in vc7.
* Src/cppunit/CompilerOutputter.Baptiste Lepilleur2003-03-157-8/+8
| | | | | | | | | | | | | | src/cppunit/CompilerOutputter.cpp: * src/cppunit/ProtectorChain.cpp: * src/cppunit/StringTools.cpp: * src/cppunit/TestPath.cpp: * src/cppunit/TypeInfoHelper.cpp: * src/cppunit/XmlElement.cpp: * src/cppunit/XmlOutputter.cpp: switched to using unsigned index in loop to avoid signed/unsigned warning in vc7. * include/cppunit/extension/ExceptionTestCaseDecorator.h: removed dll export on template (caused link error on vc7).
* fixed typosBaptiste Lepilleur2003-03-121-1/+1
|
* Src/cppunit/XmlElement.Baptiste Lepilleur2003-03-111-0/+3
| | | | | | src/cppunit/XmlElement.cpp: * src/examples/CppUnitTest/XmlUniformser.cpp: fixed bug #676505 (no space between attributes of XmlElement).
* Include/cppunit/tools/Algorithm.Baptiste Lepilleur2003-03-114-13/+47
| | | | | | | | | | | | | | include/cppunit/tools/Algorithm.h: * src/cppunit/TestResult.cpp: * src/msvc6/testrunner/TestRunnerModel.cpp: added removeFromSequence algorithm in Algorithm.h to fix STLPort compatibility issue (std::remove use the one of cstdio instead of algorithm). Bug #694971. * include/cppunit/extensions/TestNamer.h: fixed bug #662666 (missing include for typeinfo). * src/cppunit/TestResult.cpp: TestFailure are no longer passed as temporary, but explicitely instantiated on the stack. Work around AIX compiler bug.
* src/src/msvc6/testrunner/DynamicWindow/cdxCDynamicWnd.cpp: added call toBaptiste Lepilleur2002-12-021-1/+1
| | | | | IsUp() in cdxCDynamicWnd::DoOnGetMinMaxInfo() before calling GetBorderSize() which caused an assertion. Bug #643612.
* src/cppunit/XmlOuputter.cpp: use iterator instead of const_iterator.Baptiste Lepilleur2002-12-021-1/+1
|
* Include/cppunit/plugin/DynamicLibraryManagerException.Baptiste Lepilleur2002-12-025-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | include/cppunit/plugin/DynamicLibraryManagerException.h: added constructor to fix compilation issues on recents version of gcc and sun CC (bug #619059) * include/cppunit/input/XmlInputHelper.h: added. * include/cppunit/extensions/TestSuiteBuilderContext.h: * src/cppunit/TestSuiteBuilderContext.cpp: added addProperty() and getStringProperty(). Added macros CPPUNIT_TEST_SUITE_PROPERTY. * src/msvc6/testrunner/TestRunnerDlg.cpp: integrated Tim Threlkeld's bug fix #610162: browse button was disabled if history was empty. * src/msvc6/testrunner/DynamicWindow/cdxCSizeIconCtrl.cpp: integrated Tim Threlkeld's bug fix #610191: common control were not initialized. * include/cppunit/extensions/ExceptionTestCaseDecorator.h: bug #603172, missing Message construction. * src/cppunit/DefaultProtector.cpp: bug #603172. Fixed missing ';'. * src/cppunit/TestCase.cpp: bug #603671. Removed unguarded typeinfo include. * examples/cppunittests/*Suite.h: bug #603666. Added missing Portability.h include.
* Moved header to topEric Schendel2002-09-161-2/+2
|
* Added newline at end of file (needed for some compilers to work)Eric Schendel2002-09-163-3/+6
|
* Dereferencing fix for SUN4Eric Schendel2002-09-161-5/+5
|
* <typeinfo> not available if CPPUNIT_USE_TYPEINFO_NAME not definedEric Schendel2002-09-161-1/+3
|
* Map needs comparator, make_pair to pair, and map dereference fix (SUN4)Eric Schendel2002-09-161-4/+4
|
* Const_iterator to iterator and make_pair to pair for sun4 portabilityEric Schendel2002-09-161-6/+6
|
* Missing semicolon when CPPUNIT_USE_TYPEINFO_NAME not usedEric Schendel2002-09-161-1/+1
|