|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjetif.CaseResult
A CaseResult is a result object for a test case. It consists of
serveral method result and some result information about the test case, such
as name, status and elapsed time of test case.
| Field Summary | |
static int |
FAILED
The int value representing the failed state. |
static int |
PASSED
The int value representing the passed state. |
static int |
SKIPPED
The int value representing the skipped state. |
static int |
UNKNOWN
The int value representing the unknown state. |
| Method Summary | |
List |
getComments()
Returns all comments of this test case. |
long |
getElapsedTime()
Returns elapsed time of this test case. |
List |
getMethodResults()
Returns list contains all results of test methods which has been ran. |
Vector |
getMethods()
Deprecated. use the getMethodResults() instead |
String |
getName()
Returns the name of this case. |
CaseSpec |
getSpec()
Returns the spec of this test case. |
int |
getState()
Returns the state of this test case, the returned value maybe one of UNKNOWN, PASSED, FAILED, SKIPPED. |
void |
setName(String name)
Set the name of this case result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int UNKNOWN
public static final int PASSED
public static final int FAILED
public static final int SKIPPED
| Method Detail |
public void setName(String name)
name - the name of test case.public String getName()
public List getMethodResults()
public Vector getMethods()
public List getComments()
Vector object with String element.public long getElapsedTime()
public int getState()
public CaseSpec getSpec()
|
Jetif v1.8.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||