* 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)
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<gfe:cache id="cache-with-name"/>
|
||||
|
||||
<gfe:cache id="cache-with-xml" cache-xml-location="classpath:gemfire-cache.xml" properties-ref="props"/>
|
||||
<gfe:cache id="cache-with-xml" cache-xml-location="classpath:gemfire-cache.xml" properties-ref="props" pdx-ignore-unread-fields="false" pdx-persistent="true"/>
|
||||
|
||||
<util:properties id="props">
|
||||
<prop key="disable-tcp">false</prop>
|
||||
|
||||
Reference in New Issue
Block a user