[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/replicated ...
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/replicated
SyncReplTest.java AsyncReplTest.java
Log:
rename UnitTestCacheFactory to UnitTestCacheConfigurationFactory
Revision Changes Path
1.8 +3 -3 JBossCache/tests/functional/org/jboss/cache/replicated/SyncReplTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SyncReplTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/replicated/SyncReplTest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- SyncReplTest.java 11 Jan 2007 13:49:07 -0000 1.7
+++ SyncReplTest.java 16 Apr 2007 17:37:12 -0000 1.8
@@ -14,7 +14,7 @@
import org.jboss.cache.Node;
import org.jboss.cache.config.Configuration.CacheMode;
import org.jboss.cache.config.Option;
-import org.jboss.cache.factories.UnitTestCacheFactory;
+import org.jboss.cache.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.misc.TestingUtil;
/**
@@ -28,8 +28,8 @@
{
System.out.println("*** In setUp()");
caches = new Cache[2];
- caches[0] = DefaultCacheFactory.getInstance().createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC));
- caches[1] = DefaultCacheFactory.getInstance().createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC));
+ caches[0] = DefaultCacheFactory.getInstance().createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC));
+ caches[1] = DefaultCacheFactory.getInstance().createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC));
TestingUtil.blockUntilViewsReceived(caches, 5000);
System.out.println("*** Finished setUp()");
1.17 +3 -3 JBossCache/tests/functional/org/jboss/cache/replicated/AsyncReplTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AsyncReplTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/replicated/AsyncReplTest.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- AsyncReplTest.java 11 Jan 2007 13:49:07 -0000 1.16
+++ AsyncReplTest.java 16 Apr 2007 17:37:12 -0000 1.17
@@ -18,7 +18,7 @@
import org.jboss.cache.DefaultCacheFactory;
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.misc.TestingUtil;
import javax.transaction.TransactionManager;
@@ -27,7 +27,7 @@
* Unit test for replicated async CacheImpl. Use locking and multiple threads to test
* concurrent access to the tree.
*
- * @version $Revision: 1.16 $
+ * @version $Revision: 1.17 $
*/
public class AsyncReplTest extends TestCase
{
@@ -53,7 +53,7 @@
private CacheImpl createCache(String name) throws Exception
{
CacheImpl cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
- cache.setConfiguration(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_ASYNC));
+ cache.setConfiguration(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_ASYNC));
cache.getConfiguration().setClusterName(name);
// Call the hook that allows mux integration
More information about the jboss-cvs-commits
mailing list