|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An interface to a standard verification facillity.
this may seem like an unneccessary layer of abstraction, but I have plans for the future...
| Field Summary | |
static java.lang.String |
psVE_NO_CONTEXT
Test for exceptions. |
| Method Summary | |
boolean |
crc(int expected)
A CRC check operation. |
boolean |
exec(java.lang.String invocation,
java.lang.String content)
Run a sub-executable to perform a verification. |
void |
fresh(Response context)
Create a fresh verification context. |
int |
lastDelta()
Returns the numeric difference from the previous operation. |
void |
reset()
Reset the current verification context. |
boolean |
seek(java.lang.String expected)
A seek operation. |
boolean |
size(int expected)
A size check operation. |
| Field Detail |
public static final java.lang.String psVE_NO_CONTEXT
| Method Detail |
public void fresh(Response context)
throws VerifyException
address - Address specification.
public void reset()
throws VerifyException
address - Address specification.
public boolean seek(java.lang.String expected)
throws VerifyException
expected - the string to seek.
public boolean crc(int expected)
throws VerifyException
expected - the expected CRC value.
public boolean size(int expected)
throws VerifyException
expected - the expected size.
public int lastDelta()
throws VerifyException
It is calculated as actual - expected.
public boolean exec(java.lang.String invocation,
java.lang.String content)
throws VerifyException
invocation - an invocation string. used by the specific verification
to determine what to run and how to run it.content - passed to the sun-executable as content.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||