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.ApplicationContextapplicationContextprotected java.util.Map<java.lang.Object,FormEngine>cachedFormEnginesprotected org.springframework.test.context.TestContextManagertestContextManagerFields inherited from class com.flowable.form.engine.impl.test.AbstractFlowableTestCase
deploymentIdFromDeploymentAnnotation, deploymentIdsForAutoCleanup, exception, formEngine, formEngineConfiguration, formService, managementService, repositoryServiceFields inherited from class com.flowable.form.engine.impl.test.AbstractTestCase
EMPTY_LINE, isEmptyLinesEnabled, LOGGER -
Constructor Summary
Constructors Constructor Description SpringFlowableTestCase() -
Method Summary
Modifier and Type Method Description protected voidinitializeFormEngine()voidrunBare()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)Methods inherited from class com.flowable.form.engine.impl.test.AbstractFlowableTestCase
assertAndEnsureCleanDb, closeDownFormEngine, initializeServices, nullifyServicesMethods inherited from class com.flowable.form.engine.impl.test.AbstractTestCase
assertTextPresent, assertTextPresentIgnoreCase, runTestMethods 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
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:
runBarein classAbstractFlowableTestCase- Throws:
java.lang.Throwable
-
initializeFormEngine
protected void initializeFormEngine()- Specified by:
initializeFormEnginein classAbstractFlowableTestCase
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-