public abstract class CmmnTestHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String[] |
CMMN_RESOURCE_SUFFIXES |
| Constructor and Description |
|---|
CmmnTestHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
annotationDeploymentSetUp(CmmnEngine cmmnEngine,
Class<?> testClass,
Method method) |
static String |
annotationDeploymentSetUp(CmmnEngine cmmnEngine,
Class<?> testClass,
Method method,
CmmnDeployment deploymentAnnotation) |
static String |
annotationDeploymentSetUp(CmmnEngine cmmnEngine,
Class<?> testClass,
String methodName) |
static void |
annotationDeploymentTearDown(CmmnEngine cmmnEngine,
String deploymentId,
Class<?> testClass,
String methodName) |
static void |
deleteDeployment(CmmnEngineConfiguration cmmnEngineConfiguration,
String deploymentId) |
static void |
deleteWithoutGeneratingHistoryJobs(CmmnEngineConfiguration cmmnEngineConfiguration,
Consumer<CmmnEngineConfiguration> consumer) |
static String |
getCmmnCaseDefinitionResource(Class<?> type,
String name)
get a resource location by convention based on a class (type) and a relative resource name.
|
static CmmnEngine |
getCmmnEngine(String configurationResource) |
public static final String[] CMMN_RESOURCE_SUFFIXES
public static String annotationDeploymentSetUp(CmmnEngine cmmnEngine, Class<?> testClass, String methodName)
public static String annotationDeploymentSetUp(CmmnEngine cmmnEngine, Class<?> testClass, Method method)
public static String annotationDeploymentSetUp(CmmnEngine cmmnEngine, Class<?> testClass, Method method, CmmnDeployment deploymentAnnotation)
public static void annotationDeploymentTearDown(CmmnEngine cmmnEngine, String deploymentId, Class<?> testClass, String methodName)
public static CmmnEngine getCmmnEngine(String configurationResource)
public static String getCmmnCaseDefinitionResource(Class<?> type, String name)
CMMN_RESOURCE_SUFFIXES. The first resource matching a suffix will be returned.public static void deleteDeployment(CmmnEngineConfiguration cmmnEngineConfiguration, String deploymentId)
public static void deleteWithoutGeneratingHistoryJobs(CmmnEngineConfiguration cmmnEngineConfiguration, Consumer<CmmnEngineConfiguration> consumer)
Copyright © 2021 Flowable. All rights reserved.