made XML test report output non-standalone

This commit is contained in:
maroy 2004-07-24 08:14:38 +00:00
parent b492553d7a
commit 0257515683
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@
Author : $Author: maroy $ Author : $Author: maroy $
Version : $Revision: 1.2 $ Version : $Revision: 1.3 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/TestRunner.cxx,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/scheduler/src/TestRunner.cxx,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -172,6 +172,7 @@ main( int argc,
// also generate an XML document as an output // also generate an XML document as an output
std::ofstream xmlOutFile(xmlOutFileName->c_str()); std::ofstream xmlOutFile(xmlOutFileName->c_str());
CPPUNIT_NS::XmlOutputter xmlOutputter(&result, xmlOutFile, encoding); CPPUNIT_NS::XmlOutputter xmlOutputter(&result, xmlOutFile, encoding);
xmlOutputter.setStandalone(false);
if (xsltFileName) { if (xsltFileName) {
xmlOutputter.setStyleSheet(*xsltFileName); xmlOutputter.setStyleSheet(*xsltFileName);
} }