JUnitXmlParser

public class JUnitXmlParser
extends AbstractXmlParser

java.lang.Object
   ↳ com.android.tradefed.util.xml.AbstractXmlParser
     ↳ com.android.tradefed.util.JUnitXmlParser


Parser that extracts test result data from JUnit results stored in ant's XMLJUnitResultFormatter and forwards it to a ITestInvocationListener.

See also:

Summary

Public constructors

JUnitXmlParser(ITestInvocationListener listener)

Create a JUnitXmlParser

Protected methods

DefaultHandler createXmlHandler()

Creates a DefaultHandler to process the xml

Public constructors

JUnitXmlParser

JUnitXmlParser (ITestInvocationListener listener)

Create a JUnitXmlParser

Parameters
listener ITestInvocationListener: the ITestInvocationListener to forward results to

Protected methods

createXmlHandler

DefaultHandler createXmlHandler ()

Creates a DefaultHandler to process the xml

Returns
DefaultHandler