org.apache.geronimo.mavenplugins.testsuite.report
Class SurefireReportParser
java.lang.Object
org.apache.geronimo.mavenplugins.testsuite.report.SurefireReportParser
public class SurefireReportParser
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SurefireReportParser
public SurefireReportParser()
SurefireReportParser
public SurefireReportParser(File reportsDirectory,
Locale locale)
parseXMLReportFiles
public List parseXMLReportFiles()
throws org.apache.maven.reporting.MavenReportException
- Throws:
org.apache.maven.reporting.MavenReportException
parseTestSuiteName
protected String parseTestSuiteName(String lineString)
parseTestSuitePackageName
protected String parseTestSuitePackageName(String lineString)
parseTestCaseName
protected String parseTestCaseName(String lineString)
getSummary
public Map getSummary(List suites)
setReportsDirectory
public void setReportsDirectory(File reportsDirectory)
getReportsDirectory
public File getReportsDirectory()
setLocale
public final void setLocale(Locale locale)
getLocale
public Locale getLocale()
setNumberFormat
public void setNumberFormat(NumberFormat numberFormat)
getNumberFormat
public NumberFormat getNumberFormat()
getSuitesGroupByPackage
public Map getSuitesGroupByPackage(List testSuitesList)
computePercentage
public String computePercentage(int tests,
int errors,
int failures,
int skipped)
getFailureDetails
public List getFailureDetails(List testSuitesList)
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.