summaryrefslogtreecommitdiff
path: root/examples/ClockerPlugIn
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 /examples/ClockerPlugIn
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 'examples/ClockerPlugIn')
-rw-r--r--examples/ClockerPlugIn/ClockerListener.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/ClockerPlugIn/ClockerListener.cpp b/examples/ClockerPlugIn/ClockerListener.cpp
index fafbaf8..9ac9c52 100644
--- a/examples/ClockerPlugIn/ClockerListener.cpp
+++ b/examples/ClockerPlugIn/ClockerListener.cpp
@@ -92,7 +92,8 @@ ClockerListener::exitTest( CppUnit::Test *test,
bool isSuite )
{
m_tests[ m_testIndexes.top() ].m_timer.finish();
- m_totalTestCaseTime += m_tests.back().m_timer.elapsedTime();
+ if ( !isSuite )
+ m_totalTestCaseTime += m_tests.back().m_timer.elapsedTime();
m_currentPath.up();
m_testIndexes.pop();