[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/factories ...
Manik Surtani
msurtani at jboss.com
Sat Dec 30 12:50:07 EST 2006
User: msurtani
Date: 06/12/30 12:50:07
Modified: tests/functional/org/jboss/cache/factories
InterceptorChainFactoryTest.java
Log:
Major changes to restructure cache and node object model
Revision Changes Path
1.6 +11 -11 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.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- InterceptorChainFactoryTest.java 15 Nov 2006 15:16:40 -0000 1.5
+++ InterceptorChainFactoryTest.java 30 Dec 2006 17:50:07 -0000 1.6
@@ -3,7 +3,7 @@
import junit.framework.Assert;
import junit.framework.Test;
import junit.framework.TestSuite;
-import org.jboss.cache.TreeCache;
+import org.jboss.cache.CacheImpl;
import org.jboss.cache.config.BuddyReplicationConfig;
import org.jboss.cache.config.CacheLoaderConfig;
import org.jboss.cache.config.EvictionConfig;
@@ -16,12 +16,12 @@
public class InterceptorChainFactoryTest extends InterceptorChainTestBase
{
- TreeCache cache = null;
+ CacheImpl cache = null;
protected void setUp() throws Exception
{
super.setUp();
- cache = new TreeCache();
+ cache = new CacheImpl();
cache.getConfiguration().setCacheMode("LOCAL");
}
@@ -186,7 +186,7 @@
public void testOptimisticChain() throws Exception
{
- TreeCache cache = new TreeCache();
+ CacheImpl cache = new CacheImpl();
cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setNodeLockingOptimistic(true);
@@ -211,7 +211,7 @@
public void testOptimisticReplicatedChain() throws Exception
{
- TreeCache cache = new TreeCache();
+ CacheImpl cache = new CacheImpl();
cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setNodeLockingOptimistic(true);
cache.getConfiguration().setCacheMode("REPL_SYNC");
@@ -238,7 +238,7 @@
public void testOptimisticCacheLoaderChain() throws Exception
{
- TreeCache cache = new TreeCache();
+ CacheImpl cache = new CacheImpl();
cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setNodeLockingOptimistic(true);
cache.getConfiguration().setCacheLoaderConfig(getCacheLoaderConfig(false, false));
@@ -266,7 +266,7 @@
public void testOptimisticPassivationCacheLoaderChain() throws Exception
{
- TreeCache cache = new TreeCache();
+ CacheImpl cache = new CacheImpl();
cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setNodeLockingOptimistic(true);
cache.getConfiguration().setCacheLoaderConfig(getCacheLoaderConfig(true, false));
@@ -295,7 +295,7 @@
public void testInvalidationInterceptorChain() throws Exception
{
- TreeCache cache = new TreeCache();
+ CacheImpl cache = new CacheImpl();
cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setCacheMode("REPL_ASYNC");
@@ -317,7 +317,7 @@
// ok, my replication chain looks good.
// now for my invalidation chain.
- cache = new TreeCache();
+ cache = new CacheImpl();
cache.getConfiguration().setExposeManagementStatistics(false);
cache.getConfiguration().setCacheMode("INVALIDATION_ASYNC");
chain = new InterceptorChainFactory().buildInterceptorChain(cache);
More information about the jboss-cvs-commits
mailing list