diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-03-01 19:19:54 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-03-01 19:19:54 +0000 |
| commit | 995dd0a5786e1c5d3a0a18d3107cded17cf32089 (patch) | |
| tree | b27204a238ac1ac44bc9e3194dc6426d25bb1287 /include/cppunit | |
| parent | 2c7af6bda8b090a31dd39e3ca6e5c55ed7758fb9 (diff) | |
| download | cppunit-995dd0a5786e1c5d3a0a18d3107cded17cf32089.tar.gz | |
Inclued/cppunit/XmlOutputter.
inclued/cppunit/XmlOutputter.h:
* inclued/cppunit/XmlOutputter.cpp: added optional parameter to constructor
to specify the encoding.
* configure.in: updated version number to 1.7.3
Diffstat (limited to 'include/cppunit')
| -rw-r--r-- | include/cppunit/XmlOutputter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/cppunit/XmlOutputter.h b/include/cppunit/XmlOutputter.h index fbe6783..f7afda3 100644 --- a/include/cppunit/XmlOutputter.h +++ b/include/cppunit/XmlOutputter.h @@ -6,6 +6,7 @@ #include <deque> #include <iostream> #include <map> +#include <string> #include <utility> @@ -25,7 +26,8 @@ public: /*! Constructs a XmlOutputter object. */ XmlOutputter( TestResultCollector *result, - std::ostream &stream ); + std::ostream &stream, + std::string encoding = "ISO-8859-1" ); /// Destructor. virtual ~XmlOutputter(); @@ -103,6 +105,7 @@ protected: protected: TestResultCollector *m_result; std::ostream &m_stream; + std::string m_encoding; private: /// Prevents the use of the copy constructor. |
