hudson.plugins.testng.parser
Class ResultsParser
java.lang.Object
hudson.plugins.testng.parser.ResultsParser
public class ResultsParser
- extends Object
Parses testng result XMLs generated using org.testng.reporters.XmlReporter
into objects that are then used to display results in Jenkins.
Note that instances of this class are not thread-safe to use!
- Author:
- nullin
|
Method Summary |
TestResults |
parse(hudson.FilePath[] paths)
Parses the XML for relevant information |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATE_FORMAT
public static final String DATE_FORMAT
- See Also:
- Constant Field Values
PARSER_FACTORY
public static org.xmlpull.v1.XmlPullParserFactory PARSER_FACTORY
ResultsParser
public ResultsParser()
parse
public TestResults parse(hudson.FilePath[] paths)
- Parses the XML for relevant information
- Parameters:
paths - a file hopefully containing test related data in correct format
- Returns:
- a collection of test results
Copyright © 2004-2011. All Rights Reserved.