Class SpringFlowableTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.flowable.content.engine.impl.test.AbstractContentTestCase
com.flowable.content.engine.impl.test.AbstractFlowableTestCase
com.flowable.content.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,ContentEngine>
cachedContentEngines
protected org.springframework.test.context.TestContextManager
testContextManager
Fields inherited from class com.flowable.content.engine.impl.test.AbstractFlowableTestCase
contentEngine, contentEngineConfiguration, contentService, exception, managementService
Fields inherited from class com.flowable.content.engine.impl.test.AbstractContentTestCase
EMPTY_LINE, isEmptyLinesEnabled, LOGGER
-
Constructor Summary
Constructors Constructor Description SpringFlowableTestCase()
-
Method Summary
Modifier and Type Method Description protected void
initializeContentEngine()
void
runBare()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Methods inherited from class com.flowable.content.engine.impl.test.AbstractFlowableTestCase
assertAndEnsureCleanDb, closeDownContentEngine, initializeServices, nullifyServices
Methods inherited from class com.flowable.content.engine.impl.test.AbstractContentTestCase
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
-
cachedContentEngines
-
testContextManager
protected org.springframework.test.context.TestContextManager testContextManager -
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
SpringFlowableTestCase
public SpringFlowableTestCase()
-
-
Method Details
-
runBare
public void runBare() throws java.lang.Throwable- Overrides:
runBare
in classAbstractFlowableTestCase
- Throws:
java.lang.Throwable
-
initializeContentEngine
protected void initializeContentEngine()- Specified by:
initializeContentEngine
in classAbstractFlowableTestCase
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-