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
,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,ContentEngine>
cachedContentEngines
protected 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initializeContentEngine()
void
runBare()
void
setApplicationContext(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 Detail
-
cachedContentEngines
protected Map<Object,ContentEngine> cachedContentEngines
-
testContextManager
protected TestContextManager testContextManager
-
applicationContext
@Autowired protected ApplicationContext applicationContext
-
-
Method Detail
-
runBare
public void runBare() throws Throwable
- Overrides:
runBare
in classAbstractFlowableTestCase
- Throws:
Throwable
-
initializeContentEngine
protected void initializeContentEngine()
- Specified by:
initializeContentEngine
in classAbstractFlowableTestCase
-
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
-
-