Class XMLSuiteResultWriter
java.lang.Object
org.testng.reporters.XMLSuiteResultWriter
Utility writing an ISuiteResult to an XMLStringBuffer. Depending on the settings in the
config property it might generate an additional XML file with the actual content and only
reference the file with an url attribute in the passed XMLStringBuffer.- Author:
- Cosmin Marginean, Mar 16, 2007
-
Constructor Summary
ConstructorsConstructorDescriptionXMLSuiteResultWriter(XMLReporterConfig config, ICustomizeXmlReport customizer) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTestMethodParams(XMLStringBuffer xmlBuffer, ITestResult testResult) voidwriteSuiteResult(XMLStringBuffer xmlBuffer, ISuiteResult suiteResult) Writes the specified ISuiteResult in the given XMLStringBuffer.
-
Constructor Details
-
XMLSuiteResultWriter
-
-
Method Details
-
writeSuiteResult
Writes the specified ISuiteResult in the given XMLStringBuffer. Please consider that depending on the settings in theconfigproperty it might generate an additional XML file with the actual content and only reference the file with anurlattribute in the passed XMLStringBuffer.- Parameters:
xmlBuffer- The XML buffer where to write or reference the suite resultsuiteResult- TheISuiteResultto serialize
-
addTestMethodParams
-