[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/factories ...
Manik Surtani
msurtani at jboss.com
Wed Nov 15 10:16:40 EST 2006
User: msurtani
Date: 06/11/15 10:16:40
Modified: tests/functional/org/jboss/cache/factories
InterceptorChainFactoryTest.java
Log:
Updated to fix failures after patching up region managers
Revision Changes Path
1.5 +9 -1 JBossCache/tests/functional/org/jboss/cache/factories/InterceptorChainFactoryTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InterceptorChainFactoryTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/factories/InterceptorChainFactoryTest.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- InterceptorChainFactoryTest.java 10 Nov 2006 02:48:46 -0000 1.4
+++ InterceptorChainFactoryTest.java 15 Nov 2006 15:16:40 -0000 1.5
@@ -6,6 +6,7 @@
import org.jboss.cache.TreeCache;
import org.jboss.cache.config.BuddyReplicationConfig;
import org.jboss.cache.config.CacheLoaderConfig;
+import org.jboss.cache.config.EvictionConfig;
import org.jboss.cache.interceptors.*;
import org.jboss.cache.xml.XmlHelper;
import org.w3c.dom.Element;
@@ -361,7 +362,14 @@
public void testEvictionInterceptorConfig() throws Exception
{
- cache.setIsUsingEviction(true);
+ cache.getConfiguration().setEvictionConfig(new EvictionConfig()
+ {
+ public boolean isValidConfig()
+ {
+ return true;
+ }
+ }
+ );
Interceptor chain = new InterceptorChainFactory().buildInterceptorChain(cache);
List<Interceptor> list = InterceptorChainFactory.asList(chain);
Iterator<Interceptor> interceptors = list.iterator();
More information about the jboss-cvs-commits
mailing list