Interface TestResult
- All Superinterfaces:
FaultAware, Resource
- All Known Implementing Classes:
DefaultTestResult
Provides the results from running tests.
-
Method Summary
Modifier and TypeMethodDescriptionlongexecuted()Returns the number of executed tests.longfailed()Returns the number of test failures.name()The name of the test or test suite.static TestResultof(Project project, ResourceProvider provider, String name, long executed, long failed) Creates a new test result from the given values.project()The test project.Methods inherited from interface FaultAware
isFaulty, setFaultyMethods inherited from interface Resource
asOf, asOfLocalized, cleanup, isNewerThan, type
-
Method Details
-
project
-
name
-
executed
-
failed
-
of
static TestResult of(Project project, ResourceProvider provider, String name, long executed, long failed) Creates a new test result from the given values.- Parameters:
project- the projectprovider- the providername- the nameexecuted- the executedfailed- the failed- Returns:
- the test result
-