Package io.camunda.zeebe.spring.test
Class ZeebeTestExecutionListener
java.lang.Object
io.camunda.zeebe.spring.test.AbstractZeebeTestExecutionListener
io.camunda.zeebe.spring.test.ZeebeTestExecutionListener
- All Implemented Interfaces:
org.springframework.core.Ordered,org.springframework.test.context.TestExecutionListener
public class ZeebeTestExecutionListener
extends AbstractZeebeTestExecutionListener
implements org.springframework.test.context.TestExecutionListener, org.springframework.core.Ordered
Test execution listener binding the Zeebe engine to current test context.
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterTestMethod(org.springframework.test.context.TestContext testContext) voidbeforeTestMethod(org.springframework.test.context.TestContext testContext) intgetOrder()Methods inherited from class io.camunda.zeebe.spring.test.AbstractZeebeTestExecutionListener
cleanup, createClient, setupWithZeebeEngineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.test.context.TestExecutionListener
afterTestClass, afterTestExecution, beforeTestClass, beforeTestExecution, prepareTestInstance
-
Constructor Details
-
ZeebeTestExecutionListener
public ZeebeTestExecutionListener()
-
-
Method Details
-
beforeTestMethod
public void beforeTestMethod(@NonNull org.springframework.test.context.TestContext testContext) - Specified by:
beforeTestMethodin interfaceorg.springframework.test.context.TestExecutionListener
-
afterTestMethod
public void afterTestMethod(@NonNull org.springframework.test.context.TestContext testContext) - Specified by:
afterTestMethodin interfaceorg.springframework.test.context.TestExecutionListener
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-