[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/aop/integrated ...
Manik Surtani
msurtani at jboss.com
Wed Jul 19 17:34:45 EDT 2006
User: msurtani
Date: 06/07/19 17:34:45
Modified: tests/functional/org/jboss/cache/aop/integrated
ReplicatedNetworkManagementAopTest.java
Log:
JBCACHE-657
JBCACHE-594
Revision Changes Path
1.7 +8 -4 JBossCache/tests/functional/org/jboss/cache/aop/integrated/ReplicatedNetworkManagementAopTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedNetworkManagementAopTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/aop/integrated/ReplicatedNetworkManagementAopTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- ReplicatedNetworkManagementAopTest.java 9 Apr 2006 12:33:49 -0000 1.6
+++ ReplicatedNetworkManagementAopTest.java 19 Jul 2006 21:34:45 -0000 1.7
@@ -5,12 +5,12 @@
import junit.framework.TestSuite;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.jboss.cache.PropertyConfigurator;
import org.jboss.cache.aop.PojoCache;
import org.jboss.cache.aop.test.NetworkAdmin;
import org.jboss.cache.aop.test.NetworkDomain;
import org.jboss.cache.aop.test.NetworkElement;
import org.jboss.cache.aop.test.NetworkNode;
+import org.jboss.cache.config.Configuration;
import java.util.List;
@@ -51,9 +51,13 @@
private PojoCache createCache(String name) throws Exception {
PojoCache tree = new PojoCache();
- PropertyConfigurator config = new PropertyConfigurator();
- config.configure(tree, "META-INF/replSync-service.xml"); // read in generic replAsync xml
- tree.setClusterName(name);
+ //PropertyConfigurator config = new PropertyConfigurator();
+ //config.configure(tree, "META-INF/replSync-service.xml"); // read in generic replAsync xml
+
+ // TODO: Use a cache factory to create a PojoCache
+ Configuration conf = new Configuration();
+
+ conf.setClusterName(name);
tree.createService();
tree.startService();
return tree;
More information about the jboss-cvs-commits
mailing list