[jboss-cvs] JBossCache/tests/perf/org/jboss/cache ...
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/perf/org/jboss/cache
ReplicatedSyncMapPerfTest.java
ReplicatedSyncPerfTest.java
ReplicatedAsyncMapPerfTest.java
ReplicatedAsyncPerfTest.java
Log:
rename UnitTestCacheFactory to UnitTestCacheConfigurationFactory
Revision Changes Path
1.11 +3 -3 JBossCache/tests/perf/org/jboss/cache/ReplicatedSyncMapPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedSyncMapPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ReplicatedSyncMapPerfTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ReplicatedSyncMapPerfTest.java 7 Feb 2007 22:06:48 -0000 1.10
+++ ReplicatedSyncMapPerfTest.java 16 Apr 2007 17:37:10 -0000 1.11
@@ -14,7 +14,7 @@
import junit.framework.TestSuite;
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.lock.IsolationLevel;
import org.jboss.cache.lock.LockStrategyFactory;
import org.jboss.cache.transaction.DummyTransactionManager;
@@ -33,7 +33,7 @@
* Local mode performance test for CacheImpl.
*
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class ReplicatedSyncMapPerfTest extends TestCase
{
@@ -143,7 +143,7 @@
{
cachingMode_ = caching_mode;
cache_ = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
- cache_.setConfiguration(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC));
+ cache_.setConfiguration(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC));
cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache_.start();
// org.jgroups.log.Trace.init();
1.10 +3 -3 JBossCache/tests/perf/org/jboss/cache/ReplicatedSyncPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedSyncPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ReplicatedSyncPerfTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- ReplicatedSyncPerfTest.java 7 Feb 2007 22:06:48 -0000 1.9
+++ ReplicatedSyncPerfTest.java 16 Apr 2007 17:37:10 -0000 1.10
@@ -14,7 +14,7 @@
import junit.framework.TestSuite;
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.lock.IsolationLevel;
import org.jboss.cache.transaction.DummyTransactionManager;
import org.jgroups.util.Util;
@@ -29,7 +29,7 @@
*
* @author Bela Ban
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class ReplicatedSyncPerfTest extends TestCase
{
@@ -69,7 +69,7 @@
CacheImpl createCache(IsolationLevel level) throws Exception
{
CacheImpl cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
- cache.setConfiguration(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC));
+ cache.setConfiguration(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC));
cache.getConfiguration().setIsolationLevel(level);
cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache.getConfiguration().setSyncCommitPhase(true);
1.12 +3 -3 JBossCache/tests/perf/org/jboss/cache/ReplicatedAsyncMapPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedAsyncMapPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ReplicatedAsyncMapPerfTest.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- ReplicatedAsyncMapPerfTest.java 7 Feb 2007 22:06:48 -0000 1.11
+++ ReplicatedAsyncMapPerfTest.java 16 Apr 2007 17:37:10 -0000 1.12
@@ -14,7 +14,7 @@
import junit.framework.TestSuite;
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.transaction.DummyTransactionManager;
import javax.naming.Context;
@@ -31,7 +31,7 @@
* Local mode performance test for CacheImpl.
*
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
*/
public class ReplicatedAsyncMapPerfTest extends TestCase
{
@@ -139,7 +139,7 @@
{
cachingMode_ = caching_mode;
cache_ = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
- cache_.setConfiguration(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_ASYNC));// read in generic replAsync xml
+ cache_.setConfiguration(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_ASYNC));// read in generic replAsync xml
cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
cache_.start();
}
1.10 +3 -3 JBossCache/tests/perf/org/jboss/cache/ReplicatedAsyncPerfTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedAsyncPerfTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/ReplicatedAsyncPerfTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- ReplicatedAsyncPerfTest.java 8 Feb 2007 14:52:42 -0000 1.9
+++ ReplicatedAsyncPerfTest.java 16 Apr 2007 17:37:10 -0000 1.10
@@ -14,7 +14,7 @@
import junit.framework.TestSuite;
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.lock.IsolationLevel;
import org.jboss.cache.transaction.DummyTransactionManager;
@@ -30,7 +30,7 @@
* Replicated asynchronous mode performance test for transactional CacheImpl
*
* @author <a href="mailto:bwang at jboss.org">Ben Wang</a> May 20 2003
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class ReplicatedAsyncPerfTest extends TestCase
{
@@ -93,7 +93,7 @@
CacheImpl createCache(IsolationLevel level) throws Exception
{
CacheImpl cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
- Configuration c = UnitTestCacheFactory.createConfiguration(CacheMode.REPL_ASYNC);
+ Configuration c = UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_ASYNC);
cache.setConfiguration(c);
c.setIsolationLevel(level);
return cache;
More information about the jboss-cvs-commits
mailing list