Class AppTestHelper
java.lang.Object
com.flowable.app.engine.test.impl.AppTestHelper
- Author:
- Tijs Rademakers
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringannotationDeploymentSetUp(AppEngine appEngine, Class<?> testClass, Method method, AppDeployment deploymentAnnotation) static StringannotationDeploymentSetUp(AppEngine appEngine, Class<?> testClass, String methodName) static voidannotationDeploymentTearDown(AppEngine appEngine, String deploymentId, Class<?> testClass, String methodName) static CoreAppDeploymentBuildercreateAppDeploymentBuilder(AppEngine appEngine, String deploymentName, String... resources) static StringgetAppDefinitionResource(Class<?> type, String name) get a resource location by convention based on a class (type) and a relative resource name.static AppEnginegetAppEngine(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 CoreAppDeploymentBuilder 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.
-