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

Manik Surtani msurtani at jboss.com
Tue Sep 19 10:32:21 EDT 2006


  User: msurtani
  Date: 06/09/19 10:32:21

  Modified:    tests/functional/org/jboss/cache/loader  
                        AbstractCacheLoaderTestBase.java
                        CacheLoaderPurgingTest.java
  Log:
  Updated test
  
  Revision  Changes    Path
  1.10      +12 -12    JBossCache/tests/functional/org/jboss/cache/loader/AbstractCacheLoaderTestBase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AbstractCacheLoaderTestBase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/AbstractCacheLoaderTestBase.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- AbstractCacheLoaderTestBase.java	19 Sep 2006 13:52:33 -0000	1.9
  +++ AbstractCacheLoaderTestBase.java	19 Sep 2006 14:32:21 -0000	1.10
  @@ -45,7 +45,7 @@
   
      protected Element getSingleCacheLoaderConfig(String preload, String cacheloaderClass, String properties, boolean async, boolean fetchPersistentState, boolean shared, boolean purgeOnStartup) throws Exception
      {
  -      return getSingleCacheLoaderConfig(false, preload, cacheloaderClass, properties, async, fetchPersistentState, shared, false);
  +      return getSingleCacheLoaderConfig(false, preload, cacheloaderClass, properties, async, fetchPersistentState, shared, purgeOnStartup);
      }
   
      protected Element getSingleCacheLoaderConfig(boolean passivation, String preload, String cacheloaderClass, String properties, boolean async, boolean fetchPersistentState, boolean shared, boolean purgeOnStartup) throws Exception
  
  
  
  1.5       +3 -0      JBossCache/tests/functional/org/jboss/cache/loader/CacheLoaderPurgingTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheLoaderPurgingTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/CacheLoaderPurgingTest.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- CacheLoaderPurgingTest.java	6 Sep 2006 15:30:57 -0000	1.4
  +++ CacheLoaderPurgingTest.java	19 Sep 2006 14:32:21 -0000	1.5
  @@ -75,6 +75,9 @@
         assertEquals(value, loader.get(fqn).get(key));
   
         cache.start();
  +
  +      assertTrue(cache.getCacheLoaderManager().getCacheLoaderConfig().getFirstCacheLoaderConfig().isPurgeOnStartup());
  +
         assertNull(cache.get(fqn));
         assertNull(loader.get(fqn));
      }
  
  
  



More information about the jboss-cvs-commits mailing list