org.testng.xml
Class ResultContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
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
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 |
ResultContentHandler
public ResultContentHandler(IRemoteSuiteListener suiteListener,
IRemoteTestListener testListener,
boolean resolveClasses)
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 © 2011. All Rights Reserved.