Package org.citrusframework.container
Class RepeatUntilTrue
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.container.AbstractActionContainer
org.citrusframework.container.AbstractIteratingActionContainer
org.citrusframework.container.RepeatUntilTrue
- All Implemented Interfaces:
Described,Named,Completable,TestActionContainer,TestAction,TestActorAware
Typical implementation of repeat iteration loop. Nested test actions are executed until
aborting condition evaluates to true.
Index is incremented each iteration and stored as test variable accessible in the nested test actions
as normal variable. Index starts with 1 by default.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.citrusframework.container.AbstractIteratingActionContainer
condition, conditionExpression, index, indexName, startFields inherited from class org.citrusframework.container.AbstractActionContainer
actionsFields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteIteration(TestContext context) Execute embedded actions in loop.Methods inherited from class org.citrusframework.container.AbstractIteratingActionContainer
checkCondition, doExecute, executeActions, getCondition, getConditionExpression, getIndex, getIndexName, getStart, getTimeout, isDoneMethods inherited from class org.citrusframework.container.AbstractActionContainer
addTestAction, addTestAction, addTestActions, addTestActions, executeAction, getActionCount, getActionIndex, getActions, getActiveAction, getExecutedActions, getTestAction, setActions, setActiveAction, setExecutedActionMethods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.TestAction
execute, getActor, getName, isDisabled
-
Constructor Details
-
RepeatUntilTrue
Default constructor.
-
-
Method Details
-
executeIteration
Description copied from class:AbstractIteratingActionContainerExecute embedded actions in loop.- Specified by:
executeIterationin classAbstractIteratingActionContainer- Parameters:
context- Test context holding variable information.
-