Interface TestResult
-
Method Summary
Modifier and TypeMethodDescriptionlongThe time at which the test began in millis.longHow long the test lasted in millis.booleanfailed()Did it fail?failure()An exception describing failure, null if the test succeeded.name()The test description, may be null if none was provided.booleanDid it succeed?
-
Method Details
-
name
String name()The test description, may be null if none was provided. -
beginTime
long beginTime()The time at which the test began in millis. -
durationTime
long durationTime()How long the test lasted in millis. -
succeeded
boolean succeeded()Did it succeed? -
failed
boolean failed()Did it fail? -
failure
Failure failure()An exception describing failure, null if the test succeeded.
-