org.sandev.basics.structs
Class TestScriptStruct

java.lang.Object
  extended by org.sandev.basics.structs.TestScriptStruct
Direct Known Subclasses:
TestScript

public class TestScriptStruct
extends java.lang.Object

A TestScript is a directive to generate and/or verify a particular sequence of messaging events. A TestScript is typically executed by a MessageDriver to drive activity in a deployed configuration.

TestScripts are not persistent. They are typically serialized and loaded from their serialized form as part of the driver node startup. Associations of TestScripts, and TestScript instances are edited from the management interface. Because they are the root instance in a file, they are unnamed since having a name would only lead to confusion if the name didn't match the filename.

This message has the following verb forms: update
declared printname: Test Script
help text: A TestScript is a directive to generate and/or verify a particular sequence of messaging events. A TestScript is typically executed by a MessageDriver to drive activity in a deployed configuration.

Field Summary
protected  java.lang.String comment
          General comments about this test.
protected  java.lang.String configFile
          The name of the configuration file to be used for this test, specified as a relative path.
protected  SandPersistMessage[] createdData
          Data created during the testSteps, used for reference lookup purposes during test creation to allow references to resolve.
protected  SandPersistMessage[] initialData
          The initial data used for this test, in addition to the initial data specified in the Configuration.
protected  TestStepStruct[] testSteps
          The steps to take for this testing script.
 
Constructor Summary
TestScriptStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comment

protected java.lang.String comment
General comments about this test. What this is meant to do, things to watch out for, setup details of interest etc.

Length in characters, normal: 255 max: 4096

configFile

protected java.lang.String configFile
The name of the configuration file to be used for this test, specified as a relative path.

declared invalid value: "INVALID_CONFIG_FILENAME"
Length in characters, normal: 40 max: 128
declared metatype: SANDXMLFile
declared printname: configuration file
help text: The name of the configuration file to be used for this test, specified as a relative path. If the config file is in the same directory as the test file, then this is the unqualified (short) name of the file.

initialData

protected SandPersistMessage[] initialData
The initial data used for this test, in addition to the initial data specified in the Configuration. Instances defined here are used for lookup and default query handling.


testSteps

protected TestStepStruct[] testSteps
The steps to take for this testing script.


createdData

protected SandPersistMessage[] createdData
Data created during the testSteps, used for reference lookup purposes during test creation to allow references to resolve.

Constructor Detail

TestScriptStruct

public TestScriptStruct()