org.testng.reporters
Class XMLSuiteResultWriter

java.lang.Object  extended by org.testng.reporters.XMLSuiteResultWriter

public class XMLSuiteResultWriter
extends Object

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
XMLSuiteResultWriter(XMLReporterConfig config)
           
 
Method Summary
 voidaddTestMethodParams(XMLStringBuffer xmlBuffer, ITestResult testResult)
           
 voidwriteSuiteResult(XMLStringBuffer xmlBuffer, ISuiteResult suiteResult)
          Writes the specified ISuiteResult in the given XMLStringBuffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSuiteResultWriter

public XMLSuiteResultWriter(XMLReporterConfig config)
Method Detail

writeSuiteResult

public void writeSuiteResult(XMLStringBuffer xmlBuffer,                             ISuiteResult suiteResult)
Writes the specified ISuiteResult in the given XMLStringBuffer. Please consider that 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.

Parameters:
xmlBuffer - The XML buffer where to write or reference the suite result
suiteResult - The ISuiteResult to serialize

addTestMethodParams

public void addTestMethodParams(XMLStringBuffer xmlBuffer,                                ITestResult testResult)


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14