Class FlowableFormTestHelper

java.lang.Object
com.flowable.form.engine.test.FlowableFormTestHelper

public class FlowableFormTestHelper extends 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 Details

    • formEngine

      protected final FormEngine formEngine
    • deploymentIdFromDeploymentAnnotation

      protected String deploymentIdFromDeploymentAnnotation
  • Constructor Details

    • FlowableFormTestHelper

      public FlowableFormTestHelper(FormEngine formEngine)
  • Method Details

    • 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)