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, org.junit.jupiter.api.extension.TestInstantiationAwareExtension
An extension that uses
SpringExtension to get the ContentEngine from the ApplicationContext
and make it available for the FlowableContentExtension.- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.junit.jupiter.api.extension.TestInstantiationAwareExtension
org.junit.jupiter.api.extension.TestInstantiationAwareExtension.ExtensionContextScope -
Field Summary
Fields inherited from class FlowableContentExtension
configurationResource, DEFAULT_CONFIGURATION_RESOURCE, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentEnginecreateContentEngine(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 FlowableContentExtension
afterEach, beforeEach, getConfigurationResource, getTestHelper, resolveParameter, supportsParameterMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.jupiter.api.extension.TestInstantiationAwareExtension
getTestInstantiationExtensionContextScope
-
Constructor Details
-
FlowableContentSpringExtension
public FlowableContentSpringExtension()
-
-
Method Details
-
createContentEngine
protected ContentEngine createContentEngine(org.junit.jupiter.api.extension.ExtensionContext context) - Overrides:
createContentEnginein classFlowableContentExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context) - Overrides:
getStorein classFlowableContentExtension
-