Class StepFinishedStateUpdater
- java.lang.Object
-
- de.bmiag.tapir.execution.executor.AbstractExecutionListener
-
- de.bmiag.tapir.execution.executor.StepFinishedStateUpdater
-
- All Implemented Interfaces:
ExecutionListener
@Component("tapirStepFinishedStateUpdater") @Order(10000) public class StepFinishedStateUpdater extends AbstractExecutionListener
Responsible for resetting the current step of theExecutionState
. ThisExecutionListener
has to have a higher order number than allExecutionListener
which rely onExecutionState.getCurrentTestStep()
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
- See Also:
ExecutionState
-
-
Constructor Summary
Constructors Constructor Description StepFinishedStateUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
stepFailed(TestStep testStep, java.lang.Throwable throwable)
Called when a test step has been finished with an exception.void
stepSucceeded(TestStep testStep)
Called when a test step has been finished successfully-
Methods inherited from class de.bmiag.tapir.execution.executor.AbstractExecutionListener
classFailed, classSkipped, classStarted, classSucceeded, executionFailed, executionStarted, executionSucceeded, stepSkipped, stepStarted, suiteFailed, suiteSkipped, suiteStarted, suiteSucceeded
-
-
-
-
Method Detail
-
stepSucceeded
public void stepSucceeded(TestStep testStep)
Description copied from interface:ExecutionListener
Called when a test step has been finished successfully- Specified by:
stepSucceeded
in interfaceExecutionListener
- Overrides:
stepSucceeded
in classAbstractExecutionListener
- Parameters:
testStep
- the test step which has been finished successfully- Since:
- 2.0.0
-
stepFailed
public void stepFailed(TestStep testStep, java.lang.Throwable throwable)
Description copied from interface:ExecutionListener
Called when a test step has been finished with an exception.- Specified by:
stepFailed
in interfaceExecutionListener
- Overrides:
stepFailed
in classAbstractExecutionListener
- Parameters:
testStep
- the test step which has been finished with an exceptionthrowable
- The occurred exception- Since:
- 2.0.0
-
-