Constructor and Description |
---|
TestResult(TestResult delegate) |
Modifier and Type | Method 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.
|
Object |
getDelegate() |
String |
name()
The test description, may be null if none was provided.
|
static TestResult |
newInstance(TestResult arg) |
boolean |
succeeded()
Did it succeed?
|
public TestResult(TestResult delegate)
public Object getDelegate()
public String name()
public long beginTime()
public long durationTime()
public boolean succeeded()
public boolean failed()
public Failure failure()
public static TestResult newInstance(TestResult arg)
Copyright © 2016. All rights reserved.