Class HybrisContextHolderTest

java.lang.Object
de.hybris.platform.core.HybrisContextHolderTest

@UnitTest @ContextConfiguration("classpath:test/dummy-test-spring.xml") public class HybrisContextHolderTest extends Object
  • Field Details

    • ctxGlobalMock

      public org.springframework.context.support.GenericApplicationContext ctxGlobalMock
    • ctxAppMock

      public org.springframework.context.support.GenericApplicationContext ctxAppMock
  • Constructor Details

    • HybrisContextHolderTest

      public HybrisContextHolderTest()
  • Method Details

    • inject

      public void inject()
    • cleanUp

      public void cleanUp()
    • testAssureCloseCalledWhileContextsDestroyed

      public void testAssureCloseCalledWhileContextsDestroyed() throws Exception
      Throws:
      Exception
    • testAssureGlobalContextInvalidatedWhenAfterDestroyed

      public void testAssureGlobalContextInvalidatedWhenAfterDestroyed() throws Exception
      Throws:
      Exception
    • testAssureAppContextForTheSameTenantsThrowsException

      public void testAssureAppContextForTheSameTenantsThrowsException() throws Exception
      Throws:
      Exception
    • testAssureApplicationContextDestroyedWhenErrorOccursWhenCreatingGlobalContext

      public void testAssureApplicationContextDestroyedWhenErrorOccursWhenCreatingGlobalContext() throws Exception
      Throws:
      Exception
    • testAssureGlobalContextDestroyedWhenErrorOccursWhenCreatingGlobalContext

      public void testAssureGlobalContextDestroyedWhenErrorOccursWhenCreatingGlobalContext() throws Exception
      Throws:
      Exception
    • testAssureGlobalContextDestroyedWhenErrorOccursWhenCreatingApplicationContext

      public void testAssureGlobalContextDestroyedWhenErrorOccursWhenCreatingApplicationContext() throws Exception
      Throws:
      Exception
    • testCheckSpecificExtensionsForTenant

      public void testCheckSpecificExtensionsForTenant() throws Exception
      Throws:
      Exception
    • testAssureFailFastWhenGlobalContextRefreshFails

      public void testAssureFailFastWhenGlobalContextRefreshFails() throws Exception
      Throws:
      Exception
    • testAssureFailFastWhenApplicationContextRefreshFails

      public void testAssureFailFastWhenApplicationContextRefreshFails() throws Exception
      Throws:
      Exception