ca.intelliware.amakihi.fixture
Class Script
java.lang.Object
|
+--ca.intelliware.amakihi.fixture.Script
- public class Script
- extends java.lang.Object
Constructor Summary |
protected |
Script(org.w3c.dom.Element script)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXCEPTION
public static final int EXCEPTION
SAMPLE
public static final int SAMPLE
SUBSET
public static final int SUBSET
EXACT
public static final int EXACT
UNKNOWN
public static final int UNKNOWN
XSD_NAMESPACE
public static final java.lang.String XSD_NAMESPACE
XSD_LOCATION
public static final java.lang.String XSD_LOCATION
Script
protected Script(org.w3c.dom.Element script)
createScripts
public static Script[] createScripts(org.w3c.dom.Document document)
Create an array of Scripts from an XML document. This
factory method scans the XML document for
<script>
tags.
- Parameters:
Document
- the input integration test XML document.- Returns:
- an array of Script objects.
getActions
public Script.Action[] getActions()
Get all actions within a script.
- Returns:
- an array of Actions.
getDescription
public java.lang.String getDescription()
getStoryId
public java.lang.String getStoryId()
getResourceDefinition
public Script.ResourceDefinition getResourceDefinition(java.lang.String name)
Copyright 2002 Intelliware Development. All Rights Reserved.