The result of a test.
Constructor and description |
---|
TestResult
(java.lang.Object delegate) |
Type | Name and description |
---|---|
long |
beginTime() The time at which the test began in millis. |
long |
durationTime() How long the test lasted in millis. |
boolean |
failed() Did it fail? |
Failure |
failure() An exception describing failure, null if the test succeeded. |
java.lang.Object |
getDelegate() |
java.lang.String |
name() The test description, may be null if none was provided. |
boolean |
succeeded() Did it succeed? |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The time at which the test began in millis.
How long the test lasted in millis.
Did it fail?
An exception describing failure, null if the test succeeded.
The test description, may be null if none was provided.
Did it succeed?