SGF-11
+ changed default cache name from 'cache' to 'gemfire-cache' to prevent collision with other defaults
This commit is contained in:
costin
2010-09-01 11:05:59 +03:00
parent 6f6480f032
commit e8af99870c
7 changed files with 10 additions and 9 deletions

View File

@@ -38,8 +38,8 @@ public class CacheNamespaceTest extends RecreatingContextTest {
@Test
public void testBasicCache() throws Exception {
assertTrue(ctx.containsBean("cache"));
CacheFactoryBean cfb = (CacheFactoryBean) ctx.getBean("&cache");
assertTrue(ctx.containsBean("gemfire-cache"));
CacheFactoryBean cfb = (CacheFactoryBean) ctx.getBean("&gemfire-cache");
assertNull(TestUtils.readField("cacheXml", cfb));
assertNull(TestUtils.readField("properties", cfb));
}