Package de.hybris.platform.core
Class HybrisContextFactoryTest
- java.lang.Object
-
- de.hybris.platform.core.HybrisContextFactoryTest
-
@UnitTest @ContextConfiguration("classpath:test/dummy-test-spring.xml") public class HybrisContextFactoryTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HybrisContextFactoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplicationContextShouldHaveAnyConfiguredGloballyProfilePlusProfileNamedFromTenantID()voidapplicationContextShouldHaveOnlyProfileNamedFromTenantIDIfThereAreNotProfilesConfiguredGlobally()voidapplicationContextShouldReturnBeanConfiguredInTenantAwareProfile()voidglobalApplicationContextShouldReturnBeanConfiguredInPredefinedInPropertiesProfile()voidinject()voidtestApplicationContextHasGlobalContextAsAParent()voidtestAssureComponentScanIgnoresTenantAnnotation()voidtestAssureHasAGlobalBean()voidtestHasAGlobalBean()voidtestHasALocallBean()
-
-
-
Method Detail
-
inject
public void inject()
-
applicationContextShouldHaveOnlyProfileNamedFromTenantIDIfThereAreNotProfilesConfiguredGlobally
public void applicationContextShouldHaveOnlyProfileNamedFromTenantIDIfThereAreNotProfilesConfiguredGlobally() throws java.lang.Exception- Throws:
java.lang.Exception
-
applicationContextShouldHaveAnyConfiguredGloballyProfilePlusProfileNamedFromTenantID
public void applicationContextShouldHaveAnyConfiguredGloballyProfilePlusProfileNamedFromTenantID() throws java.lang.Exception- Throws:
java.lang.Exception
-
applicationContextShouldReturnBeanConfiguredInTenantAwareProfile
public void applicationContextShouldReturnBeanConfiguredInTenantAwareProfile() throws java.lang.Exception- Throws:
java.lang.Exception
-
globalApplicationContextShouldReturnBeanConfiguredInPredefinedInPropertiesProfile
public void globalApplicationContextShouldReturnBeanConfiguredInPredefinedInPropertiesProfile() throws java.lang.Exception- Throws:
java.lang.Exception
-
testHasAGlobalBean
public void testHasAGlobalBean() throws java.lang.Exception- Throws:
java.lang.Exception
-
testApplicationContextHasGlobalContextAsAParent
public void testApplicationContextHasGlobalContextAsAParent() throws java.lang.Exception- Throws:
java.lang.Exception
-
testHasALocallBean
public void testHasALocallBean() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAssureHasAGlobalBean
public void testAssureHasAGlobalBean() throws java.lang.Exception- Throws:
java.lang.Exception
-
testAssureComponentScanIgnoresTenantAnnotation
public void testAssureComponentScanIgnoresTenantAnnotation() throws java.lang.Exception- Throws:
java.lang.Exception
-
-