Class AbstractFlowableTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.flowable.form.engine.impl.test.AbstractTestCase
com.flowable.form.engine.impl.test.AbstractFlowableTestCase
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
SpringFlowableTestCase
- Author:
- Tom Baeyens, Joram Barrez
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Throwable
protected FormEngine
protected FormEngineConfiguration
protected FormService
protected FormManagementService
protected FormRepositoryService
Fields inherited from class com.flowable.form.engine.impl.test.AbstractTestCase
EMPTY_LINE, isEmptyLinesEnabled, LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Each test is assumed to clean up all DB content it entered.protected void
protected abstract void
protected void
protected void
void
runBare()
Methods inherited from class com.flowable.form.engine.impl.test.AbstractTestCase
assertTextPresent, assertTextPresentIgnoreCase, runTest
Methods 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
-
formEngine
-
deploymentIdFromDeploymentAnnotation
-
deploymentIdsForAutoCleanup
-
exception
-
formEngineConfiguration
-
managementService
-
repositoryService
-
formService
-
-
Constructor Details
-
AbstractFlowableTestCase
public AbstractFlowableTestCase()
-
-
Method Details
-
initializeFormEngine
protected abstract void initializeFormEngine() -
closeDownFormEngine
protected void closeDownFormEngine() -
nullifyServices
protected void nullifyServices() -
runBare
- Overrides:
runBare
in 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()
-