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
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@TestExecutionListeners(org.springframework.test.context.support.DependencyInjectionTestExecutionListener.class) public abstract class SpringFlowableTestCase extends AbstractFlowableTestCase implements org.springframework.context.ApplicationContextAware
- Author:
- Joram Barrez, Josh Long
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContext
applicationContext
protected java.util.Map<java.lang.Object,FormEngine>
cachedFormEngines
protected org.springframework.test.context.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(org.springframework.context.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 java.util.Map<java.lang.Object,FormEngine> cachedFormEngines
-
testContextManager
protected org.springframework.test.context.TestContextManager testContextManager
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Method Detail
-
runBare
public void runBare() throws java.lang.Throwable
- Overrides:
runBare
in classAbstractFlowableTestCase
- Throws:
java.lang.Throwable
-
initializeFormEngine
protected void initializeFormEngine()
- Specified by:
initializeFormEngine
in classAbstractFlowableTestCase
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
-