Class AppTestHelper
java.lang.Object
com.flowable.app.engine.test.impl.AppTestHelper
- Author:
- Tijs Rademakers
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
annotationDeploymentSetUp
(AppEngine appEngine, Class<?> testClass, Method method, AppDeployment deploymentAnnotation) static String
annotationDeploymentSetUp
(AppEngine appEngine, Class<?> testClass, String methodName) static void
annotationDeploymentTearDown
(AppEngine appEngine, String deploymentId, Class<?> testClass, String methodName) static AppDeploymentBuilder
createAppDeploymentBuilder
(AppEngine appEngine, String deploymentName, String... resources) static String
getAppDefinitionResource
(Class<?> type, String name) get a resource location by convention based on a class (type) and a relative resource name.static AppEngine
getAppEngine
(String configurationResource)
-
Field Details
-
APP_RESOURCE_SUFFIXES
-
-
Constructor Details
-
AppTestHelper
public AppTestHelper()
-
-
Method Details
-
annotationDeploymentSetUp
-
annotationDeploymentSetUp
public static String annotationDeploymentSetUp(AppEngine appEngine, Class<?> testClass, Method method, AppDeployment deploymentAnnotation) -
createAppDeploymentBuilder
public static AppDeploymentBuilder createAppDeploymentBuilder(AppEngine appEngine, String deploymentName, String... resources) -
annotationDeploymentTearDown
-
getAppEngine
-
getAppDefinitionResource
get a resource location by convention based on a class (type) and a relative resource name. The return value will be the full classpath location of the type, plus a suffix built from the name parameter:APP_RESOURCE_SUFFIXES
. The first resource matching a suffix will be returned.
-