Package org.citrusframework.actions
Class FailAction
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.FailAction
- All Implemented Interfaces:
Described,Named,TestAction,TestActorAware
Action fails the test explicitly. User can specify a cause message.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields 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 message.Methods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Constructor Details
-
FailAction
Default constructor.
-
-
Method Details
-
doExecute
Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getMessage
Gets the message.- Returns:
- the message
-