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

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


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

  Modified:    tests/functional/org/jboss/cache/passivation      
                        LocalPassivationIntegrationTest.java
                        BasicPassivationTest.java
                        ReplicatedPassivationIntegrationTest.java
                        PassivationTestsBase.java
                        PassivationActivationCallbacksTestCase.java
                        ConcurrentPassivationTest.java
  Log:
  JBCACHE-969 - Move transaction classes to org.jboss.cache.transaction
  
  Revision  Changes    Path
  1.15      +1 -1      JBossCache/tests/functional/org/jboss/cache/passivation/LocalPassivationIntegrationTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LocalPassivationIntegrationTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/passivation/LocalPassivationIntegrationTest.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- LocalPassivationIntegrationTest.java	11 Jan 2007 13:49:04 -0000	1.14
  +++ LocalPassivationIntegrationTest.java	7 Feb 2007 22:06:42 -0000	1.15
  @@ -61,7 +61,7 @@
      void initCaches(CacheImpl cache) throws Exception
      {
         cache.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/local-passivation-service.xml"));// read in generic local xml
  -      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         // hack in the path to the file store in the cache loaders
         injectCacheLoaderLocation(cache.getConfiguration(), "/tmp/JBossCacheFileCacheLoader");
   
  
  
  
  1.15      +2 -2      JBossCache/tests/functional/org/jboss/cache/passivation/BasicPassivationTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BasicPassivationTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/passivation/BasicPassivationTest.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- BasicPassivationTest.java	11 Jan 2007 13:49:04 -0000	1.14
  +++ BasicPassivationTest.java	7 Feb 2007 22:06:42 -0000	1.15
  @@ -20,7 +20,7 @@
   
   /**
    * @author Ben Wang
  - * @version $Revision: 1.14 $
  + * @version $Revision: 1.15 $
    */
   public class BasicPassivationTest extends TestCase
   {
  @@ -59,7 +59,7 @@
      {
         cache_ = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
         cache_.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/local-passivation-service.xml"));// read in generic local xml
  -      cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         CacheListener listener = new TestCacheListener();
         cache_.start();
         cache_.getNotifier().addCacheListener(listener);
  
  
  
  1.6       +1 -1      JBossCache/tests/functional/org/jboss/cache/passivation/ReplicatedPassivationIntegrationTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ReplicatedPassivationIntegrationTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/passivation/ReplicatedPassivationIntegrationTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- ReplicatedPassivationIntegrationTest.java	11 Jan 2007 13:49:04 -0000	1.5
  +++ ReplicatedPassivationIntegrationTest.java	7 Feb 2007 22:06:43 -0000	1.6
  @@ -78,7 +78,7 @@
      void initCaches(CacheImpl cache) throws Exception
      {
         cache.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/replSync-passivation-service.xml"));// read in generic local xml
  -      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
      }
   
      public void tearDown() throws Exception
  
  
  
  1.29      +2 -2      JBossCache/tests/functional/org/jboss/cache/passivation/PassivationTestsBase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PassivationTestsBase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/passivation/PassivationTestsBase.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -b -r1.28 -r1.29
  --- PassivationTestsBase.java	29 Jan 2007 16:55:48 -0000	1.28
  +++ PassivationTestsBase.java	7 Feb 2007 22:06:43 -0000	1.29
  @@ -39,7 +39,7 @@
    * Base tests for passivation using any of the cache loaders
    *
    * @author <a href="mailto:{hmesha at novell.com}">{Hany Mesha}</a>
  - * @version $Id: PassivationTestsBase.java,v 1.28 2007/01/29 16:55:48 msurtani Exp $
  + * @version $Id: PassivationTestsBase.java,v 1.29 2007/02/07 22:06:43 genman Exp $
    */
   abstract public class PassivationTestsBase extends TestCase
   {
  @@ -78,7 +78,7 @@
         cache.getConfiguration().setCacheMode("local");
         configureCache();
         // cache.setCacheLoaderPreload("/1/2/3/4/5/d");
  -      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         cache.getConfiguration().setIsolationLevel(IsolationLevel.SERIALIZABLE);
         cache.create();
         cache.start();
  
  
  
  1.3       +1 -1      JBossCache/tests/functional/org/jboss/cache/passivation/PassivationActivationCallbacksTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PassivationActivationCallbacksTestCase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/passivation/PassivationActivationCallbacksTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- PassivationActivationCallbacksTestCase.java	23 Jan 2007 05:38:22 -0000	1.2
  +++ PassivationActivationCallbacksTestCase.java	7 Feb 2007 22:06:43 -0000	1.3
  @@ -59,7 +59,7 @@
         cache.getConfiguration().setCacheMode("local");
         configureEviction();
         configureCacheLoader();
  -      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
         cache.getConfiguration().setIsolationLevel(IsolationLevel.SERIALIZABLE);
         listener = new CacheListener();
         cache.addCacheListener(listener);
  
  
  
  1.11      +2 -2      JBossCache/tests/functional/org/jboss/cache/passivation/ConcurrentPassivationTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConcurrentPassivationTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/passivation/ConcurrentPassivationTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- ConcurrentPassivationTest.java	11 Jan 2007 13:49:04 -0000	1.10
  +++ ConcurrentPassivationTest.java	7 Feb 2007 22:06:43 -0000	1.11
  @@ -22,7 +22,7 @@
    * Tests cache behavior in the presence of concurrent passivation.
    *
    * @author Brian Stansberry
  - * @version $Revision: 1.10 $
  + * @version $Revision: 1.11 $
    */
   public class ConcurrentPassivationTest extends TestCase
   {
  @@ -51,7 +51,7 @@
         TestingUtil.recursiveFileRemove("/tmp/JBossCacheFileCacheLoader");
         cache_ = (CacheImpl) DefaultCacheFactory.getInstance().createCache(false);
         cache_.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/local-passivation-service.xml"));// read in generic local xml
  -      cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  +      cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.transaction.DummyTransactionManagerLookup");
   
         // hack in the path to the file store in the cache loaders
         injectCacheLoaderLocation(cache_.getConfiguration(), "/tmp/JBossCacheFileCacheLoader");
  
  
  



More information about the jboss-cvs-commits mailing list