de.smartics.testdoc.report.junit
Class JUnitXmlReportParser

Package class diagram package JUnitXmlReportParser
java.lang.Object
  extended by de.smartics.testdoc.report.junit.JUnitXmlReportParser

public class JUnitXmlReportParser
     
     
extends Object

Reads the in-memory representation of a JUnit XML report.

Author:
Robert Reiner

Constructor Summary
JUnitXmlReportParser()
          Default constructor.
 
Method Summary
 JUnitTestCaseDoc read(InputStream input)
          Reads the XML information from the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitXmlReportParser

public JUnitXmlReportParser()
Default constructor.

Method Detail

read

public JUnitTestCaseDoc read(InputStream input)
                      throws org.jdom.JDOMException,
                             IOException
Reads the XML information from the stream.

Parameters:
input - the stream to read the JUnit XML report from.
Returns:
the parsed instance of the report.
Throws:
org.jdom.JDOMException - on any parsing problem.
IOException - if the stream cannot be read.


Copyright © 2010-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.