[Cppunit-cvs] cppunit/include/cppunit Portability.h,1.26,1.27 TestResultCollector.h,1.10,1.11
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-07-05 21:17:53
|
Update of /cvsroot/cppunit/cppunit/include/cppunit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31780/include/cppunit Modified Files: Portability.h TestResultCollector.h Log Message: * 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). Index: Portability.h =================================================================== RCS file: /cvsroot/cppunit/cppunit/include/cppunit/Portability.h,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** Portability.h 6 Nov 2004 10:42:01 -0000 1.26 --- Portability.h 5 Jul 2005 21:17:40 -0000 1.27 *************** *** 80,85 **** --- 80,90 ---- // See class CompilerOutputter for format. #if !defined(CPPUNIT_COMPILER_LOCATION_FORMAT) + #if defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) ) + // gcc/Xcode integration on Mac OS X + # define CPPUNIT_COMPILER_LOCATION_FORMAT "%p:%l: " + #else # define CPPUNIT_COMPILER_LOCATION_FORMAT "%f:%l:" #endif + #endif // If CPPUNIT_HAVE_CPP_CAST is defined, then c++ style cast will be used, Index: TestResultCollector.h =================================================================== RCS file: /cvsroot/cppunit/cppunit/include/cppunit/TestResultCollector.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** TestResultCollector.h 13 Jul 2002 10:33:50 -0000 1.10 --- TestResultCollector.h 5 Jul 2005 21:17:40 -0000 1.11 *************** *** 62,65 **** --- 62,67 ---- protected: + void freeFailures(); + Tests m_tests; TestFailures m_failures; |