Class FlowableDmnSpringExtension
java.lang.Object
org.flowable.dmn.engine.test.FlowableDmnExtension
org.flowable.dmn.spring.impl.test.FlowableDmnSpringExtension
- 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 DmnEngine
from the ApplicationContext
and make it available for the FlowableDmnExtension
.
NB: The DmnConfigurationResource
is ignored
as the DmnEngine
is taken from the Spring application context
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.dmn.engine.test.FlowableDmnExtension
DEFAULT_CONFIGURATION_RESOURCE, logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DmnEngine
createDmnEngine
(org.junit.jupiter.api.extension.ExtensionContext context) protected org.junit.jupiter.api.extension.ExtensionContext.Store
getStore
(org.junit.jupiter.api.extension.ExtensionContext context) Methods inherited from class org.flowable.dmn.engine.test.FlowableDmnExtension
afterEach, beforeEach, getConfigurationResource, getTestHelper, resolveParameter, supportsParameter
-
Constructor Details
-
FlowableDmnSpringExtension
public FlowableDmnSpringExtension()
-
-
Method Details
-
createDmnEngine
- Overrides:
createDmnEngine
in classFlowableDmnExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context) - Overrides:
getStore
in classFlowableDmnExtension
-