Class AbstractFlowableDmnTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.flowable.dmn.engine.impl.test.AbstractDmnTestCase
org.flowable.dmn.engine.impl.test.AbstractFlowableDmnTestCase
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
PluggableFlowableDmnTestCase,ResourceFlowableDmnTestCase,SpringFlowableTestCase
- Author:
- Tom Baeyens, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected DmnEngineprotected DmnEngineConfigurationprotected Throwableprotected DmnHistoryServiceprotected DmnManagementServiceprotected DmnRepositoryServiceprotected DmnDecisionServiceFields inherited from class org.flowable.dmn.engine.impl.test.AbstractDmnTestCase
EMPTY_LINE, isEmptyLinesEnabled, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidEach test is assumed to clean up all DB content it entered.protected voidprotected abstract voidprotected voidprotected voidvoidrunBare()Methods inherited from class org.flowable.dmn.engine.impl.test.AbstractDmnTestCase
runTestMethods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, setUp, tearDown, toString
-
Field Details
-
dmnEngine
-
deploymentIdFromDeploymentAnnotation
-
deploymentIdsForAutoCleanup
-
exception
-
dmnEngineConfiguration
-
managementService
-
repositoryService
-
ruleService
-
historyService
-
-
Constructor Details
-
AbstractFlowableDmnTestCase
public AbstractFlowableDmnTestCase()
-
-
Method Details
-
initializeDmnEngine
protected abstract void initializeDmnEngine() -
closeDownDmnEngine
protected void closeDownDmnEngine() -
nullifyServices
protected void nullifyServices() -
runBare
- Overrides:
runBarein classjunit.framework.TestCase- Throws:
Throwable
-
assertAndEnsureCleanDb
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:
Throwable
-
initializeServices
protected void initializeServices()
-