[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/mgmt ...
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/mgmt
NotificationTest.java InvalidationTest.java
TxTest.java
Log:
rename UnitTestCacheFactory to UnitTestCacheConfigurationFactory
Revision Changes Path
1.21 +3 -3 JBossCache/tests/functional/org/jboss/cache/mgmt/NotificationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NotificationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/mgmt/NotificationTest.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- NotificationTest.java 7 Feb 2007 22:06:51 -0000 1.20
+++ NotificationTest.java 16 Apr 2007 17:37:11 -0000 1.21
@@ -7,7 +7,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.interceptors.CacheMgmtInterceptor;
import org.jboss.cache.jmx.CacheJmxWrapper;
@@ -27,7 +27,7 @@
* Functional tests for CacheMgmtInterceptor broadcast of cache event notifications
*
* @author Jerry Gauthier
- * @version $Id: NotificationTest.java,v 1.20 2007/02/07 22:06:51 genman Exp $
+ * @version $Id: NotificationTest.java,v 1.21 2007/04/16 17:37:11 vblagojevic Exp $
*/
public class NotificationTest extends TestCase
{
@@ -162,7 +162,7 @@
private CacheImpl createCache(String clusterName) 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().setCacheMode(Configuration.CacheMode.REPL_SYNC);
cache.getConfiguration().setCacheLoaderConfig(getCacheLoaderConfig("location=" + getTempDir()));
cache.getConfiguration().setExposeManagementStatistics(true);
1.13 +3 -3 JBossCache/tests/functional/org/jboss/cache/mgmt/InvalidationTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InvalidationTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/mgmt/InvalidationTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- InvalidationTest.java 11 Jan 2007 13:49:05 -0000 1.12
+++ InvalidationTest.java 16 Apr 2007 17:37:11 -0000 1.13
@@ -8,7 +8,7 @@
import org.jboss.cache.Fqn;
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.interceptors.InvalidationInterceptor;
import java.util.HashMap;
@@ -18,7 +18,7 @@
* Simple functional tests for InvalidationInterceptor statistics
*
* @author Jerry Gauthier
- * @version $Id: InvalidationTest.java,v 1.12 2007/01/11 13:49:05 msurtani Exp $
+ * @version $Id: InvalidationTest.java,v 1.13 2007/04/16 17:37:11 vblagojevic Exp $
*/
public class InvalidationTest extends TestCase
{
@@ -147,7 +147,7 @@
private CacheImpl createCache(String clusterName) throws Exception
{
CacheImpl cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
- Configuration c = UnitTestCacheFactory.createConfiguration(CacheMode.INVALIDATION_SYNC);
+ Configuration c = UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.INVALIDATION_SYNC);
cache.setConfiguration(c);
c.setCacheMode(Configuration.CacheMode.INVALIDATION_SYNC);
c.setExposeManagementStatistics(true);
1.13 +3 -3 JBossCache/tests/functional/org/jboss/cache/mgmt/TxTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TxTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/mgmt/TxTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- TxTest.java 11 Jan 2007 13:49:05 -0000 1.12
+++ TxTest.java 16 Apr 2007 17:37:11 -0000 1.13
@@ -8,7 +8,7 @@
import org.jboss.cache.Fqn;
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.interceptors.TxInterceptor;
import javax.transaction.TransactionManager;
@@ -19,7 +19,7 @@
* Simple functional tests for TxInterceptor statistics
*
* @author Jerry Gauthier
- * @version $Id: TxTest.java,v 1.12 2007/01/11 13:49:05 msurtani Exp $
+ * @version $Id: TxTest.java,v 1.13 2007/04/16 17:37:11 vblagojevic Exp $
*/
public class TxTest extends TestCase
{
@@ -210,7 +210,7 @@
private CacheImpl createCache(String clusterName) 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().setUseRegionBasedMarshalling(false);
cache.getConfiguration().setCacheMode(Configuration.CacheMode.REPL_SYNC);
cache.getConfiguration().setExposeManagementStatistics(true);
More information about the jboss-cvs-commits
mailing list