Class AbstractFlowableTestCase

  • All Implemented Interfaces:
    junit.framework.Test
    Direct Known Subclasses:
    SpringFlowableTestCase

    public abstract class AbstractFlowableTestCase
    extends AbstractTestCase
    Author:
    Tom Baeyens, Joram Barrez
    • Field Detail

      • deploymentIdFromDeploymentAnnotation

        protected java.lang.String deploymentIdFromDeploymentAnnotation
      • deploymentIdsForAutoCleanup

        protected java.util.List<java.lang.String> deploymentIdsForAutoCleanup
      • exception

        protected java.lang.Throwable exception
      • managementService

        protected org.flowable.form.api.FormManagementService managementService
      • repositoryService

        protected org.flowable.form.api.FormRepositoryService repositoryService
      • formService

        protected org.flowable.form.api.FormService formService
    • Constructor Detail

      • AbstractFlowableTestCase

        public AbstractFlowableTestCase()
    • Method Detail

      • initializeFormEngine

        protected abstract void initializeFormEngine()
      • closeDownFormEngine

        protected void closeDownFormEngine()
      • nullifyServices

        protected void nullifyServices()
      • runBare

        public void runBare()
                     throws java.lang.Throwable
        Overrides:
        runBare in class junit.framework.TestCase
        Throws:
        java.lang.Throwable
      • assertAndEnsureCleanDb

        protected void assertAndEnsureCleanDb()
                                       throws java.lang.Throwable
        Each test is assumed to clean up all DB content it entered. After a test method executed, this method scans all tables to see if the DB is completely clean. It throws AssertionFailed in case the DB is not clean. If the DB is not clean, it is cleaned by performing a create a drop.
        Throws:
        java.lang.Throwable
      • initializeServices

        protected void initializeServices()