Class CmmnTestRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- org.flowable.cmmn.engine.test.impl.CmmnTestRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
public class CmmnTestRunner extends org.junit.runners.BlockJUnit4ClassRunner- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected static CmmnEngineConfigurationcmmnEngineConfigurationprotected static StringdeploymentIdprotected static List<String>TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK
-
Constructor Summary
Constructors Constructor Description CmmnTestRunner(Class<?> klass)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertDatabaseEmpty(org.junit.runners.model.FrameworkMethod method)protected StringdeployCmmnDefinition(org.junit.runners.model.FrameworkMethod method)protected StringgetCmmnDefinitionResource(org.junit.runners.model.FrameworkMethod method)static CmmnEngineConfigurationgetCmmnEngineConfiguration()protected voidrunChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)static voidsetCmmnEngineConfiguration(CmmnEngineConfiguration cmmnEngineConfiguration)protected org.junit.runners.model.StatementwithAfters(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement)protected org.junit.runners.model.StatementwithBefores(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement)-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withPotentialTimeout
-
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
-
-
-
Field Detail
-
cmmnEngineConfiguration
protected static CmmnEngineConfiguration cmmnEngineConfiguration
-
deploymentId
protected static String deploymentId
-
-
Constructor Detail
-
CmmnTestRunner
public CmmnTestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Detail
-
getCmmnEngineConfiguration
public static CmmnEngineConfiguration getCmmnEngineConfiguration()
-
setCmmnEngineConfiguration
public static void setCmmnEngineConfiguration(CmmnEngineConfiguration cmmnEngineConfiguration)
-
runChild
protected void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)- Overrides:
runChildin classorg.junit.runners.BlockJUnit4ClassRunner
-
withBefores
protected org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement)- Overrides:
withBeforesin classorg.junit.runners.BlockJUnit4ClassRunner
-
withAfters
protected org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement)- Overrides:
withAftersin classorg.junit.runners.BlockJUnit4ClassRunner
-
deployCmmnDefinition
protected String deployCmmnDefinition(org.junit.runners.model.FrameworkMethod method)
-
getCmmnDefinitionResource
protected String getCmmnDefinitionResource(org.junit.runners.model.FrameworkMethod method)
-
assertDatabaseEmpty
protected void assertDatabaseEmpty(org.junit.runners.model.FrameworkMethod method)
-
-