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
Fields Modifier and Type Field Description protected ApplicationContext
applicationContext
protected Map<Object,FormEngine>
cachedFormEngines
protected TestContextManager
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
Constructors Constructor Description SpringFlowableTestCase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initializeFormEngine()
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 Detail
-
cachedFormEngines
protected Map<Object,FormEngine> cachedFormEngines
-
testContextManager
protected TestContextManager testContextManager
-
applicationContext
@Autowired protected ApplicationContext applicationContext
-
-
Method Detail
-
runBare
public void runBare() throws Throwable
- Overrides:
runBare
in classAbstractFlowableTestCase
- Throws:
Throwable
-
initializeFormEngine
protected void initializeFormEngine()
- Specified by:
initializeFormEngine
in classAbstractFlowableTestCase
-
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
-
-