@ContextHierarchy(value=@ContextConfiguration(name="siteRoot")) public class SystemPropertiesTest extends TestNGSiteIntegrationSetup
| Modifier and Type | Class and Description |
|---|---|
static class |
SystemPropertiesTest.SystemPropertiesTestConfig |
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.env.Environment |
env |
protected org.broadleafcommerce.common.config.dao.SystemPropertiesDao |
propsDao |
protected org.broadleafcommerce.common.config.service.SystemPropertiesService |
propsSvc |
| Constructor and Description |
|---|
SystemPropertiesTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearSystemPropertiesCache()
Clear out the cache since the SystemPropertiesService/Dao will have cached a not found
|
void |
testEnvironmentResolvedFromDatabase() |
void |
testOverridesPropertyFiles() |
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance@Autowired protected org.springframework.core.env.Environment env
@Autowired protected org.broadleafcommerce.common.config.service.SystemPropertiesService propsSvc
@Autowired protected org.broadleafcommerce.common.config.dao.SystemPropertiesDao propsDao
@Transactional public void testEnvironmentResolvedFromDatabase()
@Transactional public void testOverridesPropertyFiles()
protected void clearSystemPropertiesCache()
Copyright © 2021. All rights reserved.