[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/eviction ...
Manik Surtani
msurtani at jboss.com
Wed Jul 19 17:34:45 EDT 2006
User: msurtani
Date: 06/07/19 17:34:45
Modified: tests/functional/org/jboss/cache/eviction
RegionManagerTest.java
Log:
JBCACHE-657
JBCACHE-594
Revision Changes Path
1.11 +2 -2 JBossCache/tests/functional/org/jboss/cache/eviction/RegionManagerTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RegionManagerTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/eviction/RegionManagerTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- RegionManagerTest.java 7 May 2006 03:34:39 -0000 1.10
+++ RegionManagerTest.java 19 Jul 2006 21:34:45 -0000 1.11
@@ -12,7 +12,7 @@
*
* @author Ben Wang, Feb 11, 2004
* @author Daniel Huang (dhuang at jboss.org)
- * @version $Revision: 1.10 $
+ * @version $Revision: 1.11 $
*/
public class RegionManagerTest extends TestCase
{
@@ -213,7 +213,7 @@
assertEquals("/test/", region.getFqn());
TreeCache cache = new TreeCache();
- cache.setEvictionPolicyClass("org.jboss.cache.eviction.LFUPolicy");
+ cache.getConfiguration().setEvictionPolicyClass("org.jboss.cache.eviction.LFUPolicy");
// test the 1.2.x style configuration
xml = "<region name=\"abc\">" +
More information about the jboss-cvs-commits
mailing list