@Component(value="tapirAssertPostPageStepExecutionInvocationHandler") public class AssertPostPageStepExecutionInvocationHandler extends Object implements StepExecutionInvocationHandler
AssertPostPage
and ensures that AssertPostPage.value()
is active after
the step has been executed.StepExecutionInvocationHandler.Result
Constructor and Description |
---|
AssertPostPageStepExecutionInvocationHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handlePostInvoke(TestStep testStep,
Object testInstance)
This method is called after a step is executed successfully.
|
StepExecutionInvocationHandler.Result |
handlePreInvoke(TestStep testStep,
Object testInstance)
This method is called before a step is executed.
|
public AssertPostPageStepExecutionInvocationHandler()
public StepExecutionInvocationHandler.Result handlePreInvoke(TestStep testStep, Object testInstance)
StepExecutionInvocationHandler
PROCEED
the step is executed
afterwards. By returning SKIP
the step is skipped. Moreover it's possible to throw a
RuntimeException
in order to mark the step as failed.handlePreInvoke
in interface StepExecutionInvocationHandler
testStep
- the step which should be executedtestInstance
- the test instance which is used to execute the steppublic void handlePostInvoke(TestStep testStep, Object testInstance)
StepExecutionInvocationHandler
RuntimeException
in order
to mark the step as failed.handlePostInvoke
in interface StepExecutionInvocationHandler
testStep
- the step which has been executed successfullytestInstance
- the test instance which has been used to execute the stepCopyright © 2018–2019 b+m Informatik AG. All rights reserved.