summaryrefslogtreecommitdiff
path: root/include/cppunit/extensions
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2001-09-14 18:28:36 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2001-09-14 18:28:36 +0000
commit4de811742dab8be4819ccb3b0492b56dff038693 (patch)
tree6903e6e37abd14e0480a79b140d3ca1ae65203a9 /include/cppunit/extensions
parent919cc774e43f62659ecfe5f85882b0073c4ea2d4 (diff)
downloadcppunit-4de811742dab8be4819ccb3b0492b56dff038693.tar.gz
Src/msvc6/testrunner/TestRunner.
src/msvc6/testrunner/TestRunner.dsp: fixed release configuration. * src/msvc6/testrunner/TestRunner.dsw: added DSPlugIn.dsp. TestRunner depends on DSPlugIn. * src/msvc6/testrunner/TestRunner.cpp: * src/msvc6/testrunner/TestRunnerDlg.h: * src/msvc6/testrunner/TestRunnerDlg.cpp: * src/msvc6/testrunner/MsDevCallerListCtrl.cpp: * src/msvc6/testrunner/MsDevCallerListCtrl.h: * src/msvc6/DSPlugIn/*: integrated patch from Patrick Berny (PPBerny@web.de). An add-ins for VC++. Double-cliking a failed test in the TestRunner, VC++ will open the source file and go to the failure location. * src/cppunit/Exception.cpp: * include/cppunit/Exception.h: compile fix, call to overrided operator = of parent class failed. Using typedef to the parent class fix that. * src/cppunit/cppunit.dsp: added TestFixture.h * src/cppunit/TestFactoryRegistry.cpp: removed <utility> which isn't needed any more. * include/cppunit/TestCase.h: * include/cppunit/TestSuite.h: * include/cppunit/extensions/TestFactoryRegistry.h: added include <Portability.h> before any other includes to remove warning with VC++. * include/cppunit/Portability.h: moved platform specific includes at the beginning of the header. fixed CPPUNIT_HAVE_CPP_SOURCE_ANNOTATION declaration. * include/cppunit/config-msvc6.h: removed pragma once (useless, should be put in each header to have an effect).
Diffstat (limited to 'include/cppunit/extensions')
-rw-r--r--include/cppunit/extensions/TestFactoryRegistry.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/cppunit/extensions/TestFactoryRegistry.h b/include/cppunit/extensions/TestFactoryRegistry.h
index 2475e57..e835321 100644
--- a/include/cppunit/extensions/TestFactoryRegistry.h
+++ b/include/cppunit/extensions/TestFactoryRegistry.h
@@ -1,13 +1,10 @@
#ifndef CPPUNIT_EXTENSIONS_TESTFACTORYREGISTRY_H
#define CPPUNIT_EXTENSIONS_TESTFACTORYREGISTRY_H
-#if _MSC_VER > 1000 // VC++
-#pragma warning( disable : 4786 ) // disable warning debug symbol > 255...
-#endif // _MSC_VER > 1000
-
+#include <cppunit/Portability.h>
+#include <cppunit/extensions/TestFactory.h>
#include <map>
#include <string>
-#include <cppunit/extensions/TestFactory.h>
namespace CppUnit {