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