summaryrefslogtreecommitdiff
path: root/src/DllPlugInTester/CommandLineParser.h
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-25 18:05:22 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-04-25 18:05:22 +0000
commit8167f9cbc23ba04493a4356e597e46424f1756b1 (patch)
tree9b3af071848e79e76c2b90367e7c2b1cf301e149 /src/DllPlugInTester/CommandLineParser.h
parentf32756d95c8c4711032c2da415779f5e589017ec (diff)
downloadcppunit-8167f9cbc23ba04493a4356e597e46424f1756b1.tar.gz
Src/cppunit/XmlOutputter.
src/cppunit/XmlOutputter.cpp: bugfix, use ISO-8859-1 encoding if an empty string is given. * src/DllPlugInTester/CommandLineParser.h: * src/DllPlugInTester/CommandLineParser.cpp: * src/DllPlugInTester/DllPlugInTester.cpp: added option -w to wait for the user to press a key before exiting (Philippe Lavoie patch, with change).
Diffstat (limited to 'src/DllPlugInTester/CommandLineParser.h')
-rw-r--r--src/DllPlugInTester/CommandLineParser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DllPlugInTester/CommandLineParser.h b/src/DllPlugInTester/CommandLineParser.h
index ed1b1f6..88a625c 100644
--- a/src/DllPlugInTester/CommandLineParser.h
+++ b/src/DllPlugInTester/CommandLineParser.h
@@ -37,6 +37,7 @@ struct CommandLinePlugInInfo
-n --no-progress
-t --text
-o --cout
+-w --wait
filename[="options"]
:testpath
@@ -66,6 +67,7 @@ public:
bool noTestProgress() const;
bool useTextOutputter() const;
bool useCoutStream() const;
+ bool waitBeforeExit() const;
std::string getTestPath() const;
int getPlugInCount() const;
CommandLinePlugInInfo getPlugInAt( int index ) const;
@@ -108,6 +110,7 @@ protected:
bool m_noProgress;
bool m_useText;
bool m_useCout;
+ bool m_waitBeforeExit;
std::string m_testPath;
typedef std::deque<CommandLinePlugInInfo> PlugIns;