[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/notifications ...
Manik Surtani
msurtani at jboss.com
Thu Jan 4 12:52:20 EST 2007
User: msurtani
Date: 07/01/04 12:52:20
Modified: tests/functional/org/jboss/cache/notifications
RemoteCacheListenerTest.java
Log:
removed initial state transfer from start up
Revision Changes Path
1.10 +7 -0 JBossCache/tests/functional/org/jboss/cache/notifications/RemoteCacheListenerTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RemoteCacheListenerTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/notifications/RemoteCacheListenerTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- RemoteCacheListenerTest.java 4 Jan 2007 17:40:07 -0000 1.9
+++ RemoteCacheListenerTest.java 4 Jan 2007 17:52:20 -0000 1.10
@@ -134,6 +134,9 @@
Map oldData = new HashMap();
oldData.put("key", "value");
+ assertEquals("value", cache.get(fqn, "key"));
+ assertEquals("value", cache1.get(fqn, "key"));
+
// clear event log
eventLog.events.clear();
assertEquals("Event log should be empty", Collections.emptyList(), eventLog.events);
@@ -160,6 +163,7 @@
oldData.put("key", "value");
assertEquals("value", cache.get(fqn, "key"));
+ assertEquals("value", cache1.get(fqn, "key"));
// clear event log
eventLog.events.clear();
@@ -213,6 +217,9 @@
oldData.put("key", "value");
oldData.put("key2", "value2");
+ assertNull(cache.getRoot().getChild(fqn));
+ assertNull(cache1.getRoot().getChild(fqn));
+
// clear event log
eventLog.events.clear();
assertEquals("Event log should be empty", Collections.emptyList(), eventLog.events);
More information about the jboss-cvs-commits
mailing list