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

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


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

  Modified:    tests/functional/org/jboss/cache/aop/eviction  
                        AopLRUPolicyTest.java
                        AopLRUPolicyUpdateEvictionTest.java
  Log:
  Removed TreeCache dependency on ServiceMBeanSupport
  
  Revision  Changes    Path
  1.7       +3 -3      JBossCache/tests/functional/org/jboss/cache/aop/eviction/AopLRUPolicyTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AopLRUPolicyTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/aop/eviction/AopLRUPolicyTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- AopLRUPolicyTest.java	20 Jul 2006 11:48:25 -0000	1.6
  +++ AopLRUPolicyTest.java	6 Sep 2006 15:30:56 -0000	1.7
  @@ -12,7 +12,7 @@
   
   /**
    * @author Ben Wang, Feb 11, 2004
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
    */
   public class AopLRUPolicyTest extends TestCase
   {
  @@ -41,13 +41,13 @@
         cache_ = new PojoCache();
         cache_.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/pojocache-service.xml")); // read in generic local xml
         cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  -      cache_.startService();
  +      cache_.start();
      }
   
      public void tearDown() throws Exception
      {
         super.tearDown();
  -      cache_.stopService();
  +      cache_.stop();
      }
   
      public void testDummy()
  
  
  
  1.5       +4 -4      JBossCache/tests/functional/org/jboss/cache/aop/eviction/AopLRUPolicyUpdateEvictionTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AopLRUPolicyUpdateEvictionTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/aop/eviction/AopLRUPolicyUpdateEvictionTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- AopLRUPolicyUpdateEvictionTest.java	20 Jul 2006 11:48:25 -0000	1.4
  +++ AopLRUPolicyUpdateEvictionTest.java	6 Sep 2006 15:30:56 -0000	1.5
  @@ -18,7 +18,7 @@
   
   /**
    * @author Ben Wang, Feb 11, 2004
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    */
   public class AopLRUPolicyUpdateEvictionTest extends TestCase
   {
  @@ -47,13 +47,13 @@
         cache_ = new PojoCache();
         cache_.setConfiguration(new XmlConfigurationParser().parseFile("META-INF/local-aop-eviction-service.xml")); // read in generic local xml
         cache_.getConfiguration().setTransactionManagerLookupClass("org.jboss.cache.DummyTransactionManagerLookup");
  -      cache_.startService();
  +      cache_.start();
      }
   
      public void tearDown() throws Exception
      {
         super.tearDown();
  -      cache_.stopService();
  +      cache_.stop();
      }
   
      public void testUpdateEviction()
  
  
  



More information about the jboss-cvs-commits mailing list