public class FlowableFormTestHelper extends Object
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.Modifier and Type | Field and Description |
---|---|
protected String |
deploymentIdFromDeploymentAnnotation |
protected FormEngine |
formEngine |
Constructor and Description |
---|
FlowableFormTestHelper(FormEngine formEngine) |
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentIdFromDeploymentAnnotation() |
FormEngine |
getFormEngine() |
void |
setCurrentTime(Date date) |
void |
setCurrentTime(Instant instant) |
void |
setDeploymentIdFromDeploymentAnnotation(String deploymentIdFromDeploymentAnnotation) |
protected final FormEngine formEngine
protected String deploymentIdFromDeploymentAnnotation
public FlowableFormTestHelper(FormEngine formEngine)
public FormEngine getFormEngine()
public String getDeploymentIdFromDeploymentAnnotation()
public void setDeploymentIdFromDeploymentAnnotation(String deploymentIdFromDeploymentAnnotation)
public void setCurrentTime(Date date)
public void setCurrentTime(Instant instant)