[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/options/cachemodelocal ...
Manik Surtani
msurtani at jboss.com
Sat Dec 30 12:50:01 EST 2006
User: msurtani
Date: 06/12/30 12:50:01
Modified: tests/functional/org/jboss/cache/options/cachemodelocal
CacheModeLocalTestBase.java
Log:
Major changes to restructure cache and node object model
Revision Changes Path
1.8 +5 -5 JBossCache/tests/functional/org/jboss/cache/options/cachemodelocal/CacheModeLocalTestBase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CacheModeLocalTestBase.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/cachemodelocal/CacheModeLocalTestBase.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- CacheModeLocalTestBase.java 7 Sep 2006 15:42:16 -0000 1.7
+++ CacheModeLocalTestBase.java 30 Dec 2006 17:50:01 -0000 1.8
@@ -8,8 +8,8 @@
import junit.framework.Assert;
import junit.framework.TestCase;
+import org.jboss.cache.CacheImpl;
import org.jboss.cache.Fqn;
-import org.jboss.cache.TreeCache;
import org.jboss.cache.config.Configuration;
import javax.transaction.SystemException;
@@ -34,8 +34,8 @@
*/
protected boolean isInvalidation;
- private TreeCache cache1;
- private TreeCache cache2;
+ private CacheImpl cache1;
+ private CacheImpl cache2;
private Fqn fqn = Fqn.fromString("/a");
private String key = "key";
@@ -45,7 +45,7 @@
// force a tear down if the test runner didn't run one before (happens in IDEA)
if (cache1 != null || cache2 != null) tearDown();
- cache1 = new TreeCache();
+ cache1 = new CacheImpl();
cache1.getConfiguration().setClusterName("test");
cache1.getConfiguration().setInitialStateRetrievalTimeout(1000);
cache1.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
@@ -53,7 +53,7 @@
cache1.getConfiguration().setCacheMode(cacheMode);
cache1.start();
- cache2 = new TreeCache();
+ cache2 = new CacheImpl();
cache2.getConfiguration().setClusterName("test");
cache2.getConfiguration().setInitialStateRetrievalTimeout(1000);
cache2.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
More information about the jboss-cvs-commits
mailing list