public interface TestResult
Modifier and Type | Interface | Description |
---|---|---|
static class |
TestResult.ResultType |
The final status of a test.
|
Modifier and Type | Method | Description |
---|---|---|
long |
getEndTime() |
Returns the time when this test completed execution.
|
Throwable |
getException() |
If the test failed with an exception, this will be the exception.
|
List<Throwable> |
getExceptions() |
If the test failed with any exceptions, this will contain the exceptions.
|
long |
getFailedTestCount() |
Returns the number of failed atomic tests executed for this test.
|
TestResult.ResultType |
getResultType() |
Returns the type of result.
|
long |
getSkippedTestCount() |
Returns the number of skipped atomic tests executed for this test.
|
long |
getStartTime() |
Returns the time when this test started execution.
|
long |
getSuccessfulTestCount() |
Returns the number of successful atomic tests executed for this test.
|
long |
getTestCount() |
Returns the total number of atomic tests executed for this test.
|
TestResult.ResultType getResultType()
@Nullable Throwable getException()
List<Throwable> getExceptions()
long getStartTime()
long getEndTime()
long getTestCount()
long getSuccessfulTestCount()
long getFailedTestCount()
long getSkippedTestCount()