Package com.flowable.form.engine.test
Class FlowableFormTestHelper
java.lang.Object
com.flowable.form.engine.test.FlowableFormTestHelper
public class FlowableFormTestHelper
extends java.lang.Object
A Helper for the Flowable
FlowableFormExtension
that can be used within the JUnit Jupiter context store
and users can use it in the tests for easy modifying of the FormEngine
time and easy access for waiting on the job executor.- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
deploymentIdFromDeploymentAnnotation
protected FormEngine
formEngine
-
Constructor Summary
Constructors Constructor Description FlowableFormTestHelper(FormEngine formEngine)
-
Method Summary
Modifier and Type Method Description java.lang.String
getDeploymentIdFromDeploymentAnnotation()
FormEngine
getFormEngine()
void
setCurrentTime(java.time.Instant instant)
void
setCurrentTime(java.util.Date date)
void
setDeploymentIdFromDeploymentAnnotation(java.lang.String deploymentIdFromDeploymentAnnotation)
-
Field Details
-
formEngine
-
deploymentIdFromDeploymentAnnotation
protected java.lang.String deploymentIdFromDeploymentAnnotation
-
-
Constructor Details
-
Method Details
-
getFormEngine
-
getDeploymentIdFromDeploymentAnnotation
public java.lang.String getDeploymentIdFromDeploymentAnnotation() -
setDeploymentIdFromDeploymentAnnotation
public void setDeploymentIdFromDeploymentAnnotation(java.lang.String deploymentIdFromDeploymentAnnotation) -
setCurrentTime
public void setCurrentTime(java.util.Date date) -
setCurrentTime
public void setCurrentTime(java.time.Instant instant)
-