Package org.citrusframework.container
Class Assert
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.container.AbstractActionContainer
org.citrusframework.container.Assert
- All Implemented Interfaces:
org.citrusframework.common.Described,org.citrusframework.common.Named,org.citrusframework.Completable,org.citrusframework.container.TestActionContainer,org.citrusframework.TestAction,org.citrusframework.TestActorAware
Assert exception to happen in nested test action.
- Since:
- 2009
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.citrusframework.container.AbstractActionContainer
actionsFields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(org.citrusframework.context.TestContext context) Subclasses may add custom execution logic here.org.citrusframework.TestActionGets the action.List<org.citrusframework.TestAction>Gets the exception.Get the message to send.org.citrusframework.TestActiongetTestAction(int index) Methods inherited from class org.citrusframework.container.AbstractActionContainer
addTestAction, addTestAction, addTestActions, addTestActions, executeAction, getActionCount, getActionIndex, getActiveAction, getExecutedActions, getNumberOfExecutedActions, isDone, 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
-
Assert
Default constructor.
-
-
Method Details
-
doExecute
public void doExecute(org.citrusframework.context.TestContext context) Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getAction
public org.citrusframework.TestAction getAction()Gets the action.- Returns:
- the action
-
getMessage
Get the message to send.- Returns:
- the message
-
getException
Gets the exception.- Returns:
- the exception
-
getTestAction
public org.citrusframework.TestAction getTestAction(int index) - Specified by:
getTestActionin interfaceorg.citrusframework.container.TestActionContainer- Overrides:
getTestActionin classAbstractActionContainer
-
getActions
- Specified by:
getActionsin interfaceorg.citrusframework.container.TestActionContainer- Overrides:
getActionsin classAbstractActionContainer
-