@UnitTest public class HybrisContextFactoryTest extends java.lang.Object
| Constructor and Description |
|---|
HybrisContextFactoryTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationContextShouldHaveAnyConfiguredGloballyProfilePlusProfileNamedFromTenantID() |
void |
applicationContextShouldHaveOnlyProfileNamedFromTenantIDIfThereAreNotProfilesConfiguredGlobally() |
void |
applicationContextShouldReturnBeanConfiguredInTenantAwareProfile() |
void |
globalApplicationContextShouldReturnBeanConfiguredInPredefinedInPropertiesProfile() |
void |
inject() |
void |
testApplicationContextHasGlobalContextAsAParent() |
void |
testAssureComponentScanIgnoresTenantAnnotation() |
void |
testAssureHasAGlobalBean() |
void |
testHasAGlobalBean() |
void |
testHasALocallBean() |
public void inject()
public void applicationContextShouldHaveOnlyProfileNamedFromTenantIDIfThereAreNotProfilesConfiguredGlobally()
throws java.lang.Exception
java.lang.Exceptionpublic void applicationContextShouldHaveAnyConfiguredGloballyProfilePlusProfileNamedFromTenantID()
throws java.lang.Exception
java.lang.Exceptionpublic void applicationContextShouldReturnBeanConfiguredInTenantAwareProfile()
throws java.lang.Exception
java.lang.Exceptionpublic void globalApplicationContextShouldReturnBeanConfiguredInPredefinedInPropertiesProfile()
throws java.lang.Exception
java.lang.Exceptionpublic void testHasAGlobalBean()
throws java.lang.Exception
java.lang.Exceptionpublic void testApplicationContextHasGlobalContextAsAParent()
throws java.lang.Exception
java.lang.Exceptionpublic void testHasALocallBean()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssureHasAGlobalBean()
throws java.lang.Exception
java.lang.Exceptionpublic void testAssureComponentScanIgnoresTenantAnnotation()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.