|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUnitTestResult
The results of the execution of a single test.
| Field Summary | |
|---|---|
static int |
ERROR
This test couldn't be correctly executed. |
static int |
FAILED
The execution of this test failed. |
static int |
SUCCESSFUL
This test was successfully executed. |
static int |
WARNING
Warnings were raised during the execution. |
| Method Summary | |
|---|---|
long |
getExecutionTime()
The time (in milliseconds) it took for this test to run. |
java.lang.String |
getName()
Retrieves the name of the test this result corresponds to. |
IReceivedMessage |
getReceivedMessageAt(int pIndex)
Gets the expected message that was received at the specified index. |
java.util.List |
getReceivedMessages()
Retrieves the list of received expected messages. |
java.util.HashMap |
getStillWaiting()
The list of events that haven't been received. |
int |
getTestResult()
The result of the execution of the test. |
java.lang.String |
getUserMessage()
A message that is user friendly. |
int |
receivedMsgSize()
The number of expected messages that were received. |
| Field Detail |
|---|
static final int SUCCESSFUL
static final int FAILED
static final int WARNING
static final int ERROR
| Method Detail |
|---|
java.lang.String getName()
java.lang.String getUserMessage()
int getTestResult()
SUCCESSFUL, FAILED, WARNING or ERROR.long getExecutionTime()
int receivedMsgSize()
IReceivedMessage getReceivedMessageAt(int pIndex)
pIndex - the index of the expected message that was received.
receivedMsgSize()java.util.List getReceivedMessages()
getReceivedMessageAt(int),
receivedMsgSize()java.util.HashMap getStillWaiting()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||