public class Result extends Mappable
Modifier and Type | Field and Description |
---|---|
static String |
FAILED |
static String |
PASSED |
static Result |
SKIPPED |
static Result |
UNDEFINED |
Constructor and Description |
---|
Result(String status,
Long duration,
String errorMessage)
Used when parsing JSON.
|
Result(String status,
Long duration,
Throwable error,
Object dummy)
Used at runtime
|
Modifier and Type | Method and Description |
---|---|
Long |
getDuration() |
Throwable |
getError() |
String |
getErrorMessage() |
String |
getStatus() |
void |
replay(Reporter reporter) |
public static final Result SKIPPED
public static final Result UNDEFINED
public static final String PASSED
public static final String FAILED
Copyright © 2017. All rights reserved.