Renaming the SpringContextBootsrappingInitializerTest to SpringContextBootstrappingInitializerIntegrationTest to reflect the fact that the test class is actually an 'integration' test. Also renamed the cache-with-initializer.xml GemFire native configuration file to cache-with-spring-context-bootstrap-initializer.xml to indicate that we are using GemFire to bootstrap a Spring container.
This commit is contained in:
@@ -58,7 +58,7 @@ import com.gemstone.gemfire.cache.Region;
|
||||
* @since 7.0.1 (GemFire)
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class SpringContextBootstrappingInitializerTest {
|
||||
public class SpringContextBootstrappingInitializerIntegrationTest {
|
||||
|
||||
protected static final String GEMFIRE_LOCATORS = "localhost[11235]";
|
||||
protected static final String GEMFIRE_LOG_LEVEL = "config";
|
||||
@@ -69,7 +69,7 @@ public class SpringContextBootstrappingInitializerTest {
|
||||
@Test
|
||||
public void testSpringContextBootstrappingInitialization() {
|
||||
Cache gemfireCache = new CacheFactory()
|
||||
.set("cache-xml-file", "cache-with-initializer.xml")
|
||||
.set("cache-xml-file", "cache-with-spring-context-bootstrap-initializer.xml")
|
||||
.set("locators", GEMFIRE_LOCATORS)
|
||||
.set("log-level", GEMFIRE_LOG_LEVEL)
|
||||
.set("mcast-port", GEMFIRE_MCAST_PORT)
|
||||
Reference in New Issue
Block a user