org.testng.xml
Class ResultContentHandler

java.lang.Object  extended by org.xml.sax.helpers.DefaultHandler      extended by org.testng.xml.ResultContentHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ResultContentHandler
extends DefaultHandler

Parses testng-result.xml, create TestResultMessages and send them back to the listener as we encounter them.

Author:
Cedric Beust


Constructor Summary
ResultContentHandler(IRemoteSuiteListener suiteListener, IRemoteTestListener testListener, boolean resolveClasses)
           
 
Method Summary
 voidcharacters(char[] ch, int start, int length)
           
 voidendElement(String uri, String localName, String qName)
           
 voidstartElement(String uri, String localName, String qName, Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultContentHandler

public ResultContentHandler(IRemoteSuiteListener suiteListener,                            IRemoteTestListener testListener,                            boolean resolveClasses)
Method Detail

startElement

public void startElement(String uri,                         String localName,                         String qName,                         Attributes attributes)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler

characters

public void characters(char[] ch,                       int start,                       int length)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DefaultHandler

endElement

public void endElement(String uri,                       String localName,                       String qName)
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DefaultHandler


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