* Upgraded to GemFire 6.6.1
* Introduced PDX options for 'cache' and 'client-cache' elements
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user