public class HelperAssertions extends Object
Constructor and Description |
---|
HelperAssertions() |
Modifier and Type | Method and Description |
---|---|
static void |
assertIntegrationTestSuiteResults(int total,
File testDir) |
static void |
assertIntegrationTestSuiteResults(int total,
int errors,
int failures,
int skipped,
File testDir)
assert that the reports in the specified testDir have the right summary statistics
|
static void |
assertTestSuiteResults(int total,
File testDir) |
static void |
assertTestSuiteResults(int total,
IntegrationTestSuiteResults actualSuite) |
static void |
assertTestSuiteResults(int total,
int errors,
int failures,
int skipped,
File testDir)
assert that the reports in the specified testDir have the right summary statistics
|
static void |
assertTestSuiteResults(int total,
int errors,
int failures,
int skipped,
IntegrationTestSuiteResults actualSuite) |
static void |
assertTestSuiteResults(int total,
int errors,
int failures,
int skipped,
int flakes,
File testDir) |
static void |
assertTestSuiteResults(int total,
int errors,
int failures,
int skipped,
int flakes,
IntegrationTestSuiteResults actualSuite) |
static List<ReportTestSuite> |
extractITReports(File... testDirs) |
static List<ReportTestSuite> |
extractReports(File... testDirs) |
static IntegrationTestSuiteResults |
parseIntegrationTestResults(File... testDirs) |
static IntegrationTestSuiteResults |
parseReportList(List<ReportTestSuite> reports)
Converts a list of ReportTestSuites into an IntegrationTestSuiteResults object, suitable for summary assertions
|
static IntegrationTestSuiteResults |
parseTestResults(File... testDirs) |
public static void assertTestSuiteResults(int total, int errors, int failures, int skipped, File testDir)
public static void assertTestSuiteResults(int total, int errors, int failures, int skipped, int flakes, File testDir)
public static void assertTestSuiteResults(int total, File testDir)
public static void assertIntegrationTestSuiteResults(int total, int errors, int failures, int skipped, File testDir)
public static void assertIntegrationTestSuiteResults(int total, File testDir)
public static void assertTestSuiteResults(int total, int errors, int failures, int skipped, IntegrationTestSuiteResults actualSuite)
public static void assertTestSuiteResults(int total, IntegrationTestSuiteResults actualSuite)
public static void assertTestSuiteResults(int total, int errors, int failures, int skipped, int flakes, IntegrationTestSuiteResults actualSuite)
public static IntegrationTestSuiteResults parseTestResults(File... testDirs)
public static IntegrationTestSuiteResults parseIntegrationTestResults(File... testDirs)
public static IntegrationTestSuiteResults parseReportList(List<ReportTestSuite> reports)
public static List<ReportTestSuite> extractReports(File... testDirs)
public static List<ReportTestSuite> extractITReports(File... testDirs)
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.