public class ResultsParser extends Object
PrintStream is not available, we log
using Logger. Also, logging is done only using the log(String)
and log(Exception) methods.)
Note that instances of this class are not thread-safe to use!| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_FORMAT |
static org.xmlpull.v1.XmlPullParserFactory |
PARSER_FACTORY |
| Constructor and Description |
|---|
ResultsParser() |
ResultsParser(PrintStream logger) |
| Modifier and Type | Method and Description |
|---|---|
TestNGResult |
parse(hudson.FilePath[] paths)
Parses the XML for relevant information
|
public static final String DATE_FORMAT
public static final org.xmlpull.v1.XmlPullParserFactory PARSER_FACTORY
public ResultsParser()
public ResultsParser(PrintStream logger)
public TestNGResult parse(hudson.FilePath[] paths)
paths - a file hopefully containing test related data in correct formatCopyright © 2016–2018. All rights reserved.