SGF-193 -added enable-concurrency-checks to namespace

This commit is contained in:
David Turanski
2013-08-12 10:33:30 -04:00
parent d0e2125784
commit fb4e184794
3 changed files with 12 additions and 1 deletions

View File

@@ -57,6 +57,8 @@ public class ReplicatedRegionNamespaceTest {
assertTrue(context.containsBean("simple"));
RegionFactoryBean fb = context.getBean("&simple", RegionFactoryBean.class);
assertEquals(false ,(Boolean)TestUtils.readField("close", fb));
RegionAttributes attrs = TestUtils.readField("attributes", fb);
assertFalse(attrs.getConcurrencyChecksEnabled());
}
@SuppressWarnings("rawtypes")
@@ -69,6 +71,7 @@ public class ReplicatedRegionNamespaceTest {
assertEquals("publisher", TestUtils.readField("name", fb));
RegionAttributes attrs = TestUtils.readField("attributes", fb);
assertFalse(attrs.getPublisher());
assertTrue(attrs.getConcurrencyChecksEnabled());
}
@SuppressWarnings("rawtypes")