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