Class TenantSetupExtension

java.lang.Object
com.flowable.platform.tenant.test.TenantSetupExtension
All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.Extension

public class TenantSetupExtension
extends java.lang.Object
implements org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback, org.junit.jupiter.api.extension.AfterAllCallback
JUnit Jupiter extension for the Flowable Platform tenant setup
Author:
Filip Hrisafov
  • Constructor Summary

    Constructors 
    Constructor Description
    TenantSetupExtension()  
  • Method Summary

    Modifier and Type Method Description
    void afterAll​(org.junit.jupiter.api.extension.ExtensionContext context)  
    void afterEach​(org.junit.jupiter.api.extension.ExtensionContext context)  
    void beforeAll​(org.junit.jupiter.api.extension.ExtensionContext context)  
    void beforeEach​(org.junit.jupiter.api.extension.ExtensionContext context)  
    protected com.flowable.idm.engine.CoreIdmEngine createPlatformIdmEngine​(org.junit.jupiter.api.extension.ExtensionContext context)  
    protected TenantSetupService createTenantSetupService​(org.junit.jupiter.api.extension.ExtensionContext context)  
    protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore​(org.junit.jupiter.api.extension.ExtensionContext context)  
    protected TenantSetupTestHelper getTestHelper​(org.junit.jupiter.api.extension.ExtensionContext context)  
    protected boolean isMultiTenantEnabled​(org.junit.jupiter.api.extension.ExtensionContext context)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • beforeAll

      public void beforeAll​(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallback
    • beforeEach

      public void beforeEach​(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      beforeEach in interface org.junit.jupiter.api.extension.BeforeEachCallback
    • afterEach

      public void afterEach​(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      afterEach in interface org.junit.jupiter.api.extension.AfterEachCallback
    • afterAll

      public void afterAll​(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      afterAll in interface org.junit.jupiter.api.extension.AfterAllCallback
    • getTestHelper

      protected TenantSetupTestHelper getTestHelper​(org.junit.jupiter.api.extension.ExtensionContext context)
    • createTenantSetupService

      protected TenantSetupService createTenantSetupService​(org.junit.jupiter.api.extension.ExtensionContext context)
    • createPlatformIdmEngine

      protected com.flowable.idm.engine.CoreIdmEngine createPlatformIdmEngine​(org.junit.jupiter.api.extension.ExtensionContext context)
    • isMultiTenantEnabled

      protected boolean isMultiTenantEnabled​(org.junit.jupiter.api.extension.ExtensionContext context)
    • getStore

      protected org.junit.jupiter.api.extension.ExtensionContext.Store getStore​(org.junit.jupiter.api.extension.ExtensionContext context)