Class FlowableContentSpringExtension
java.lang.Object
com.flowable.content.engine.test.FlowableContentExtension
com.flowable.content.spring.impl.test.FlowableContentSpringExtension
- 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
public class FlowableContentSpringExtension extends FlowableContentExtension
An extension that uses
SpringExtension
to get the ContentEngine
from the ApplicationContext
and make it available for the FlowableContentExtension
.- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class com.flowable.content.engine.test.FlowableContentExtension
configurationResource, DEFAULT_CONFIGURATION_RESOURCE, logger
-
Constructor Summary
Constructors Constructor Description FlowableContentSpringExtension()
-
Method Summary
Modifier and Type Method Description protected ContentEngine
createContentEngine(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.content.engine.test.FlowableContentExtension
afterEach, beforeEach, getConfigurationResource, getTestHelper, resolveParameter, supportsParameter
-
Constructor Details
-
FlowableContentSpringExtension
public FlowableContentSpringExtension()
-
-
Method Details
-
createContentEngine
protected ContentEngine createContentEngine(org.junit.jupiter.api.extension.ExtensionContext context)- Overrides:
createContentEngine
in classFlowableContentExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context)- Overrides:
getStore
in classFlowableContentExtension
-