|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.basics.MessageDriver.MessageDriverNodeDecl
MessageDriver generates outgoing messages and checks incoming messages in
accordance with the TestScript specifications. Several TestScripts can
be configured to run in succession. At the conclusion of all TestScript
runs, the MessageDriver signals for system termination.
The MessageDriver can query any node instance, and subscribe to any
node instance, using the information in the testscript itself. It is
not configured for messaging as a standard node.
When a node is being unit tested, its instance declaration has
all of its messaging parameters set to be the MessageDriver instance.
This enables the MessageDriver to fully test all I/O for the node.
inbound synchronous message calls:
SandMessage onReceive(SandMessage msg)outbound asynchronous message sends:
void send(SandMessage msg)| Field Summary | |
protected java.lang.String |
basePath
A path specification which should be prepended to all TestScript file specifications. |
protected java.lang.String[] |
testScripts
Full filename specifications of serialized TestScript message instances to be loaded and run in succession. |
| Constructor Summary | |
MessageDriverNodeDecl()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String basePath
protected java.lang.String[] testScripts
| Constructor Detail |
public MessageDriverNodeDecl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||