public static class TestScript.TestAction extends BaseIdentifiableElement implements IResourceBlock
Definition: Action would contain either an operation or an assertion.
| Constructor and Description |
|---|
TestAction() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
TestScript.SetupActionAssert |
getAssert()
Gets the value(s) for assert ().
|
TestScript.SetupActionOperation |
getOperation()
Gets the value(s) for operation ().
|
boolean |
isEmpty() |
TestScript.TestAction |
setAssert(TestScript.SetupActionAssert theValue)
Sets the value(s) for assert ()
|
TestScript.TestAction |
setOperation(TestScript.SetupActionOperation theValue)
Sets the value(s) for operation ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic TestAction()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic TestScript.SetupActionOperation getOperation()
null.
Definition: An operation would involve a REST request to a server.
public TestScript.TestAction setOperation(TestScript.SetupActionOperation theValue)
Definition: An operation would involve a REST request to a server.
public TestScript.SetupActionAssert getAssert()
null.
Definition: Evaluates the results of previous operations to determine if the server under test behaves appropriately.
public TestScript.TestAction setAssert(TestScript.SetupActionAssert theValue)
Definition: Evaluates the results of previous operations to determine if the server under test behaves appropriately.
Copyright © 2014–2016 University Health Network. All rights reserved.