Package org.citrusframework.container
Class Assert
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.container.AbstractActionContainer
org.citrusframework.container.Assert
- All Implemented Interfaces:
Described,Named,Completable,TestActionContainer,TestAction,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(TestContext context) Subclasses may add custom execution logic here.Gets the action.Gets the exception.Get the message to send.getTestAction(int index) Methods inherited from class org.citrusframework.container.AbstractActionContainer
addTestAction, addTestAction, addTestActions, addTestActions, executeAction, getActionCount, getActionIndex, getActiveAction, getExecutedActions, 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
Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getAction
Gets the action.- Returns:
- the action
-
getMessage
Get the message to send.- Returns:
- the message
-
getException
Gets the exception.- Returns:
- the exception
-
getTestAction
- Specified by:
getTestActionin interfaceTestActionContainer- Overrides:
getTestActionin classAbstractActionContainer
-
getActions
- Specified by:
getActionsin interfaceTestActionContainer- Overrides:
getActionsin classAbstractActionContainer
-