public class Async extends AbstractActionContainer
actions
description
Constructor and Description |
---|
Async() |
Modifier and Type | Method and Description |
---|---|
Async |
addErrorAction(TestAction action)
Adds a error action.
|
Async |
addErrorActions(TestAction... actions)
Adds one to many error actions.
|
Async |
addSuccessAction(TestAction action)
Adds a success action.
|
Async |
addSuccessActions(TestAction... actions)
Adds one to many success actions.
|
void |
doExecute(TestContext context)
Subclasses may add custom execution logic here.
|
List<TestAction> |
getErrorActions()
Gets the errorActions.
|
List<TestAction> |
getSuccessActions()
Gets the successActions.
|
void |
setErrorActions(List<TestAction> errorActions)
Sets the errorActions.
|
void |
setSuccessActions(List<TestAction> successActions)
Sets the successActions.
|
addTestAction, addTestActions, getActionCount, getActionIndex, getActions, getActiveAction, getExecutedActions, getTestAction, isDone, setActions, setActiveAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
public void doExecute(TestContext context)
AbstractTestAction
doExecute
in class AbstractTestAction
public Async addErrorAction(TestAction action)
action
- public Async addSuccessAction(TestAction action)
action
- public Async addErrorActions(TestAction... actions)
actions
- public Async addSuccessActions(TestAction... actions)
actions
- public void setSuccessActions(List<TestAction> successActions)
successActions
- public List<TestAction> getSuccessActions()
public void setErrorActions(List<TestAction> errorActions)
errorActions
- public List<TestAction> getErrorActions()
Copyright © 2008–2018 ConSol Software GmbH. All rights reserved.