[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/options ...

Elias Ross genman at noderunner.net
Wed Feb 7 17:06:47 EST 2007


  User: genman  
  Date: 07/02/07 17:06:47

  Modified:    tests/functional/org/jboss/cache/options      
                        ForceWriteLockTest.java
                        ExplicitVersionsReplTest.java
                        CacheModeLocalSimpleTest.java
                        SuppressLockingTest.java ExplicitVersionsTest.java
                        FailSilentlyTest.java
  Log:
  JBCACHE-969 - Move transaction classes to org.jboss.cache.transaction
  
  Revision  Changes    Path
  1.4       +1 -1      JBossCache/tests/functional/org/jboss/cache/options/ForceWriteLockTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ForceWriteLockTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/ForceWriteLockTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- ForceWriteLockTest.java	17 Jan 2007 16:24:06 -0000	1.3
  +++ ForceWriteLockTest.java	7 Feb 2007 22:06:47 -0000	1.4
  @@ -25,7 +25,7 @@
      protected void setUp()
      {
         Configuration c = new Configuration();
  -      c.setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      c.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         cache = (CacheSPI) DefaultCacheFactory.getInstance().createCache(c);
         tm = cache.getTransactionManager();
      }
  
  
  
  1.12      +1 -1      JBossCache/tests/functional/org/jboss/cache/options/ExplicitVersionsReplTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ExplicitVersionsReplTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/ExplicitVersionsReplTest.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- ExplicitVersionsReplTest.java	31 Jan 2007 16:53:41 -0000	1.11
  +++ ExplicitVersionsReplTest.java	7 Feb 2007 22:06:47 -0000	1.12
  @@ -47,7 +47,7 @@
         c.setSyncRollbackPhase(true);
         c.setSyncReplTimeout(1000);
         c.setLockAcquisitionTimeout(1000);
  -      c.setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      c.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
   
         cache.setConfiguration(c);
         cache.start();
  
  
  
  1.8       +2 -2      JBossCache/tests/functional/org/jboss/cache/options/CacheModeLocalSimpleTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheModeLocalSimpleTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/CacheModeLocalSimpleTest.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- CacheModeLocalSimpleTest.java	11 Jan 2007 13:49:07 -0000	1.7
  +++ CacheModeLocalSimpleTest.java	7 Feb 2007 22:06:47 -0000	1.8
  @@ -29,13 +29,13 @@
         Configuration c = new Configuration();
         cache1.setConfiguration(c);
         c.setCacheMode("REPL_SYNC");
  -      c.setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      c.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
   
         cache2 = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
         c = new Configuration();
         cache2.setConfiguration(c);
         c.setCacheMode("REPL_SYNC");
  -      c.setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      c.setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
   
         cache1.start();
         cache2.start();
  
  
  
  1.12      +1 -1      JBossCache/tests/functional/org/jboss/cache/options/SuppressLockingTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SuppressLockingTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/SuppressLockingTest.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- SuppressLockingTest.java	11 Jan 2007 13:49:07 -0000	1.11
  +++ SuppressLockingTest.java	7 Feb 2007 22:06:47 -0000	1.12
  @@ -9,9 +9,9 @@
   import junit.framework.TestCase;
   import org.jboss.cache.CacheImpl;
   import org.jboss.cache.DefaultCacheFactory;
  -import org.jboss.cache.DummyTransactionManagerLookup;
   import org.jboss.cache.Fqn;
   import org.jboss.cache.config.Configuration;
  +import org.jboss.cache.transaction.DummyTransactionManagerLookup;
   
   import javax.transaction.TransactionManager;
   import java.util.HashMap;
  
  
  
  1.15      +1 -1      JBossCache/tests/functional/org/jboss/cache/options/ExplicitVersionsTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ExplicitVersionsTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/ExplicitVersionsTest.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- ExplicitVersionsTest.java	30 Jan 2007 22:22:31 -0000	1.14
  +++ ExplicitVersionsTest.java	7 Feb 2007 22:06:47 -0000	1.15
  @@ -37,7 +37,7 @@
         cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
         cache.getConfiguration().setCacheMode(Configuration.CacheMode.LOCAL);
         cache.getConfiguration().setNodeLockingScheme("OPTIMISTIC");
  -      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         cache.start();
      }
   
  
  
  
  1.9       +1 -1      JBossCache/tests/functional/org/jboss/cache/options/FailSilentlyTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: FailSilentlyTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/options/FailSilentlyTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- FailSilentlyTest.java	11 Jan 2007 13:49:07 -0000	1.8
  +++ FailSilentlyTest.java	7 Feb 2007 22:06:47 -0000	1.9
  @@ -36,7 +36,7 @@
         cache = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
         // very short acquisition timeout
         cache.getConfiguration().setLockAcquisitionTimeout(100);
  -      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         cache.getConfiguration().setCacheMode(Configuration.CacheMode.LOCAL);
         cache.start();
         manager = cache.getTransactionManager();
  
  
  



More information about the jboss-cvs-commits mailing list