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 CmmnEngineConfiguration
     
    protected static String
     
    protected static final List<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    assertDatabaseEmpty(org.junit.runners.model.FrameworkMethod method)
     
    protected String
    deployCmmnDefinition(org.junit.runners.model.FrameworkMethod method)
     
    protected String
    getCmmnDefinitionResource(org.junit.runners.model.FrameworkMethod method)
     
     
    protected void
    runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
     
    static void
     
    protected org.junit.runners.model.Statement
    withAfters(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement)
     
    protected org.junit.runners.model.Statement
    withBefores(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

    Methods inherited from class org.junit.runner.Runner

    testCount

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • cmmnEngineConfiguration

      protected static CmmnEngineConfiguration cmmnEngineConfiguration
    • deploymentId

      protected static String deploymentId
    • TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK

      protected static final List<String> TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK
  • Constructor Details

    • CmmnTestRunner

      public CmmnTestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
      Throws:
      org.junit.runners.model.InitializationError
  • Method Details

    • 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:
      runChild in class org.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:
      withBefores in class org.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:
      withAfters in class org.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)