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

Manik Surtani msurtani at jboss.com
Tue Jan 2 12:15:31 EST 2007


  User: msurtani
  Date: 07/01/02 12:15:31

  Modified:    tests/functional/org/jboss/cache/optimistic 
                        OptimisticWithCacheLoaderTest.java
  Log:
  some api changes
  
  Revision  Changes    Path
  1.15      +4 -4      JBossCache/tests/functional/org/jboss/cache/optimistic/OptimisticWithCacheLoaderTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: OptimisticWithCacheLoaderTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/optimistic/OptimisticWithCacheLoaderTest.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -b -r1.14 -r1.15
  --- OptimisticWithCacheLoaderTest.java	30 Dec 2006 17:49:52 -0000	1.14
  +++ OptimisticWithCacheLoaderTest.java	2 Jan 2007 17:15:31 -0000	1.15
  @@ -30,7 +30,7 @@
      public void testLoaderIndependently() throws Exception
      {
         CacheImpl cache = createCacheWithLoader();
  -      CacheLoader loader = cache.getCacheLoader();
  +      CacheLoader loader = cache.getCacheLoaderManager().getCacheLoader();
   
         // test the cache loader independently first ...
         loader.remove(fqn);
  @@ -48,7 +48,7 @@
         try
         {
            CacheImpl cache = createCacheWithLoader();
  -         loader = cache.getCacheLoader();
  +         loader = cache.getCacheLoaderManager().getCacheLoader();
   
            DummyTransactionManager mgr = DummyTransactionManager.getInstance();
            Transaction tx;
  @@ -85,7 +85,7 @@
      {
         Transaction tx;
         CacheImpl cache = createCacheWithLoader();
  -      CacheLoader loader = cache.getCacheLoader();
  +      CacheLoader loader = cache.getCacheLoaderManager().getCacheLoader();
   
         // test the cache ...
         DummyTransactionManager mgr = DummyTransactionManager.getInstance();
  @@ -131,7 +131,7 @@
      public void testCacheLoading() throws Exception
      {
         CacheImpl cache = createCacheWithLoader();
  -      CacheLoader loader = cache.getCacheLoader();
  +      CacheLoader loader = cache.getCacheLoaderManager().getCacheLoader();
   
         Assert.assertNull(cache.get(fqn, key));
   
  
  
  



More information about the jboss-cvs-commits mailing list