Author: bstansberry(a)jboss.com
Date: 2008-03-22 21:22:15 -0400 (Sat, 22 Mar 2008)
New Revision: 5456
Modified:
core/trunk/src/test/java/org/jboss/cache/api/CacheAPITest.java
Log:
[JBCACHE-1311] Add test of getMembers() in LOCAL mode
Modified: core/trunk/src/test/java/org/jboss/cache/api/CacheAPITest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/api/CacheAPITest.java 2008-03-20 12:19:04 UTC
(rev 5455)
+++ core/trunk/src/test/java/org/jboss/cache/api/CacheAPITest.java 2008-03-23 01:22:15 UTC
(rev 5456)
@@ -377,6 +377,12 @@
assert spi.peek(Fqn.fromString("/a/b"), true, true) == null;
assert spi.peek(Fqn.fromString("/a"), true, true) == null;
}
+
+ public void testRpcManagerElements()
+ {
+ assertEquals("CacheMode.LOCAL cache has no address", null,
cache.getLocalAddress());
+ assertEquals("CacheMode.LOCAL cache has no members list", null,
cache.getMembers());
+ }
@CacheListener
public class Listener