summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* add parameterized test callersfeature/parameterizedMarkus Mohrhard2015-11-082-0/+7
|
* add a flag for adding optional featuresMarkus Mohrhard2015-11-071-2/+3
| | | | | | These features will switch the used C++ version from C++03 to C++11. We are also going to use std::unique_ptr instead of std::auto_ptr for the c++11 mode.
* extend tell coverity that fail doesn't returnCaolán McNamara2014-11-031-0/+1
|
* fix crash with WIN64 in testrunnerMarkus Mohrhard2014-07-171-2/+2
| | | | Reported by: Peter Tax
* add new assertion macros for <, <=, > and >=Markus Mohrhard2014-07-131-11/+105
| | | | | | | | | Now we support the following new macros: - CPPUNIT_ASSERT_LESS - CPPUNIT_ASSERT_GREATER - CPPUNIT_ASSERT_LESSEQUAL - CPPUNIT_ASSERT_GREATEREQUAL
* tell coverity that fail doesn't returnCaolán McNamara2014-07-061-1/+1
|
* -Werror,-Wbind-to-temporary-copyStephan Bergmann2013-08-161-4/+0
| | | | | | "C++98 requires an accessible copy constructor for class 'CppUnit::TestCaseMethodFunctor' when binding a reference to a temporary; was private." (Clang)
* Bug # 51154: cppunit warning cleaningTobias Lippert2013-08-1519-19/+60
| | | | | | | | | | | | This patch allows to compile the code with gcc's -Weffc++ It consists mostly of making copy constructors and assignment operators explicit and private, and of initializing all members in initializer lists. Change-Id: I6f1cae812c58e3791c2386a1288501cf2f559610 Reviewed-on: https://gerrit.libreoffice.org/5424 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* report dlerror messages on unixMarkus Mohrhard2013-05-251-1/+5
| | | | Upstream Libreoffice patch.
* add configuration for 64bit windows buildsMarkus Mohrhard2013-05-256-0/+1143
|
* allow compiling the cppunit solution as 64bit with MSVCMarkus Mohrhard2013-05-254-5/+5
|
* workaround problem when mxing older gcc with newer versions, fdo#52539Andriy Gapon2012-08-141-3/+6
|
* Merge branch 'master' into feature/buildsystem_rewritefeature/buildsystem_rewriteTomas Chvatal2012-08-111-3/+11
|\ | | | | | | | | Conflicts: config/ax_cxx_gcc_abi_demangle.m4
| * use portable way to access free, fdo#52536Markus Mohrhard2012-08-071-1/+1
| |
| * don't crash if demangling fails, fdo#52539Markus Mohrhard2012-08-071-2/+10
| |
* | Merge branch 'master' into feature/buildsystem_rewriteTomas Chvatal2012-08-067-2/+1792
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: .gitignore autogen.sh configure.in doc/Makefile.am examples/cppunittest/TestAssertTest.cpp
| * the 2005 project is not usefull, problems with the existing vcproj filesMarkus Mohrhard2012-06-221-99/+0
| |
| * add the remaining missing filesMarkus Mohrhard2012-06-215-0/+1689
| |
| * add visual studio 2005 and 2010 project files to build cppunit libsMarkus Mohrhard2012-06-212-0/+198
| |
| * fix visual studio 2005 buildMarkus Mohrhard2012-06-211-2/+4
| |
* | try to fix problem with ISO c++ function vs object pointerMarkus Mohrhard2012-04-251-2/+3
| | | | | | | | http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#195
* | Add the quirks to produce same config.h as previouslyTomas Chvatal2012-04-251-0/+1
| |
* | Add new autoconf using the latest macrosTomas Chvatal2012-04-251-1/+1
|/ | | | | | | | | This add new macros from autoconf-archive instead of the old broken ones. Also cleans up the configure.in and moves it to configure.ac. This setup as-is is not working. Next step is checking config.h to contain same contend for before/after update.
* Fix as-needed build.Tomas Chvatal2012-02-241-0/+1
|
* upstream libreoffice patch for sf#3123759Markus Mohrhard2012-01-281-1/+1
| | | | | based on a debian patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=cppunit.diff;att=1;bug=338252
* upstream libreoffice patch related to rhbz#641350Markus Mohrhard2012-01-271-0/+4
| | | | impl. destructor of Cppunit::Message causes segfault when test
* Config/ax_cxx_gcc_abi_demangle.Baptiste Lepilleur2009-11-241-0/+1
| | | | | config/ax_cxx_gcc_abi_demangle.m4: * src/cppunit/TypeInfoHelper.cpp: Fixed demangling of symbols on gcc 4.3 (bug #2796543).
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: fixedBaptiste Lepilleur2009-11-241-1/+1
| | | | memory leak in getCommandLineArguments() (bug #1721408).
* Flush stdout & stderr in TestResult destructor to avoid message loss (bug ↵Baptiste Lepilleur2009-11-241-0/+3
| | | | #2832029)
* Applied patch #2807259: lib -ldl... should be in LDADD instead of LDFLAGSBaptiste Lepilleur2009-11-231-6/+4
|
* Added updated project and instructions for building under Visual Studio.Net 2008Andy Dent2008-12-167-0/+7107
|
* Bug 1649369: Flush stdCOut after startTest() and addFailure(). Fix from the ↵Steve M. Robbins2008-10-111-0/+2
| | | | supplied flush patch.
* Changes to suppress warnings of gcc -Wall -W -ansi, mainly from patch [1898225].Steve M. Robbins2008-02-218-25/+26
|
* Change from qlist.h to qptrlist.h, avoiding compatibility header.Steve M. Robbins2008-02-072-2/+2
|
* Src/cppunit/TestAssert.Baptiste Lepilleur2007-02-242-17/+20
| | | | | | | | | | | | | | | | | | | 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().
* Apply patch to fix [ 1293903 ] UNICODE Builds not supportedSteve M. Robbins2007-01-271-5/+5
|
* Account for non-finite values in assertDoubleEquals().Steve M. Robbins2007-01-271-6/+20
| | | | | | Conditional inclusion of cmath rather than math.h removed since (1) it was never used as HAVE_CMATH is never defined, and (2) cmath may move isfinite() into namespace std.
* Arrange class initializers in correct order.Steve M. Robbins2007-01-125-10/+10
|
* Src/msvc6/TesRunner/TestRunner.Baptiste Lepilleur2006-07-282-40/+28
| | | | | | src/msvc6/TesRunner/TestRunner.rc: * src/msvc6/testpluginrunner/TestPlugInRunner.rc: Fixed bug #1528212 (some resources wrongly tagged as French).
* - fixed bug #1527879 (SourceSafe traces in project)Baptiste Lepilleur2006-07-251-2/+0
|
* src/msvc6/testrunner/MsDevCallerListCtrl.cpp: applied correctionBaptiste Lepilleur2006-06-291-10/+3
| | | | | provided to fix bug #1498175 (double click on failure does not goto failure).
* Include/cppunit/ui/text/TextTestRunner.Baptiste Lepilleur2006-06-291-0/+8
| | | | | | 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-2/+2
|
* Integrated Ernst patch for QtTestRunner and Qt 3.Baptiste Lepilleur2005-12-1211-90/+972
| | | | | | integrated Ernst patch for QtTestRunner and Qt 3.x. * upgrade QtTestRunner to Qt 3.x * enhanced qmake project files to handle multiple build configuration
* 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).