[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/integrated ...
Vladmir Blagojevic
vladimir.blagojevic at jboss.com
Wed Jan 10 11:44:13 EST 2007
User: vblagojevic
Date: 07/01/10 11:44:13
Modified: tests-50/functional/org/jboss/cache/pojo/integrated
PropagationManagerlTest.java
ReplicatedPropagationManagerlTest.java
ReplicatedNetworkManagementTest.java
NetworkManagementTest.java
Log:
JBCACHE-840 (work in progress)
Revision Changes Path
1.5 +4 -2 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.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- PropagationManagerlTest.java 6 Nov 2006 13:44:27 -0000 1.4
+++ PropagationManagerlTest.java 10 Jan 2007 16:44:13 -0000 1.5
@@ -1,6 +1,9 @@
package org.jboss.cache.pojo.integrated;
import junit.framework.TestCase;
+
+import org.jboss.cache.config.Configuration.CacheMode;
+import org.jboss.cache.factories.UnitTestCacheFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.test.propagation.PropagationManager;
@@ -25,9 +28,8 @@
private PojoCache createCache(String name) throws Exception
{
- String configFile = "META-INF/replSync-service.xml";
boolean toStart = false;
- PojoCache cache = PojoCacheFactory.createCache(configFile, toStart);
+ PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache.start();
return cache;
}
1.5 +4 -2 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.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ReplicatedPropagationManagerlTest.java 6 Nov 2006 13:44:27 -0000 1.4
+++ ReplicatedPropagationManagerlTest.java 10 Jan 2007 16:44:13 -0000 1.5
@@ -1,6 +1,9 @@
package org.jboss.cache.pojo.integrated;
import junit.framework.TestCase;
+
+import org.jboss.cache.config.Configuration.CacheMode;
+import org.jboss.cache.factories.UnitTestCacheFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.test.propagation.PropagationManager;
@@ -24,9 +27,8 @@
}
private PojoCache createCache(String name) throws Exception {
- String configFile = "META-INF/replSync-service.xml";
boolean toStart = false;
- PojoCache cache = PojoCacheFactory.createCache(configFile, toStart);
+ PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache.start();
return cache;
}
1.6 +3 -2 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.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- ReplicatedNetworkManagementTest.java 6 Nov 2006 13:44:27 -0000 1.5
+++ ReplicatedNetworkManagementTest.java 10 Jan 2007 16:44:13 -0000 1.6
@@ -5,6 +5,8 @@
import junit.framework.TestSuite;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.config.Configuration.CacheMode;
+import org.jboss.cache.factories.UnitTestCacheFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.test.NetworkAdmin;
@@ -56,9 +58,8 @@
private PojoCache createCache(String name) throws Exception
{
- String configFile = "META-INF/replSync-service.xml";
boolean toStart = false;
- PojoCache cache = PojoCacheFactory.createCache(configFile, toStart);
+ PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache.start();
return cache;
}
1.6 +3 -2 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.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- NetworkManagementTest.java 6 Nov 2006 13:44:27 -0000 1.5
+++ NetworkManagementTest.java 10 Jan 2007 16:44:13 -0000 1.6
@@ -5,6 +5,8 @@
import junit.framework.TestSuite;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.jboss.cache.config.Configuration.CacheMode;
+import org.jboss.cache.factories.UnitTestCacheFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.test.NetworkAdmin;
@@ -53,9 +55,8 @@
private PojoCache createCache(String name) throws Exception
{
- String configFile = "META-INF/replSync-service.xml";
boolean toStart = false;
- PojoCache cache = PojoCacheFactory.createCache(configFile, toStart);
+ PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache.start();
return cache;
}
More information about the jboss-cvs-commits
mailing list