Package org.flowable.engine.test
Class FlowableTestHelper
java.lang.Object
org.flowable.engine.test.FlowableTestHelper
A Helper for the Flowable
FlowableExtension
that can be used within the JUnit Jupiter context store
and users can use it in the tests for easy modifying of the ProcessEngine
time and easy access for waiting on the job executor.- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected final FlowableMockSupport
protected final ProcessEngine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCurrentTime
(Instant instant) void
setCurrentTime
(Date date) void
setDeploymentIdFromDeploymentAnnotation
(String deploymentIdFromDeploymentAnnotation) void
waitForJobExecutorToProcessAllJobs
(long maxMillisToWait, long intervalMillis)
-
Field Details
-
processEngine
-
mockSupport
-
deploymentIdFromDeploymentAnnotation
-
-
Constructor Details
-
FlowableTestHelper
-
-
Method Details
-
getProcessEngine
-
getDeploymentIdFromDeploymentAnnotation
-
setDeploymentIdFromDeploymentAnnotation
-
getMockSupport
-
waitForJobExecutorToProcessAllJobs
public void waitForJobExecutorToProcessAllJobs(long maxMillisToWait, long intervalMillis) -
setCurrentTime
-
setCurrentTime
-