diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-04-25 18:05:22 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-04-25 18:05:22 +0000 |
| commit | 8167f9cbc23ba04493a4356e597e46424f1756b1 (patch) | |
| tree | 9b3af071848e79e76c2b90367e7c2b1cf301e149 /examples/ClockerPlugIn | |
| parent | f32756d95c8c4711032c2da415779f5e589017ec (diff) | |
| download | cppunit-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.cpp | 3 |
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(); |
