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

Manik Surtani msurtani at jboss.com
Fri Feb 2 08:32:01 EST 2007


  User: msurtani
  Date: 07/02/02 08:32:01

  Modified:    tests/functional/org/jboss/cache/loader 
                        ChainingCacheLoaderBasicTest.java
  Log:
  Cleanup file CL before running tests
  
  Revision  Changes    Path
  1.6       +5 -1      JBossCache/tests/functional/org/jboss/cache/loader/ChainingCacheLoaderBasicTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ChainingCacheLoaderBasicTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/ChainingCacheLoaderBasicTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- ChainingCacheLoaderBasicTest.java	25 Oct 2006 04:50:19 -0000	1.5
  +++ ChainingCacheLoaderBasicTest.java	2 Feb 2007 13:32:01 -0000	1.6
  @@ -12,6 +12,7 @@
   import org.jboss.cache.config.CacheLoaderConfig;
   import org.jboss.cache.factories.XmlConfigurationParser;
   import org.jboss.cache.xml.XmlHelper;
  +import org.jboss.cache.misc.TestingUtil;
   import org.w3c.dom.Element;
   
   import java.io.File;
  @@ -38,6 +39,9 @@
       protected void configureCache() throws Exception
       {
           cache.getConfiguration().setCacheLoaderConfig(getCacheLoaderConfig(loc1, loc2));
  +       TestingUtil.recursiveFileRemove(loc1);
  +       TestingUtil.recursiveFileRemove(loc2);
  +
       }
   
       protected CacheLoaderConfig getCacheLoaderConfig(String loc1, String loc2) throws Exception
  
  
  



More information about the jboss-cvs-commits mailing list