summaryrefslogtreecommitdiff
path: root/include/cppunit/config-msvc6.h
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-12 21:34:37 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-12 21:34:37 +0000
commit8cabaebd9f8689ca96184daf415e3cc6cf67d722 (patch)
tree3c1b0f8d4a74147dbf659875e1a646def0dfb7b9 /include/cppunit/config-msvc6.h
parented406a2966e62072fa6afaca8abc578db7c0c9fb (diff)
downloadcppunit-8cabaebd9f8689ca96184daf415e3cc6cf67d722.tar.gz
Include/cppunit/CompilerOutputter.
include/cppunit/CompilerOutputter.h: * src/cppunit/CompilerOutputter.h: deprecated defaultOuputter(). Added setLocationFormat() and format specifiation in constructor. A string that represent the location format is used to output the location. Default format is defined by CPPUNIT_COMPILER_LOCATION_FORMAT. * include/cppunit/config-msvc6.h: * include/cppunit/Portability.h: added CPPUNIT_COMPILER_LOCATION_FORMAT. Use gcc location format if VC++ is not detected. * include/cppunit/Test.h: fixed documentation. * include/cppunit/TestListener.h: added startSuite() and endSuite() callbacks. Added new example to documentation. * include/cppunit/TestResult.h: * src/cppunit/TestResult.cpp: * include/cppunit/TestComposite.h: * src/cppunit/TestComposite.cpp: Updated to inform the listeners. * src/qttestrunner/TestBrowserDlgImpl.cpp: used Test new composite interface instead of RTTI to explore the test hierarchy. * examples/cppunittest/MockTestListener.h: * examples/cppunittest/MockTestListener.cpp: updated,added support for startSuite() and endSuite(). * examples/cppunittest/TestResultTest.h: * examples/cppunittest/TestResultTest.cpp: added tests for startSuite() and endSuite().
Diffstat (limited to 'include/cppunit/config-msvc6.h')
-rw-r--r--include/cppunit/config-msvc6.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cppunit/config-msvc6.h b/include/cppunit/config-msvc6.h
index c5ad455..7047851 100644
--- a/include/cppunit/config-msvc6.h
+++ b/include/cppunit/config-msvc6.h
@@ -55,6 +55,11 @@
#define CPPUNIT_NEED_DLL_DECL 1
#endif
+// Compiler error location format for CompilerOutputter
+// See class CompilerOutputter for format.
+#undef CPPUNIT_COMPILER_LOCATION_FORMAT
+#define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l):"
+
#if _MSC_VER > 1000 // VC++
#pragma warning( disable : 4786 ) // disable warning debug symbol > 255...
#endif // _MSC_VER > 1000