org.sandev.basics.structs
Class TestStepStruct

java.lang.Object
  extended by org.sandev.basics.structs.TestStepStruct
Direct Known Subclasses:
TestStep

public class TestStepStruct
extends java.lang.Object

A TestStep is one step within a testing script. It consists of a triggering message condition and an action.

summary fields: name
This message has the following verb forms: update
declared printname: Test Step
help text: A TestStep is one step within a testing script. It consists of a triggering message condition and an action. Specifying a null condition means the action is executed unconditionally. Specifying a null action means that the condition must be met but no action is needed (script execution moves on to the next step). If the condition being tested is synchronous (such as a query or AggregateUpdate), then the response message must be specified in the action.

Field Summary
protected  TestActionStruct action
          The action to be taken if the condition is met or unspecified.
protected  TestConditionStruct condition
          The condition that must be met for the action in this step to be taken.
protected  java.lang.String name
          An intuitive name for this step.
 
Constructor Summary
TestStepStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
An intuitive name for this step. Used for display to help identify each step in the test.

Length in characters, normal: 40 max: 80
help text: An intuitive name for this step. Used for display to identify each step in the test.

condition

protected TestConditionStruct condition
The condition that must be met for the action in this step to be taken. Optional.


action

protected TestActionStruct action
The action to be taken if the condition is met or unspecified. Optional.

Constructor Detail

TestStepStruct

public TestStepStruct()