[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/pojo/collection ...
Vladmir Blagojevic
vladimir.blagojevic at jboss.com
Mon Apr 16 13:37:12 EDT 2007
User: vblagojevic
Date: 07/04/16 13:37:12
Modified: tests/functional/org/jboss/cache/pojo/collection
CachedMapImplTest.java ReplicatedSyncSetTest.java
CachedListImplTest.java ReplicatedSyncListTest.java
ReplicatedSyncMapTest.java
Log:
rename UnitTestCacheFactory to UnitTestCacheConfigurationFactory
Revision Changes Path
1.3 +3 -3 JBossCache/tests/functional/org/jboss/cache/pojo/collection/CachedMapImplTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CachedMapImplTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/collection/CachedMapImplTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- CachedMapImplTest.java 12 Feb 2007 15:17:19 -0000 1.2
+++ CachedMapImplTest.java 16 Apr 2007 17:37:12 -0000 1.3
@@ -28,7 +28,7 @@
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.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.Fqn;
@@ -60,9 +60,9 @@
super.setUp();
log.info("setUp() ....");
boolean toStart = true;
- cache_ = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ cache_ = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
- cache1_ = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ cache1_ = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
}
protected void tearDown() throws Exception
1.2 +2 -2 JBossCache/tests/functional/org/jboss/cache/pojo/collection/ReplicatedSyncSetTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedSyncSetTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/collection/ReplicatedSyncSetTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ReplicatedSyncSetTest.java 13 Jan 2007 15:55:00 -0000 1.1
+++ ReplicatedSyncSetTest.java 16 Apr 2007 17:37:12 -0000 1.2
@@ -6,7 +6,7 @@
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.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.test.Address;
@@ -53,7 +53,7 @@
private PojoCache createCache(String name) throws Exception
{
boolean toStart = false;
- PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache.start();
return cache;
}
1.4 +3 -3 JBossCache/tests/functional/org/jboss/cache/pojo/collection/CachedListImplTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CachedListImplTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/collection/CachedListImplTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- CachedListImplTest.java 12 Feb 2007 15:17:19 -0000 1.3
+++ CachedListImplTest.java 16 Apr 2007 17:37:12 -0000 1.4
@@ -7,7 +7,7 @@
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.Fqn;
import org.jboss.cache.config.Configuration.CacheMode;
-import org.jboss.cache.factories.UnitTestCacheFactory;
+import org.jboss.cache.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
@@ -36,9 +36,9 @@
super.setUp();
log.info("setUp() ....");
boolean toStart = false;
- cache_ = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ cache_ = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache_.getCache().getConfiguration().setFetchInMemoryState(false);
- cache1_ = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ cache1_ = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache1_.getCache().getConfiguration().setFetchInMemoryState(false);
cache_.start();
cache1_.start();
1.2 +2 -2 JBossCache/tests/functional/org/jboss/cache/pojo/collection/ReplicatedSyncListTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedSyncListTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/collection/ReplicatedSyncListTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ReplicatedSyncListTest.java 13 Jan 2007 15:55:00 -0000 1.1
+++ ReplicatedSyncListTest.java 16 Apr 2007 17:37:12 -0000 1.2
@@ -6,7 +6,7 @@
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.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.test.Address;
@@ -54,7 +54,7 @@
private PojoCache createCache(String name) throws Exception
{
boolean toStart = false;
- PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache.start();
return cache;
}
1.2 +2 -2 JBossCache/tests/functional/org/jboss/cache/pojo/collection/ReplicatedSyncMapTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedSyncMapTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/collection/ReplicatedSyncMapTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ReplicatedSyncMapTest.java 13 Jan 2007 15:55:00 -0000 1.1
+++ ReplicatedSyncMapTest.java 16 Apr 2007 17:37:12 -0000 1.2
@@ -6,7 +6,7 @@
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.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.pojo.PojoCache;
import org.jboss.cache.pojo.PojoCacheFactory;
import org.jboss.cache.pojo.PojoCacheException;
@@ -58,7 +58,7 @@
private PojoCache createCache(String name) throws Exception
{
boolean toStart = false;
- PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ PojoCache cache = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache.start();
return cache;
}
More information about the jboss-cvs-commits
mailing list