Package com.flowable.form.engine.test
Annotation Type FormDeploymentAnnotation
-
@Retention(RUNTIME) public @interface FormDeploymentAnnotation
Annotation for a test method to create and delete a deployment around a test method.Usage:
package org.example; ... public class ExampleTest { @FormDeploymentAnnotation public void testForADeploymentWithASingleResource() { // a deployment will be available in the engine repository // containing the single resource org/example/ExampleTest.testForADeploymentWithASingleResource.form } @FormDeploymentAnnotation(resources = { "org/example/decisionOne.form", "org/example/decisionTwo.form"}) public void testForADeploymentWithASingleResource() { // a deployment will be available in the engine repository // containing the two resources }
- Author:
- Tijs Rademakers
-
-
Element Detail
-
resources
String[] resources
Specify resources that make up the process definition.- Default:
- {}
-
-