* Upgraded to GemFire 6.6.1

* Introduced PDX options for 'cache' and 'client-cache' elements
This commit is contained in:
Costin Leau
2011-11-10 19:32:57 +02:00
parent 62b8948efc
commit d1a2e52c1e
10 changed files with 102 additions and 21 deletions

View File

@@ -30,7 +30,7 @@ import com.gemstone.gemfire.cache.Cache;
*
* @author Costin Leau
*/
public class CacheIntegrationTest extends RecreatingContextTest{
public class CacheIntegrationTest extends RecreatingContextTest {
@Override
protected String location() {
@@ -61,5 +61,4 @@ public class CacheIntegrationTest extends RecreatingContextTest{
public void testCacheWithXml() throws Exception {
Cache cache = ctx.getBean("cache-with-xml", Cache.class);
}
}

View File

@@ -62,6 +62,10 @@ public class CacheNamespaceTest extends RecreatingContextTest {
Resource res = TestUtils.readField("cacheXml", cfb);
assertEquals("gemfire-cache.xml", res.getFilename());
assertEquals(ctx.getBean("props"), TestUtils.readField("properties", cfb));
assertEquals(Boolean.FALSE, TestUtils.readField("pdxIgnoreUnreadFields", cfb));
assertEquals(Boolean.TRUE, TestUtils.readField("pdxPersistent", cfb));
}
@Test(expected = IllegalArgumentException.class)