[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/pojo/statetransfer ...
Vladmir Blagojevic
vladimir.blagojevic at jboss.com
Mon Apr 16 13:37:11 EDT 2007
User: vblagojevic
Date: 07/04/16 13:37:11
Modified: tests/functional/org/jboss/cache/pojo/statetransfer
ReplicatedTest.java StateTransferAopTestBase.java
Log:
rename UnitTestCacheFactory to UnitTestCacheConfigurationFactory
Revision Changes Path
1.2 +3 -3 JBossCache/tests/functional/org/jboss/cache/pojo/statetransfer/ReplicatedTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/statetransfer/ReplicatedTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ReplicatedTest.java 13 Jan 2007 15:55:06 -0000 1.1
+++ ReplicatedTest.java 16 Apr 2007 17:37:11 -0000 1.2
@@ -29,7 +29,7 @@
import org.apache.commons.logging.LogFactory;
import org.jboss.cache.CacheImpl;
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.Person;
@@ -88,12 +88,12 @@
public void testSimple() throws Exception
{
boolean toStart = true;
- cache = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ cache = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
Person ben = createPerson("/person/test1", "Ben Wang", 40);
System.out.println("\n*** I ***");
System.out.println(((CacheImpl) cache.getCache()).printDetails());
- cache1 = PojoCacheFactory.createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
+ cache1 = PojoCacheFactory.createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), toStart);
cache1.start();
System.out.println("\n*** II ***");
1.4 +3 -3 JBossCache/tests/functional/org/jboss/cache/pojo/statetransfer/StateTransferAopTestBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: StateTransferAopTestBase.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/statetransfer/StateTransferAopTestBase.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- StateTransferAopTestBase.java 1 Feb 2007 13:45:47 -0000 1.3
+++ StateTransferAopTestBase.java 16 Apr 2007 17:37:11 -0000 1.4
@@ -17,7 +17,7 @@
import org.jboss.cache.config.CacheLoaderConfig;
import org.jboss.cache.config.Configuration;
import org.jboss.cache.config.Configuration.CacheMode;
-import org.jboss.cache.factories.UnitTestCacheFactory;
+import org.jboss.cache.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.factories.XmlConfigurationParser;
import org.jboss.cache.loader.CacheLoader;
import org.jboss.cache.misc.TestingUtil;
@@ -42,7 +42,7 @@
* Tests state transfer in PojoCache.
*
* @author <a href="mailto://brian.stansberry@jboss.com">Brian Stansberry</a>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public abstract class StateTransferAopTestBase extends TestCase
{
@@ -586,7 +586,7 @@
throw new IllegalStateException(cacheID + " already created");
CacheMode mode = sync ? CacheMode.REPL_SYNC:CacheMode.REPL_ASYNC;
- Configuration c = UnitTestCacheFactory.createConfiguration(mode);
+ Configuration c = UnitTestCacheConfigurationFactory.createConfiguration(mode);
c.setClusterName("StateTransferTestBase");
c.setReplVersionString(getReplicationVersion());
// Use a long timeout to facilitate setting debugger breakpoints
More information about the jboss-cvs-commits
mailing list