interface TestResult
The result of a test.
Author
Julien Viet
abstract fun beginTime(): Long
The time at which the test began in millis. |
|
abstract fun durationTime(): Long
How long the test lasted in millis. |
|
abstract fun failed(): Boolean
Did it fail? |
|
abstract fun failure(): Failure
An exception describing failure, null if the test succeeded. |
|
abstract fun name(): String
The test description, may be null if none was provided. |
|
abstract fun succeeded(): Boolean
Did it succeed? |