Package org.flowable.eventregistry.test
Annotation Type EventDeploymentAnnotation
-
@Retention(RUNTIME) public @interface EventDeploymentAnnotation
Annotation for a test method to create and delete a deployment around a test method.Usage:
package org.example; ... public class ExampleTest { @EventDeploymentAnnotation public void testForADeploymentWithASingleResource() { // a deployment will be available in the engine repository // containing the single resource org/example/ExampleTest.event } @EventDeploymentAnnotation(resources = { "org/example/one.event", "org/example/two.event"}) public void testForADeploymentWithASingleResource() { // a deployment will be available in the engine repository // containing the three resources }- Author:
- Tijs Rademakers