[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/eviction ...
Vladmir Blagojevic
vladimir.blagojevic at jboss.com
Wed Jan 10 10:39:52 EST 2007
User: vblagojevic
Date: 07/01/10 10:39:52
Modified: tests/functional/org/jboss/cache/eviction
ReplicatedLRUPolicyTest.java
Log:
JBCACHE-840 (work in progress)
Revision Changes Path
1.16 +3 -1 JBossCache/tests/functional/org/jboss/cache/eviction/ReplicatedLRUPolicyTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ReplicatedLRUPolicyTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/ReplicatedLRUPolicyTest.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- ReplicatedLRUPolicyTest.java 30 Dec 2006 17:49:58 -0000 1.15
+++ ReplicatedLRUPolicyTest.java 10 Jan 2007 15:39:52 -0000 1.16
@@ -4,6 +4,8 @@
import org.jboss.cache.AbstractCacheListener;
import org.jboss.cache.CacheImpl;
import org.jboss.cache.Fqn;
+import org.jboss.cache.config.Configuration.CacheMode;
+import org.jboss.cache.factories.UnitTestCacheFactory;
import org.jboss.cache.factories.XmlConfigurationParser;
import org.jboss.cache.misc.TestingUtil;
@@ -33,7 +35,7 @@
listener_.resetCounter();
cache2_ = new CacheImpl();
- cache2_.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/replSync-service.xml")); // read in generic local xml
+ cache2_.setConfiguration(UnitTestCacheFactory.createConfiguration(CacheMode.REPL_SYNC)); // read in generic local xml
cache2_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
cache2_.getConfiguration().setUseRegionBasedMarshalling(true);
cache2_.start();
More information about the jboss-cvs-commits
mailing list