Class AppTestHelper

java.lang.Object
com.flowable.app.engine.test.impl.AppTestHelper

public abstract class AppTestHelper extends Object
Author:
Tijs Rademakers
  • Field Details

    • APP_RESOURCE_SUFFIXES

      protected static final String[] APP_RESOURCE_SUFFIXES
  • Constructor Details

    • AppTestHelper

      public AppTestHelper()
  • Method Details

    • annotationDeploymentSetUp

      public static String annotationDeploymentSetUp(AppEngine appEngine, Class<?> testClass, String methodName)
    • 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

      public static void annotationDeploymentTearDown(AppEngine appEngine, String deploymentId, Class<?> testClass, String methodName)
    • getAppEngine

      public static AppEngine getAppEngine(String configurationResource)
    • getAppDefinitionResource

      public static String getAppDefinitionResource(Class<?> type, String name)
      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.