public final class FlakySurefireReportParser extends Object
| Constructor and Description |
|---|
FlakySurefireReportParser(List<File> reportsDirectoriesFiles,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
String |
computePercentage(int tests,
int errors,
int failures,
int skipped) |
List<org.apache.maven.plugins.surefire.report.ReportTestCase> |
getFailureDetails(List<org.apache.maven.plugins.surefire.report.ReportTestSuite> testSuites) |
NumberFormat |
getNumberFormat() |
Map<String,List<org.apache.maven.plugins.surefire.report.ReportTestSuite>> |
getSuitesGroupByPackage(List<org.apache.maven.plugins.surefire.report.ReportTestSuite> testSuitesList) |
Map<String,String> |
getSummary(List<org.apache.maven.plugins.surefire.report.ReportTestSuite> suites) |
static boolean |
hasReportFiles(File directory)
Returns
true if the specified directory contains at least one report file. |
protected String |
parseTestCaseName(String lineString) |
protected String |
parseTestSuiteName(String lineString) |
protected String |
parseTestSuitePackageName(String lineString) |
List<org.apache.maven.plugins.surefire.report.ReportTestSuite> |
parseXMLReportFiles() |
void |
setReportsDirectory(File reportsDirectory) |
public List<org.apache.maven.plugins.surefire.report.ReportTestSuite> parseXMLReportFiles() throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportExceptionpublic Map<String,String> getSummary(List<org.apache.maven.plugins.surefire.report.ReportTestSuite> suites)
public void setReportsDirectory(File reportsDirectory)
public NumberFormat getNumberFormat()
public Map<String,List<org.apache.maven.plugins.surefire.report.ReportTestSuite>> getSuitesGroupByPackage(List<org.apache.maven.plugins.surefire.report.ReportTestSuite> testSuitesList)
public String computePercentage(int tests, int errors, int failures, int skipped)
public List<org.apache.maven.plugins.surefire.report.ReportTestCase> getFailureDetails(List<org.apache.maven.plugins.surefire.report.ReportTestSuite> testSuites)
public static boolean hasReportFiles(File directory)
true if the specified directory contains at least one report file.directory - the directorytrue if the specified directory contains at least one report file.Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.