junit.extensions.awt.script
Class Terminate
java.lang.Object
|
+--junit.extensions.awt.script.Step
|
+--junit.extensions.awt.script.Terminate
- All Implemented Interfaces:
- Tags, XMLifiable
- public class Terminate
- extends Step
Provides scripted static method invocation.
Fields inherited from interface junit.extensions.awt.script.Tags |
TAG_ACTION, TAG_ARGS, TAG_ASSERT, TAG_AWTTESTSCRIPT, TAG_CLASS, TAG_COMPONENT, TAG_COUNT, TAG_DESC, TAG_EVENT, TAG_FILENAME, TAG_ID, TAG_INVERT, TAG_INVOKER, TAG_KEYCHAR, TAG_KEYCODE, TAG_KIND, TAG_LAUNCH, TAG_METHOD, TAG_MODIFIERS, TAG_NAME, TAG_PARENT, TAG_POLL_INTERVAL, TAG_SCRIPT, TAG_SEQUENCE, TAG_STOP_ON_ERROR, TAG_STOP_ON_FAILURE, TAG_TAG, TAG_TERMINATE, TAG_THREADED, TAG_TIMEOUT, TAG_TITLE, TAG_TRIGGER, TAG_TYPE, TAG_VALUE, TAG_WAIT, TAG_WINDOW, TAG_X, TAG_Y |
Method Summary |
protected java.lang.String |
getDefaultDescription()
Return a reasonable default description for this script step. |
protected java.lang.String |
getUsage()
Provide a usage String for this step. |
protected java.lang.String |
getXMLTag()
Define the XML tag to use for this script step. |
protected void |
runStep()
Main run method, which stores any failures or exceptions for later
retrieval. |
Methods inherited from class junit.extensions.awt.script.Step |
addStepListener, clearFailures, createAttributeMap, createStep, createStep, fireStepEnd, fireStepError, fireStepEvent, fireStepEvent, fireStepEvent, fireStepFailure, fireStepProgress, fireStepStart, getAttributes, getContents, getDescription, getError, getFailure, getFinder, getResolver, getStopOnError, getStopOnFailure, getTester, parseAttributes, removeStepListener, resolve, resolveTester, run, setDescription, setError, setFailure, setStopOnError, setStopOnFailure, simpleClassName, toString, toXML, usage, usage |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Terminate
public Terminate(Resolver resolver,
ComponentFinder finder,
java.util.HashMap attributes)
throws InvalidScriptException
Terminate
public Terminate(Resolver resolver,
ComponentFinder finder,
java.lang.String description)
runStep
protected void runStep()
- Description copied from class:
Step
- Main run method, which stores any failures or exceptions for later
retrieval.
- Overrides:
runStep
in class Step
getDefaultDescription
protected java.lang.String getDefaultDescription()
- Description copied from class:
Step
- Return a reasonable default description for this script step.
This value is used in the absence of an explicit description.
- Overrides:
getDefaultDescription
in class Step
getUsage
protected java.lang.String getUsage()
- Description copied from class:
Step
- Provide a usage String for this step.
- Overrides:
getUsage
in class Step
getXMLTag
protected java.lang.String getXMLTag()
- Description copied from class:
Step
- Define the XML tag to use for this script step.
- Overrides:
getXMLTag
in class Step