hudson.plugins.testng.parser
Class ResultsParser

java.lang.Object
  extended by hudson.plugins.testng.parser.ResultsParser

public class ResultsParser
extends java.lang.Object

Parses testng result XMLs generated using org.testng.reporters.XmlReporter into objects that are then used to display results in Jenkins

Author:
nullin

Field Summary
static java.lang.String DATE_FORMAT
           
 
Constructor Summary
ResultsParser()
           
 
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
 

Field Detail

DATE_FORMAT

public static java.lang.String DATE_FORMAT
Constructor Detail

ResultsParser

public ResultsParser()
Method Detail

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.