Class SpringFlowableTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.flowable.form.engine.impl.test.AbstractTestCase
com.flowable.form.engine.impl.test.AbstractFlowableTestCase
com.flowable.form.spring.impl.test.SpringFlowableTestCase
- All Implemented Interfaces:
junit.framework.Test
,Aware
,ApplicationContextAware
@TestExecutionListeners(org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class)
public abstract class SpringFlowableTestCase
extends AbstractFlowableTestCase
implements ApplicationContextAware
- Author:
- Joram Barrez, Josh Long
-
Field Summary
Modifier and TypeFieldDescriptionprotected ApplicationContext
protected Map<Object,
FormEngine> protected TestContextManager
Fields inherited from class com.flowable.form.engine.impl.test.AbstractFlowableTestCase
deploymentIdFromDeploymentAnnotation, deploymentIdsForAutoCleanup, exception, formEngine, formEngineConfiguration, formService, managementService, repositoryService
Fields inherited from class com.flowable.form.engine.impl.test.AbstractTestCase
EMPTY_LINE, isEmptyLinesEnabled, LOGGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
runBare()
void
setApplicationContext
(ApplicationContext applicationContext) Methods inherited from class com.flowable.form.engine.impl.test.AbstractFlowableTestCase
assertAndEnsureCleanDb, closeDownFormEngine, initializeServices, nullifyServices
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
-
cachedFormEngines
-
testContextManager
-
applicationContext
-
-
Constructor Details
-
SpringFlowableTestCase
public SpringFlowableTestCase()
-
-
Method Details
-
runBare
- Overrides:
runBare
in classAbstractFlowableTestCase
- Throws:
Throwable
-
initializeFormEngine
protected void initializeFormEngine()- Specified by:
initializeFormEngine
in classAbstractFlowableTestCase
-
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
-