org.testng
public interface ITestResult extends IAttributes, java.lang.Comparable<ITestResult>
Modifier and Type | Field and Description |
---|---|
static int |
FAILURE |
static int |
SKIP |
static int |
STARTED |
static int |
SUCCESS |
static int |
SUCCESS_PERCENTAGE_FAILURE |
Modifier and Type | Method and Description |
---|---|
long |
getEndMillis() |
java.lang.String |
getHost() |
java.lang.Object |
getInstance()
The instance on which this method was run.
|
ITestNGMethod |
getMethod() |
java.lang.String |
getName() |
java.lang.Object[] |
getParameters() |
long |
getStartMillis() |
int |
getStatus() |
IClass |
getTestClass() |
java.lang.Throwable |
getThrowable() |
boolean |
isSuccess() |
void |
setEndMillis(long millis) |
void |
setParameters(java.lang.Object[] parameters) |
void |
setStatus(int status) |
void |
setThrowable(java.lang.Throwable throwable) |
getAttribute, setAttribute
static final int SUCCESS
static final int FAILURE
static final int SKIP
static final int SUCCESS_PERCENTAGE_FAILURE
static final int STARTED
int getStatus()
void setStatus(int status)
ITestNGMethod getMethod()
java.lang.Object[] getParameters()
void setParameters(java.lang.Object[] parameters)
IClass getTestClass()
java.lang.Throwable getThrowable()
void setThrowable(java.lang.Throwable throwable)
long getStartMillis()
long getEndMillis()
void setEndMillis(long millis)
java.lang.String getName()
boolean isSuccess()
java.lang.String getHost()
java.lang.Object getInstance()