summaryrefslogtreecommitdiff
path: root/include/cppunit/XmlOutputter.h
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 /include/cppunit/XmlOutputter.h
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 'include/cppunit/XmlOutputter.h')
-rw-r--r--include/cppunit/XmlOutputter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/cppunit/XmlOutputter.h b/include/cppunit/XmlOutputter.h
index 4034d2e..0de9676 100644
--- a/include/cppunit/XmlOutputter.h
+++ b/include/cppunit/XmlOutputter.h
@@ -75,6 +75,15 @@ public:
*/
virtual void setStyleSheet( const std::string &styleSheet );
+ /*! \brief set the output document as standalone or not.
+ *
+ * For the output document, specify wether it's a standalone XML
+ * document, or not.
+ *
+ * \param standalone if true, the output will be specified as standalone.
+ * if false, it will be not.
+ */
+ virtual void setStandalone( bool standalone );
typedef CppUnitMap<Test *,TestFailure*, std::less<Test*> > FailedTests;