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