[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo ...
Ben Wang
bwang at jboss.com
Mon Nov 6 08:44:26 EST 2006
User: bwang
Date: 06/11/06 08:44:26
Modified: tests-50/functional/org/jboss/cache/pojo
ReplicatedObjectGraphTest.java
ReplicatedCircularGraphTest.java
Log:
Use removeNode api
Revision Changes Path
1.7 +2 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedObjectGraphTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedObjectGraphTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedObjectGraphTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- ReplicatedObjectGraphTest.java 31 Oct 2006 11:07:17 -0000 1.6
+++ ReplicatedObjectGraphTest.java 6 Nov 2006 13:44:26 -0000 1.7
@@ -7,6 +7,7 @@
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.pojo.test.Address;
import org.jboss.cache.pojo.test.Person;
+import org.jboss.cache.Fqn;
/**
* Test object graph handling in aop, e.g., circular reference, multiple reference, link, etc.
@@ -36,7 +37,7 @@
protected void tearDown() throws Exception
{
super.tearDown();
- cache1.getCache().remove("/");
+ cache1.getCache().removeNode(Fqn.fromString("/"));
cache1.stop();
cache2.stop();
}
1.4 +2 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedCircularGraphTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedCircularGraphTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/ReplicatedCircularGraphTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ReplicatedCircularGraphTest.java 31 Oct 2006 11:07:17 -0000 1.3
+++ ReplicatedCircularGraphTest.java 6 Nov 2006 13:44:26 -0000 1.4
@@ -15,6 +15,7 @@
import org.jboss.cache.pojo.test.Person;
import org.jboss.cache.pojo.test.Link;
import org.jboss.cache.pojo.test.NodeManager;
+import org.jboss.cache.Fqn;
import java.util.List;
import java.util.ArrayList;
@@ -47,7 +48,7 @@
protected void tearDown() throws Exception
{
super.tearDown();
- cache1.getCache().remove("/");
+ cache1.getCache().removeNode(Fqn.fromString("/"));
cache1.stop();
cache2.stop();
}
More information about the jboss-cvs-commits
mailing list