|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A MessageValidator class can be configured as part of a TestScript, to check for arbitrary input situations. The MessageDriver functions as an input filter, passing through any messages that meet the match specifications. The test then succeeds or fails based on the the returned value. See the method comments for details.
| Field Summary | |
static int |
INVALID
The given message is invalid, an error, problem, bad etc. |
static int |
UNKNOWN
The given message is unknown. |
static int |
VALID
The given message is valid, ok, not a problem, good etc. |
| Method Summary | |
int |
asynchError(SandMessage msg,
MessageDriverNode driver)
The given message may be an error according to the match specification. |
int |
asynchExpected(SandMessage msg,
MessageDriverNode driver)
The given message may be correct input according to the match specification. |
int |
queryResult(SandMessage sent,
SandMessage received,
MessageDriverNode driver)
Confirm the status of this response to the given query. |
| Field Detail |
public static final int UNKNOWN
public static final int VALID
public static final int INVALID
| Method Detail |
public int asynchError(SandMessage msg,
MessageDriverNode driver)
public int asynchExpected(SandMessage msg,
MessageDriverNode driver)
public int queryResult(SandMessage sent,
SandMessage received,
MessageDriverNode driver)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||