made XML test report output non-standalone
This commit is contained in:
parent
b492553d7a
commit
0257515683
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue