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

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


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

  Modified:    tests/functional/org/jboss/cache/lock     
                        IdentityLockTest.java AcquireAllTest.java
                        UpgradeLockTest.java LockReleaseTest.java
                        WriteLockOnParentTest.java
  Log:
  JBCACHE-969 - Move transaction classes to org.jboss.cache.transaction
  
  Revision  Changes    Path
  1.9       +3 -2      JBossCache/tests/functional/org/jboss/cache/lock/IdentityLockTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: IdentityLockTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/lock/IdentityLockTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- IdentityLockTest.java	4 Jan 2007 05:35:36 -0000	1.8
  +++ IdentityLockTest.java	7 Feb 2007 22:06:49 -0000	1.9
  @@ -10,11 +10,12 @@
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.jboss.cache.GlobalTransaction;
   import org.jboss.cache.NodeSPI;
   import org.jboss.cache.misc.TestingUtil;
  +import org.jboss.cache.transaction.GlobalTransaction;
   
   
   /**
  @@ -22,7 +23,7 @@
    *
    * @author Bela Ban
    * @author Ben Wang
  - * @version $Revision: 1.8 $
  + * @version $Revision: 1.9 $
    */
   public class IdentityLockTest extends TestCase
   {
  
  
  
  1.11      +2 -2      JBossCache/tests/functional/org/jboss/cache/lock/AcquireAllTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AcquireAllTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/lock/AcquireAllTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- AcquireAllTest.java	11 Jan 2007 13:49:22 -0000	1.10
  +++ AcquireAllTest.java	7 Feb 2007 22:06:49 -0000	1.11
  @@ -14,7 +14,7 @@
   
   /**
    * @author Bela Ban
  - * @version $Id: AcquireAllTest.java,v 1.10 2007/01/11 13:49:22 msurtani Exp $
  + * @version $Id: AcquireAllTest.java,v 1.11 2007/02/07 22:06:49 genman Exp $
    */
   public class AcquireAllTest extends TestCase
   {
  @@ -101,7 +101,7 @@
         CacheImpl c = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
         c.getConfiguration().setCacheMode(mode);
         c.getConfiguration().setIsolationLevel(level);
  -      c.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      c.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         c.create();
         c.start();
         return c;
  
  
  
  1.8       +2 -2      JBossCache/tests/functional/org/jboss/cache/lock/UpgradeLockTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: UpgradeLockTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/lock/UpgradeLockTest.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- UpgradeLockTest.java	11 Jan 2007 13:49:22 -0000	1.7
  +++ UpgradeLockTest.java	7 Feb 2007 22:06:49 -0000	1.8
  @@ -25,7 +25,7 @@
    * Tests upgrade locks from read -> write
    *
    * @author Bela Ban
  - * @version $Id: UpgradeLockTest.java,v 1.7 2007/01/11 13:49:22 msurtani Exp $
  + * @version $Id: UpgradeLockTest.java,v 1.8 2007/02/07 22:06:49 genman Exp $
    */
   public class UpgradeLockTest extends TestCase
   {
  @@ -95,7 +95,7 @@
         CacheImpl c = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
         c.getConfiguration().setClusterName("test");
         c.getConfiguration().setInitialStateRetrievalTimeout(10000);
  -      c.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  +      c.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.JBossTransactionManagerLookup");
         c.getConfiguration().setLockAcquisitionTimeout(500);
         c.getConfiguration().setIsolationLevel(level);
         c.create();
  
  
  
  1.8       +2 -2      JBossCache/tests/functional/org/jboss/cache/lock/LockReleaseTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LockReleaseTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/lock/LockReleaseTest.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- LockReleaseTest.java	11 Jan 2007 13:49:22 -0000	1.7
  +++ LockReleaseTest.java	7 Feb 2007 22:06:49 -0000	1.8
  @@ -27,7 +27,7 @@
    * Verifies that there are no read locks held when a transaction ends.
    *
    * @author Bela Ban
  - * @version $Id: LockReleaseTest.java,v 1.7 2007/01/11 13:49:22 msurtani Exp $
  + * @version $Id: LockReleaseTest.java,v 1.8 2007/02/07 22:06:49 genman Exp $
    */
   public class LockReleaseTest extends TestCase
   {
  @@ -97,7 +97,7 @@
         CacheImpl c = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
         c.getConfiguration().setClusterName("test");
         c.getConfiguration().setInitialStateRetrievalTimeout(10000);
  -      c.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.JBossTransactionManagerLookup");
  +      c.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.JBossTransactionManagerLookup");
         c.getConfiguration().setLockAcquisitionTimeout(500);
         c.getConfiguration().setIsolationLevel(level);
         c.create();
  
  
  
  1.3       +1 -1      JBossCache/tests/functional/org/jboss/cache/lock/WriteLockOnParentTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: WriteLockOnParentTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/lock/WriteLockOnParentTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- WriteLockOnParentTest.java	30 Jan 2007 21:34:26 -0000	1.2
  +++ WriteLockOnParentTest.java	7 Feb 2007 22:06:49 -0000	1.3
  @@ -20,7 +20,7 @@
      protected void setUp() throws Exception
      {
         cache = (CacheSPI) DefaultCacheFactory.getInstance().createCache(false);
  -      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         // reduce LAT so the test runs faster
         cache.getConfiguration().setLockAcquisitionTimeout(500);
   
  
  
  



More information about the jboss-cvs-commits mailing list