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

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/passivation 
                        LocalTest.java
  Log:
  migrated to new configurators
  
  Revision  Changes    Path
  1.2       +5 -7      JBossCache/tests-50/functional/org/jboss/cache/pojo/passivation/LocalTest.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: LocalTest.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/passivation/LocalTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- LocalTest.java	20 Jul 2006 02:44:20 -0000	1.1
  +++ LocalTest.java	20 Jul 2006 18:43:13 -0000	1.2
  @@ -7,20 +7,20 @@
   
   package org.jboss.cache.pojo.passivation;
   
  -import junit.framework.TestCase;
   import junit.framework.Test;
  +import junit.framework.TestCase;
   import junit.framework.TestSuite;
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.jboss.cache.pojo.*;
  -import org.jboss.cache.pojo.test.Person;
  +import org.jboss.cache.pojo.PojoCache;
  +import org.jboss.cache.pojo.PojoCacheFactory;
   import org.jboss.cache.pojo.test.Address;
   import org.jboss.cache.pojo.test.Link;
  -import org.jboss.cache.PropertyConfigurator;
  +import org.jboss.cache.pojo.test.Person;
   import org.jboss.util.id.UID;
   
  -import java.util.List;
   import java.util.ArrayList;
  +import java.util.List;
   
   /**
    * Basic PojoCache test case.
  @@ -44,8 +44,6 @@
         log.info("setUp() ....");
         String configFile = "META-INF/local-passivation-service.xml";
         cache_ = PojoCacheFactory.createInstance(configFile);
  -      PropertyConfigurator config = new PropertyConfigurator();
  -      config.configure(cache_, configFile); // read in generic replSync xml
         cache_.start();
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list