|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface TestResult
Describes a test result.
Nested Class Summary | |
---|---|
enum |
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
|
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()
Describes a test 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 |
---|
public long getEndTime()
public Throwable getException()
public List getExceptions()
public long getFailedTestCount()
public TestResult.ResultType getResultType()
public long getSkippedTestCount()
public long getStartTime()
public long getSuccessfulTestCount()
public long getTestCount()
Gradle API 1.12