public abstract class DmnTestHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
EMPTY_LINE |
| Constructor and Description |
|---|
DmnTestHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
annotationDeploymentSetUp(DmnEngine dmnEngine,
Class<?> testClass,
Method method,
DmnDeployment dmnDeploymentAnnotation) |
static String |
annotationDeploymentSetUp(DmnEngine dmnEngine,
Class<?> testClass,
Method method,
DmnDeploymentAnnotation dmnDeploymentAnnotation) |
static String |
annotationDeploymentSetUp(DmnEngine dmnEngine,
Class<?> testClass,
String methodName) |
static void |
annotationDeploymentTearDown(DmnEngine dmnEngine,
String deploymentId,
Class<?> testClass,
String methodName) |
static void |
assertAndEnsureCleanDb(DmnEngine dmnEngine)
Each test is assumed to clean up all DB content it entered.
|
static void |
closeDmnEngines() |
protected static String |
deployResourceFromAnnotation(DmnEngine dmnEngine,
Class<?> testClass,
String methodName,
Method method,
String[] resources) |
static String |
getDmnDecisionResource(Class<?> type,
String name)
get a resource location by convention based on a class (type) and a relative resource name.
|
static DmnEngine |
getDmnEngine(String configurationResource) |
public static final String EMPTY_LINE
public static String annotationDeploymentSetUp(DmnEngine dmnEngine, Class<?> testClass, String methodName)
public static String annotationDeploymentSetUp(DmnEngine dmnEngine, Class<?> testClass, Method method, DmnDeployment dmnDeploymentAnnotation)
public static String annotationDeploymentSetUp(DmnEngine dmnEngine, Class<?> testClass, Method method, DmnDeploymentAnnotation dmnDeploymentAnnotation)
protected static String deployResourceFromAnnotation(DmnEngine dmnEngine, Class<?> testClass, String methodName, Method method, String[] resources)
public static void annotationDeploymentTearDown(DmnEngine dmnEngine, String deploymentId, Class<?> testClass, String methodName)
public static String getDmnDecisionResource(Class<?> type, String name)
DmnDeployer.DMN_RESOURCE_SUFFIXES. The first resource matching a suffix will be returned.public static void closeDmnEngines()
public static void assertAndEnsureCleanDb(DmnEngine dmnEngine)
Copyright © 2021 Flowable. All rights reserved.