Package de.hybris.platform.core
Class HybrisContextHolderTest
java.lang.Object
de.hybris.platform.core.HybrisContextHolderTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.springframework.context.support.GenericApplicationContextorg.springframework.context.support.GenericApplicationContext -
Constructor Summary
Constructors -
Method Summary
-
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
- Throws:
Exception
-
testAssureGlobalContextInvalidatedWhenAfterDestroyed
- Throws:
Exception
-
testAssureAppContextForTheSameTenantsThrowsException
- 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
- Throws:
Exception
-
testAssureFailFastWhenGlobalContextRefreshFails
- Throws:
Exception
-
testAssureFailFastWhenApplicationContextRefreshFails
- Throws:
Exception
-