summaryrefslogtreecommitdiff
path: root/src/cppunit/XmlOutputter.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2004-09-01 19:17:36 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2004-09-01 19:17:36 +0000
commit87051183eea0f573bd4f3521446d7eb4da4622be (patch)
treee03ebde8d15fecd5e8eecf4986d088fc0708bd67 /src/cppunit/XmlOutputter.cpp
parent4a003a878cfff870c7b2417c824042af0af60d59 (diff)
downloadcppunit-87051183eea0f573bd4f3521446d7eb4da4622be.tar.gz
Include/cppunit/XmlOutputter.
include/cppunit/XmlOutputter.h: * include/cppunit/tools/XmlDocument.h * src/cppunit/XmlDocument.cpp: * src/cppunit/XmlOutputter.cpp: integrated patch #997006 from Akos Maroy. This patch makes the 'standalone' attribute in XML header optional.
Diffstat (limited to 'src/cppunit/XmlOutputter.cpp')
-rw-r--r--src/cppunit/XmlOutputter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cppunit/XmlOutputter.cpp b/src/cppunit/XmlOutputter.cpp
index cc9f175..c605e33 100644
--- a/src/cppunit/XmlOutputter.cpp
+++ b/src/cppunit/XmlOutputter.cpp
@@ -59,6 +59,13 @@ XmlOutputter::setStyleSheet( const std::string &styleSheet )
void
+XmlOutputter::setStandalone( bool standalone )
+{
+ m_xml->setStandalone( standalone );
+}
+
+
+void
XmlOutputter::setRootNode()
{
XmlElement *rootNode = new XmlElement( "TestRun" );