Class FlowableCmmnSpringExtension
java.lang.Object
org.flowable.cmmn.engine.test.FlowableCmmnExtension
org.flowable.cmmn.spring.impl.test.FlowableCmmnSpringExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension,org.junit.jupiter.api.extension.ParameterResolver
An extension that uses
SpringExtension to get the CmmnEngine from the ApplicationContext
and make it available for the FlowableCmmnExtension.
NB: The CmmnConfigurationResource is ignored
as the CmmnEngine is taken from the Spring application context
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.cmmn.engine.test.FlowableCmmnExtension
DEFAULT_CONFIGURATION_RESOURCE, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CmmnEnginecreateCmmnEngine(org.junit.jupiter.api.extension.ExtensionContext context) protected org.junit.jupiter.api.extension.ExtensionContext.StoregetStore(org.junit.jupiter.api.extension.ExtensionContext context) Methods inherited from class org.flowable.cmmn.engine.test.FlowableCmmnExtension
afterEach, beforeEach, getConfigurationResource, getTestHelper, resolveParameter, supportsParameter
-
Constructor Details
-
FlowableCmmnSpringExtension
public FlowableCmmnSpringExtension()
-
-
Method Details
-
createCmmnEngine
- Overrides:
createCmmnEnginein classFlowableCmmnExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context) - Overrides:
getStorein classFlowableCmmnExtension
-