[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated ...
Ben Wang
bwang at jboss.com
Mon Nov 6 08:44:27 EST 2006
User: bwang
Date: 06/11/06 08:44:27
Modified: tests-50/functional/org/jboss/cache/pojo/integrated
ReplicatedPropagationManagerlTest.java
PropagationManagerlTest.java
NetworkManagementTest.java
ReplicatedNetworkManagementTest.java
Log:
Use removeNode api
Revision Changes Path
1.4 +2 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated/ReplicatedPropagationManagerlTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedPropagationManagerlTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated/ReplicatedPropagationManagerlTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ReplicatedPropagationManagerlTest.java 31 Oct 2006 11:07:18 -0000 1.3
+++ ReplicatedPropagationManagerlTest.java 6 Nov 2006 13:44:27 -0000 1.4
@@ -5,6 +5,7 @@
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.test.propagation.PropagationManager;
import org.jboss.cache.pojo.test.propagation.impl.PropagationManagerImpl;
+import org.jboss.cache.Fqn;
public class ReplicatedPropagationManagerlTest extends TestCase {
private PropagationManager pm_;
@@ -17,7 +18,7 @@
}
protected void tearDown() throws Exception {
- cache1_.getCache().remove("/");
+ cache1_.getCache().removeNode(Fqn.fromString("/"));
cache1_.stop();
cache2_.stop();
}
1.4 +2 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated/PropagationManagerlTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PropagationManagerlTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated/PropagationManagerlTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- PropagationManagerlTest.java 31 Oct 2006 11:07:18 -0000 1.3
+++ PropagationManagerlTest.java 6 Nov 2006 13:44:27 -0000 1.4
@@ -5,6 +5,7 @@
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.test.propagation.PropagationManager;
import org.jboss.cache.pojo.test.propagation.impl.PropagationManagerImpl;
+import org.jboss.cache.Fqn;
public class PropagationManagerlTest extends TestCase
{
@@ -18,7 +19,7 @@
protected void tearDown() throws Exception
{
- cache_.getCache().remove("/");
+ cache_.getCache().removeNode(Fqn.fromString("/"));
cache_.stop();
}
1.5 +2 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated/NetworkManagementTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NetworkManagementTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated/NetworkManagementTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- NetworkManagementTest.java 31 Oct 2006 11:07:18 -0000 1.4
+++ NetworkManagementTest.java 6 Nov 2006 13:44:27 -0000 1.5
@@ -11,6 +11,7 @@
import org.jboss.cache.pojo.test.NetworkDomain;
import org.jboss.cache.pojo.test.NetworkElement;
import org.jboss.cache.pojo.test.NetworkNode;
+import org.jboss.cache.Fqn;
import java.util.List;
@@ -46,7 +47,7 @@
protected void tearDown() throws Exception
{
super.tearDown();
- cache1.getCache().remove("/");
+ cache1.getCache().removeNode(Fqn.fromString("/"));
cache1.stop();
}
1.5 +2 -1 JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated/ReplicatedNetworkManagementTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedNetworkManagementTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated/ReplicatedNetworkManagementTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ReplicatedNetworkManagementTest.java 31 Oct 2006 11:07:18 -0000 1.4
+++ ReplicatedNetworkManagementTest.java 6 Nov 2006 13:44:27 -0000 1.5
@@ -11,6 +11,7 @@
import org.jboss.cache.pojo.test.NetworkDomain;
import org.jboss.cache.pojo.test.NetworkElement;
import org.jboss.cache.pojo.test.NetworkNode;
+import org.jboss.cache.Fqn;
import java.util.List;
@@ -48,7 +49,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