summaryrefslogtreecommitdiff
path: root/src/cppunit
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/cppunit
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/cppunit')
-rw-r--r--src/cppunit/XmlOutputter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppunit/XmlOutputter.cpp b/src/cppunit/XmlOutputter.cpp
index 93a57dd..6a5c0d7 100644
--- a/src/cppunit/XmlOutputter.cpp
+++ b/src/cppunit/XmlOutputter.cpp
@@ -176,7 +176,7 @@ XmlOutputter::XmlOutputter( TestResultCollector *result,
std::string encoding ) :
m_result( result ),
m_stream( stream ),
- m_encoding( encoding )
+ m_encoding( encoding == "" ? "ISO-8859-1" : encoding )
{
}