Class 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 Detail

      • deploymentId

        protected static String deploymentId
      • TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK

        protected static final List<String> TABLENAMES_EXCLUDED_FROM_DB_CLEAN_CHECK
    • Constructor Detail

      • CmmnTestRunner

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

      • 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)