Class InternalFlowableSpringExtension
java.lang.Object
org.flowable.engine.impl.test.InternalFlowableExtension
org.flowable.spring.impl.test.InternalFlowableSpringExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback, 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 ProcessEngine from the ApplicationContext
and make it available for the InternalFlowableExtension.- 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 InternalFlowableExtension
ANNOTATION_DEPLOYMENT_ID_KEY, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ProcessEnginegetProcessEngine(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 InternalFlowableExtension
afterAll, afterEach, assertAndEnsureCleanDb, beforeEach, cleanTestAndAssertAndEnsureCleanDb, doFinally, removeDeployments, 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
-
InternalFlowableSpringExtension
public InternalFlowableSpringExtension()
-
-
Method Details
-
getProcessEngine
- Specified by:
getProcessEnginein classInternalFlowableExtension
-
getStore
protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore(org.junit.jupiter.api.extension.ExtensionContext context) - Specified by:
getStorein classInternalFlowableExtension
-