[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/collection ...

Manik Surtani msurtani at jboss.com
Thu Jul 20 14:43:13 EDT 2006


  User: msurtani
  Date: 06/07/20 14:43:13

  Modified:    tests-50/functional/org/jboss/cache/pojo/collection    
                        CachedListImplTest.java CachedMapTest.java
                        CachedSetTest.java ObjectGraphTest.java
  Log:
  migrated to new configurators
  
  Revision  Changes    Path
  1.2       +0 -3      JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/CachedListImplTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CachedListImplTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/CachedListImplTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- CachedListImplTest.java	17 Jul 2006 14:41:28 -0000	1.1
  +++ CachedListImplTest.java	20 Jul 2006 18:43:13 -0000	1.2
  @@ -5,7 +5,6 @@
   import junit.framework.TestSuite;
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.jboss.cache.PropertyConfigurator;
   import org.jboss.cache.pojo.PojoCache;
   import org.jboss.cache.pojo.PojoCacheFactory;
   
  @@ -32,8 +31,6 @@
         log.info("setUp() ....");
         String configFile = "META-INF/local-service.xml";
         cache_ = PojoCacheFactory.createInstance(configFile);
  -      PropertyConfigurator config = new PropertyConfigurator();
  -      config.configure(cache_, configFile);
         cache_.start();
      }
   
  
  
  
  1.2       +1 -4      JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/CachedMapTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CachedMapTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/CachedMapTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- CachedMapTest.java	17 Jul 2006 14:41:28 -0000	1.1
  +++ CachedMapTest.java	20 Jul 2006 18:43:13 -0000	1.2
  @@ -6,18 +6,17 @@
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
   import org.jboss.aop.proxy.ClassProxy;
  -import org.jboss.cache.PropertyConfigurator;
   import org.jboss.cache.pojo.PojoCache;
   import org.jboss.cache.pojo.PojoCacheFactory;
   import org.jboss.cache.pojo.test.Address;
   
  +import java.io.Serializable;
   import java.util.Collection;
   import java.util.HashMap;
   import java.util.HashSet;
   import java.util.Iterator;
   import java.util.Map;
   import java.util.Set;
  -import java.io.Serializable;
   
   /**
    * Map interface testing.
  @@ -42,8 +41,6 @@
         log.info("setUp() ....");
         String configFile = "META-INF/local-service.xml";
         cache_ = PojoCacheFactory.createInstance(configFile);
  -      PropertyConfigurator config = new PropertyConfigurator();
  -      config.configure(cache_, configFile);
         cache_.start();
   
         stage();
  
  
  
  1.2       +0 -3      JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/CachedSetTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CachedSetTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/CachedSetTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- CachedSetTest.java	17 Jul 2006 14:41:28 -0000	1.1
  +++ CachedSetTest.java	20 Jul 2006 18:43:13 -0000	1.2
  @@ -5,7 +5,6 @@
   import junit.framework.TestSuite;
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.jboss.cache.PropertyConfigurator;
   import org.jboss.cache.pojo.PojoCache;
   import org.jboss.cache.pojo.PojoCacheFactory;
   import org.jboss.cache.pojo.test.Address;
  @@ -45,8 +44,6 @@
         log.info("setUp() ....");
         String configFile = "META-INF/local-service.xml";
         cache_ = PojoCacheFactory.createInstance(configFile);
  -      PropertyConfigurator config = new PropertyConfigurator();
  -      config.configure(cache_, configFile);
         cache_.start();
   
         stage();
  
  
  
  1.2       +0 -3      JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/ObjectGraphTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ObjectGraphTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/collection/ObjectGraphTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- ObjectGraphTest.java	17 Jul 2006 14:41:28 -0000	1.1
  +++ ObjectGraphTest.java	20 Jul 2006 18:43:13 -0000	1.2
  @@ -5,7 +5,6 @@
   import junit.framework.TestSuite;
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.jboss.cache.PropertyConfigurator;
   import org.jboss.cache.pojo.PojoCache;
   import org.jboss.cache.pojo.PojoCacheFactory;
   import org.jboss.cache.pojo.test.Address;
  @@ -40,8 +39,6 @@
         log.info("setUp() ....");
         String configFile = "META-INF/local-service.xml";
         cache_ = PojoCacheFactory.createInstance(configFile);
  -      PropertyConfigurator config = new PropertyConfigurator();
  -      config.configure(cache_, configFile);
         cache_.start();
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list