[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/marshall ...
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/marshall
AsyncReplTest.java SyncReplTest.java
Log:
rename UnitTestCacheFactory to UnitTestCacheConfigurationFactory
Revision Changes Path
1.17 +3 -3 JBossCache/tests/functional/org/jboss/cache/marshall/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/marshall/AsyncReplTest.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- AsyncReplTest.java 19 Jan 2007 16:00:32 -0000 1.16
+++ AsyncReplTest.java 16 Apr 2007 17:37:12 -0000 1.17
@@ -17,7 +17,7 @@
import org.jboss.cache.Fqn;
import org.jboss.cache.Region;
import org.jboss.cache.config.Configuration.CacheMode;
-import org.jboss.cache.factories.UnitTestCacheFactory;
+import org.jboss.cache.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.marshall.data.Address;
import org.jboss.cache.marshall.data.Person;
import org.jboss.cache.misc.TestingUtil;
@@ -32,7 +32,7 @@
* Test marshalling for async mode.
*
* @author Ben Wang
- * @version $Revision: 1.16 $
+ * @version $Revision: 1.17 $
*/
public class AsyncReplTest extends RegionBasedMarshallingTestBase
{
@@ -66,7 +66,7 @@
private CacheSPI createCache(String name) throws Exception
{
- CacheSPI cache = (CacheSPI) DefaultCacheFactory.getInstance().createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_ASYNC), false);
+ CacheSPI cache = (CacheSPI) DefaultCacheFactory.getInstance().createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_ASYNC), false);
cache.getConfiguration().setClusterName(name);
// Use marshaller
cache.getConfiguration().setUseRegionBasedMarshalling(true);
1.18 +3 -3 JBossCache/tests/functional/org/jboss/cache/marshall/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/marshall/SyncReplTest.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- SyncReplTest.java 19 Jan 2007 16:00:32 -0000 1.17
+++ SyncReplTest.java 16 Apr 2007 17:37:12 -0000 1.18
@@ -16,7 +16,7 @@
import org.jboss.cache.Fqn;
import org.jboss.cache.Region;
import org.jboss.cache.config.Configuration.CacheMode;
-import org.jboss.cache.factories.UnitTestCacheFactory;
+import org.jboss.cache.factories.UnitTestCacheConfigurationFactory;
import org.jboss.cache.marshall.data.Address;
import org.jboss.cache.marshall.data.Person;
import org.jboss.cache.misc.TestingUtil;
@@ -32,7 +32,7 @@
* Test case for marshalling using Sync mode.
*
* @author Ben Wang
- * @version $Revision: 1.17 $
+ * @version $Revision: 1.18 $
*/
public class SyncReplTest extends RegionBasedMarshallingTestBase
{
@@ -65,7 +65,7 @@
private CacheSPI createCache(String name) throws Exception
{
- CacheSPI cache = (CacheSPI) DefaultCacheFactory.getInstance().createCache(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC), false);
+ CacheSPI cache = (CacheSPI) DefaultCacheFactory.getInstance().createCache(UnitTestCacheConfigurationFactory.createConfiguration(CacheMode.REPL_SYNC), false);
cache.getConfiguration().setClusterName(name);
// Use marshaller
cache.getConfiguration().setUseRegionBasedMarshalling(true);
More information about the jboss-cvs-commits
mailing list