Package org.testng.reporters
Class AbstractXmlReporter
java.lang.Object
org.testng.reporters.AbstractXmlReporter
- All Implemented Interfaces:
IReporter
,ITestNGListener
,ICustomizeXmlReport
- Direct Known Subclasses:
PerSuiteXMLReporter
,XMLReporter
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCustomTagsFor
(XMLStringBuffer xmlBuffer, ITestResult testResult) protected final AbstractXmlReporter.Count
fileName()
Get the reporter configuration object.protected static void
setDurationAttributes
(XMLReporterConfig config, Properties attributes, Date minStartDate, Date maxEndDate) protected final void
writeReporterOutput
(XMLStringBuffer xmlBuffer) protected final void
writeReporterOutput
(XMLStringBuffer xmlBuffer, List<String> output) protected final void
writeSuite
(XMLStringBuffer rootBuffer, ISuite suite) protected final Properties
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.testng.IReporter
generateReport
Methods inherited from interface org.testng.ITestNGListener
isEnabled
-
Constructor Details
-
AbstractXmlReporter
public AbstractXmlReporter()
-
-
Method Details
-
fileName
-
getConfig
Description copied from interface:IReporter
Get the reporter configuration object.NOTE: Reporter configuration objects must adhere to the JavaBean object conventions, providing getter and setter methods that conform to standard naming rules. This enables
ReporterConfig
to serialize, deserialize, and instantiate the reporter. -
addCustomTagsFor
- Specified by:
addCustomTagsFor
in interfaceICustomizeXmlReport
- Parameters:
xmlBuffer
- - AnXMLStringBuffer
object that represents the buffer to be used.testResult
- - AnITestResult
object that represents a test method's result.
-
writeReporterOutput
-
writeReporterOutput
-
writeSuite
-
setDurationAttributes
protected static void setDurationAttributes(XMLReporterConfig config, Properties attributes, Date minStartDate, Date maxEndDate) -
writeSummaryCount
-
computeCountForSuite
-