| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
provided to fix bug #1498175 (double click on failure does not
goto failure).
|
| |
|
|
|
|
| |
include/cppunit/ui/text/TextTestRunner.h
* src/cppunit/TextTestRunner.cpp: applied patch #1210013 to remove
hidden virtual function warning.
|
| |
|
|
|
|
| |
cppunit.pc.in:
* configure.in:
* Makefile.am: integrated patch from Rober Leight to generate pkg-config.
|
| |
|
|
|
|
| |
removed debian/ directory. An up to date patch can be found at:
packages.debian.org.
* cppunit.spec.in: applied patch #1242905 partially (%post and %postun).
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
removed most warning when compiling with vc++ 6sp6.
* added assert equal usage
|
| | |
|
| |
|
|
| |
CPPUNIT_HAVE_CPP_CAST.
|
| |
|
|
|
|
|
| |
include/cppunit/config/config-msvc6.h: auto-detect if RTTI are enabled
the _CPPRTTI macro (defined by the compiler when enabling RTTI).
* src/cppunit/TestResultCollector.cpp: fixed memory leak in destructor.
|
| | |
|
| | |
|
| |
|
|
| |
generation of doc/Makefile.am.
|
| | |
|
| |
|
|
| |
when running ./autogen.sh or aclocal.
|
| |
|
|
| |
(patch #1230784).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
| |
|
|
|
|
|
| |
contrib/xml-xsl/cppunit2junit.txt
* contrib/xml-xsl/cppunit2junit.xsl
* contrib/readme.txt: XSLT for compatibility with Ant junit xml formatter.
Patch #1112053 contributed by Norbert Barbosa.
|
| |
|
|
| |
version number comparison in AM_PATH_CPPUNIT.
|
| |
|
|
| |
#1194394 contributed by Stéphane Fillod.
|
| |
|
|
| |
(use system color for border instead of hard-coded color).
|
| |
|
|
|
|
|
| |
examples/hierarchy/BoardGameTest.h:
* examples/hierarchy/ChessTest.h: fixed compilation issue, prefixed access
to class member with 'this' (inheriting from template parameter
dependent class).
|
| |
|
|
|
|
|
|
| |
include/cppunit/Message.h
* include/cppunit/SourceLine.h:
* src/cppunit/Message.cpp:
* src/cppunit/SourceLine.cpp: provided thread-safe copy constructor on
platform that do not provide thread-safe copy constructor for std::string.
|
| |
|
|
| |
Neil Ferguson.
|
| | |
|
| |
|
|
|
| |
precision conversion to string for double number. Modified the patch
to works even if DBL_DIG C99 macro is not defined.
|
| |
|
|
|
|
|
| |
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.cpp:
* src/msvc6/testrunner/MsDevCallerListCtrl.h: integrated go to source line
features on double click contributed by Max Quatember and
Andreas Pfaffenbichler.
|
| |
|
|
|
|
|
|
| |
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.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.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.
|
| |
|
|
| |
if CppUnit is missing.
|
| |
|
|
| |
if CppUnit is missing.
|
| |
|
|
| |
if CppUnit is missing.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.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/*/*.dsp: bug #933154, post build fail in directory with spaces.
|
| |
|
|
| |
splitPathString() with substr if an empty string is passed.
|
| |
|
|
| |
there is no link to preserve anyway (does not exist on SunOs).
|
| |
|
|
|
|
|
| |
include/cppunit/Portability.h:
* include/cppunit/plugin/TestPlugIn.h: fixed report compilation issue
with mingw & cygwin. WIN32 is now always defined if _WIN32 is defined.
Bug #945737 & #930338.
|
| | |
|
| |
|
|
|
|
| |
release 1.10.0
* install-UNIX.txt: added some notes concerning Sun CC 5.5 & AIX.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
examples/cppunittest/TestAssertTest.h:
* examples/cppunittest/TestAssertTest.cpp:
* examples/cppunittest/XmlUniformiserTest.h:
* examples/cppunittest/XmlUniformiserTest.cpp:
* include/cppunit/TestAssert.h: add the exception assertion macros
from cppunit 2: CPPUNIT_ASSERT_THROW, CPPUNIT_ASSERT_NO_THROW,
CPPUNIT_ASSERT_ASSERTION_FAIL, CPPUNIT_ASSERT_ASSERTION_PASS.
Updated unit test to use and test the new macros.
* include/cppunit/extensions/HelperMacros.h: deprecated the
test case factory that check for exception (CPPUNIT_TEST_FAIL &
CPPUNIT_TEST_EXCEPTION).
|
| |
|
|
|
| |
from Gareth Sylvester. Adding RTLD_GLOBAL allows test plug-ins
to provide symbols to shared objects they load themselves.
|
| |
|
|
|
|
| |
examples/qt/Main.cpp:
* examples/qt/ExampleTestCase.h: fixed bug #789672: QT example should
use CPPUNIT_NS macro.
|