[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/util ...
Ben Wang
bwang at jboss.com
Thu Jul 13 11:56:41 EDT 2006
User: bwang
Date: 06/07/13 11:56:41
Modified: tests-50/functional/org/jboss/cache/pojo/util
ObjectUtilAopTest.java
Log:
Refctoring and moved some classes to impl dir.
Revision Changes Path
1.2 +4 -3 JBossCache/tests-50/functional/org/jboss/cache/pojo/util/ObjectUtilAopTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ObjectUtilAopTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/util/ObjectUtilAopTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ObjectUtilAopTest.java 27 Jun 2006 09:19:31 -0000 1.1
+++ ObjectUtilAopTest.java 13 Jul 2006 15:56:41 -0000 1.2
@@ -9,6 +9,7 @@
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.PojoTreeCache;
+import org.jboss.cache.pojo.impl.PojoCacheImpl;
import org.jboss.cache.pojo.test.NodeManager;
import org.jboss.cache.pojo.test.TestNode;
@@ -71,11 +72,11 @@
// cache_.putObject("/pm", pm_);
assertTrue("Hadanshita should be reachable from Kanto ",
- ObjectUtil.isReachable((PojoTreeCache) cache_.getCache(), kanto, hadanshita));
+ ObjectUtil.isReachable((PojoCacheImpl)cache_, kanto, hadanshita));
assertTrue("Hadanshita should also be reachable from Yakahoma! ",
- ObjectUtil.isReachable((PojoTreeCache) cache_.getCache(), yakahoma, hadanshita));
+ ObjectUtil.isReachable((PojoCacheImpl) cache_, yakahoma, hadanshita));
assertFalse("Kanto should not be reachable from test! ",
- ObjectUtil.isReachable((PojoTreeCache) cache_.getCache(), kanto, test));
+ ObjectUtil.isReachable((PojoCacheImpl) cache_, kanto, test));
}
public static Test suite() throws Exception
More information about the jboss-cvs-commits
mailing list