From 251c1ff8aecaa608ef9e6041c2691d369430bf7b Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Sun, 14 Jul 2002 18:48:32 +0000 Subject: CodingGuideLines. CodingGuideLines.txt: added. CppUnit's coding guidelines for portability. * include/cppunit/portability/CppUnitStack.h: added. wrapper for std::stack. * include/cppunit/portability/CppUnitSet.h: added. wrapper for std::set. * include/cppunit/ui/text/TestRunner.h: fixed namespace definition for deprecated TestRunner. * include/cppunit/TestAssert.h: * src/cppunit/TestAssert.cpp: removed old deprecated functions that did not use SourceLine. Moved assertEquals() and assertDoubleEquals() into CppUnit namespace. * src/cppunit/TestFactoryRegistry.cpp: use CppUnitMap instead of std::map. * src/DllPlugInTester/CommandLineParser.h: use CppUnitDeque instead std::deque. * examples/cppunittest/*.h: * examples/cppunittest/*.cpp: removed all usage of CppUnitTest namespace. Everything is now in global space. * examples/*/*.h: * examples/*/*.cpp: replaced usage of CppUnit:: with CPPUNIT_NS::. * examples/ClockerPlugIn/ClockerModel.h: use CppUnit STL wrapper instead of STL container. --- examples/cppunittest/CppUnitTestSuite.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'examples/cppunittest/CppUnitTestSuite.cpp') diff --git a/examples/cppunittest/CppUnitTestSuite.cpp b/examples/cppunittest/CppUnitTestSuite.cpp index 35e8fd6..2b5ec2d 100644 --- a/examples/cppunittest/CppUnitTestSuite.cpp +++ b/examples/cppunittest/CppUnitTestSuite.cpp @@ -6,14 +6,9 @@ #include "ToolsSuite.h" #include "UnitTestToolSuite.h" -namespace CppUnitTest -{ - CPPUNIT_REGISTRY_ADD_TO_DEFAULT( coreSuiteName() ); CPPUNIT_REGISTRY_ADD_TO_DEFAULT( extensionSuiteName() ); CPPUNIT_REGISTRY_ADD_TO_DEFAULT( helperSuiteName() ); CPPUNIT_REGISTRY_ADD_TO_DEFAULT( outputSuiteName() ); CPPUNIT_REGISTRY_ADD_TO_DEFAULT( toolsSuiteName() ); CPPUNIT_REGISTRY_ADD_TO_DEFAULT( unitTestToolSuiteName() ); - -} \ No newline at end of file -- cgit v1.2.1