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

Manik Surtani msurtani at jboss.com
Thu Aug 17 17:57:59 EDT 2006


  User: msurtani
  Date: 06/08/17 17:57:59

  Modified:    tests/functional/org/jboss/cache/loader   BdbjeTest.java
                        SharedCacheLoaderTest.java
  Log:
  Habanero stabilisation efforts - getCacheSPI() method
  
  Revision  Changes    Path
  1.6       +4 -4      JBossCache/tests/functional/org/jboss/cache/loader/BdbjeTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BdbjeTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/BdbjeTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- BdbjeTest.java	20 Jul 2006 09:03:53 -0000	1.5
  +++ BdbjeTest.java	17 Aug 2006 21:57:59 -0000	1.6
  @@ -20,7 +20,7 @@
    * directory.  Any scratch directory will do, but beware that all files in
    * the directory will be deleted by setUp().</p>
    *
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.6 $
    */
   public class BdbjeTest extends TestCase {
   
  @@ -120,7 +120,7 @@
         instantiateLoader();
   
         /* Initialize and start the loader. */
  -      loader.setCache(treeCache.getSPI());
  +      loader.setCache(treeCache.getCacheSPI());
         Properties props=new Properties();
         props.setProperty("location", configStr);
         loader.setConfig(props);
  @@ -731,7 +731,7 @@
      private void checkPreCreateExceptions()
         throws Exception {
   
  -      loader.setCache(new TreeCache().getSPI());
  +      loader.setCache(new TreeCache().getCacheSPI());
         loader.setConfig(null);
         try {
            loader.start();
  @@ -747,7 +747,7 @@
            fail();
         } catch (IllegalStateException expected) {}
   
  -      loader.setCache(new TreeCache().getSPI());
  +      loader.setCache(new TreeCache().getCacheSPI());
         props=new Properties();
         props.setProperty("location", "directory_that_does_not_exist");
         loader.setConfig(props);
  
  
  
  1.5       +2 -2      JBossCache/tests/functional/org/jboss/cache/loader/SharedCacheLoaderTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SharedCacheLoaderTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/SharedCacheLoaderTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- SharedCacheLoaderTest.java	20 Jul 2006 08:05:18 -0000	1.4
  +++ SharedCacheLoaderTest.java	17 Aug 2006 21:57:59 -0000	1.5
  @@ -44,8 +44,8 @@
   
           cache1.setCacheLoader(dummyCacheLoader);
           cache2.setCacheLoader(dummyCacheLoader);
  -        findCacheStoreInterceptor(cache1).setCache(cache1.getSPI());
  -        findCacheStoreInterceptor(cache2).setCache(cache2.getSPI());
  +        findCacheStoreInterceptor(cache1).setCache(cache1.getCacheSPI());
  +        findCacheStoreInterceptor(cache2).setCache(cache2.getCacheSPI());
       }
   
       protected CacheStoreInterceptor findCacheStoreInterceptor(TreeCache cache)
  
  
  



More information about the jboss-cvs-commits mailing list