|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestResult
Describes a test result.
Nested Class Summary | |
---|---|
static class |
TestResult.ResultType
The final status of a test. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
TestResult.ResultType getResultType()
Throwable getException()
List<Throwable> getExceptions()
long getStartTime()
long getEndTime()
long getTestCount()
long getSuccessfulTestCount()
long getFailedTestCount()
long getSkippedTestCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |