summaryrefslogtreecommitdiff
path: root/src/DllPlugInTester/CommandLineParser.h
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-07-14 18:48:32 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-07-14 18:48:32 +0000
commit251c1ff8aecaa608ef9e6041c2691d369430bf7b (patch)
tree183795a04e06a8a94a64214afc2a1cc8a12a5486 /src/DllPlugInTester/CommandLineParser.h
parent0807889cb53679c5a9e741e8dedc3668ef59729b (diff)
downloadcppunit-251c1ff8aecaa608ef9e6041c2691d369430bf7b.tar.gz
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.
Diffstat (limited to 'src/DllPlugInTester/CommandLineParser.h')
-rw-r--r--src/DllPlugInTester/CommandLineParser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DllPlugInTester/CommandLineParser.h b/src/DllPlugInTester/CommandLineParser.h
index 88a625c..d08092c 100644
--- a/src/DllPlugInTester/CommandLineParser.h
+++ b/src/DllPlugInTester/CommandLineParser.h
@@ -2,10 +2,10 @@
#define CPPUNIT_HELPER_COMMANDLINEPARSER_H
#include <cppunit/Portability.h>
+#include <cppunit/portability/CppUnitDeque.h>
#include <cppunit/plugin/Parameters.h>
#include <string>
#include <stdexcept>
-#include <deque>
/*! Exception thrown on error while parsing command line.
@@ -23,7 +23,7 @@ public:
struct CommandLinePlugInInfo
{
std::string m_fileName;
- CppUnit::Parameters m_parameters;
+ CPPUNIT_NS::Parameters m_parameters;
};
@@ -113,10 +113,10 @@ protected:
bool m_waitBeforeExit;
std::string m_testPath;
- typedef std::deque<CommandLinePlugInInfo> PlugIns;
+ typedef CppUnitDeque<CommandLinePlugInInfo> PlugIns;
PlugIns m_plugIns;
- typedef std::deque<std::string> Arguments;
+ typedef CppUnitDeque<std::string> Arguments;
Arguments m_arguments;
int m_currentArgument;