db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker/metadata PersistentFieldTest.java
Date Mon, 13 Dec 2004 20:42:33 GMT
brj         2004/12/13 12:42:33

  Modified:    src/test/org/apache/ojb/broker/metadata
                        PersistentFieldTest.java
  Log:
  create a new OJB for each test
  
  Revision  Changes    Path
  1.10      +10 -1     db-ojb/src/test/org/apache/ojb/broker/metadata/PersistentFieldTest.java
  
  Index: PersistentFieldTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/metadata/PersistentFieldTest.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- PersistentFieldTest.java	14 Nov 2004 09:41:56 -0000	1.9
  +++ PersistentFieldTest.java	13 Dec 2004 20:42:33 -0000	1.10
  @@ -24,6 +24,7 @@
   import org.apache.commons.lang.SerializationUtils;
   import org.apache.commons.lang.builder.ToStringBuilder;
   import org.apache.commons.lang.builder.ToStringStyle;
  +import org.apache.ojb.broker.OJB;
   import org.apache.ojb.broker.metadata.fieldaccess.PersistentField;
   import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldAutoProxyImpl;
   import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldAutoProxyImplNew;
  @@ -597,5 +598,13 @@
           {
               this.name = name;
           }
  +    }
  +    /**
  +     * @see junit.framework.TestCase#setUp()
  +     */
  +    protected void setUp() throws Exception
  +    {
  +        // create a new OJB for every test
  +        ojb = new OJB();
       }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message