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

Manik Surtani msurtani at jboss.com
Wed Sep 6 11:30:58 EDT 2006


  User: msurtani
  Date: 06/09/06 11:30:58

  Modified:    tests/functional/org/jboss/cache/marshall   
                        AsyncReplTest.java LocalTest.java SyncReplTest.java
  Log:
  Removed TreeCache dependency on ServiceMBeanSupport
  
  Revision  Changes    Path
  1.11      +5 -5      JBossCache/tests/functional/org/jboss/cache/marshall/AsyncReplTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AsyncReplTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/AsyncReplTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- AsyncReplTest.java	5 Sep 2006 12:30:26 -0000	1.10
  +++ AsyncReplTest.java	6 Sep 2006 15:30:58 -0000	1.11
  @@ -28,7 +28,7 @@
    * Test marshalling for async mode.
    *
    * @author Ben Wang
  - * @version $Revision: 1.10 $
  + * @version $Revision: 1.11 $
    */
   public class AsyncReplTest extends RegionBasedMarshallingTestBase
   {
  @@ -66,8 +66,8 @@
         tree.getConfiguration().setClusterName(name);
         // Use marshaller
         tree.getConfiguration().setUseRegionBasedMarshalling(true);
  -      tree.createService();
  -      tree.startService();
  +      tree.create();
  +      tree.start();
         return tree;
      }
   
  @@ -78,13 +78,13 @@
         if (cache1 != null)
         {
            log("stopping cache1");
  -         cache1.stopService();
  +         cache1.stop();
         }
   
         if (cache2 != null)
         {
            log("stopping cache2");
  -         cache2.stopService();
  +         cache2.stop();
         }
      }
   
  
  
  
  1.10      +5 -5      JBossCache/tests/functional/org/jboss/cache/marshall/LocalTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LocalTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/LocalTest.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- LocalTest.java	5 Sep 2006 12:30:26 -0000	1.9
  +++ LocalTest.java	6 Sep 2006 15:30:58 -0000	1.10
  @@ -18,7 +18,7 @@
    * Simple functional tests for LegacyTreeCacheMarshaller
    *
    * @author Ben Wang
  - * @version $Id: LocalTest.java,v 1.9 2006/09/05 12:30:26 msurtani Exp $
  + * @version $Id: LocalTest.java,v 1.10 2006/09/06 15:30:58 msurtani Exp $
    */
   public class LocalTest extends RegionBasedMarshallingTestBase
   {
  @@ -37,8 +37,8 @@
         cache.getConfiguration().setCacheMode(Configuration.CacheMode.LOCAL);
         cache.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
         cache.getConfiguration().setIsolationLevel(IsolationLevel.REPEATABLE_READ);
  -      cache.createService();
  -      cache.startService();
  +      cache.create();
  +      cache.start();
         ex = null;
      }
   
  @@ -47,8 +47,8 @@
         super.tearDown();
         if (cache != null)
         {
  -         cache.stopService();
  -         cache.destroyService();
  +         cache.stop();
  +         cache.destroy();
            cache = null;
         }
         if (ex != null)
  
  
  
  1.10      +5 -5      JBossCache/tests/functional/org/jboss/cache/marshall/SyncReplTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SyncReplTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/SyncReplTest.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- SyncReplTest.java	5 Sep 2006 12:30:26 -0000	1.9
  +++ SyncReplTest.java	6 Sep 2006 15:30:58 -0000	1.10
  @@ -29,7 +29,7 @@
    * Test case for marshalling using Sync mode.
    *
    * @author Ben Wang
  - * @version $Revision: 1.9 $
  + * @version $Revision: 1.10 $
    */
   public class SyncReplTest extends RegionBasedMarshallingTestBase
   {
  @@ -70,8 +70,8 @@
         c.setClusterName(name);
         // Use marshaller
         c.setUseRegionBasedMarshalling(true);
  -      tree.createService();
  -      tree.startService();
  +      tree.create();
  +      tree.start();
         return tree;
      }
   
  @@ -82,13 +82,13 @@
         if (cache1 != null)
         {
            log("stopping cache1");
  -         cache1.stopService();
  +         cache1.stop();
         }
   
         if (cache2 != null)
         {
            log("stopping cache2");
  -         cache2.stopService();
  +         cache2.stop();
         }
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list