| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITestResult
This class describes the result of a test.
Field Summary | |
---|---|
static int | FAILURE |
static int | SKIP |
static int | STARTED |
static int | SUCCESS |
static int | SUCCESS_PERCENTAGE_FAILURE |
Method Summary | |
---|---|
long | getEndMillis() |
String | getHost() |
Object | getInstance() The instance on which this method was run. |
String | getInstanceName() |
ITestNGMethod | getMethod() |
String | getName() |
Object[] | getParameters() |
long | getStartMillis() |
int | getStatus() |
IClass | getTestClass() |
ITestContext | getTestContext() |
String | getTestName() If this result's related instance implements ITest, returns its test name, otherwise returns null. |
Throwable | getThrowable() |
boolean | isSuccess() |
void | setEndMillis(long millis) |
void | setParameters(Object[] parameters) |
void | setStatus(int status) |
void | setThrowable(Throwable throwable) |
Methods inherited from interface org.testng.IAttributes |
---|
getAttribute, getAttributeNames, removeAttribute, setAttribute |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
static final int SUCCESS
static final int FAILURE
static final int SKIP
static final int SUCCESS_PERCENTAGE_FAILURE
static final int STARTED
Method Detail |
---|
int getStatus()
void setStatus(int status)
ITestNGMethod getMethod()
Object[] getParameters()
void setParameters(Object[] parameters)
IClass getTestClass()
Throwable getThrowable()
void setThrowable(Throwable throwable)
long getStartMillis()
long getEndMillis()
void setEndMillis(long millis)
String getName()
boolean isSuccess()
String getHost()
Object getInstance()
String getTestName()
String getInstanceName()
ITestContext getTestContext()
ITestContext
for this test result.
| ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |