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