db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oliv...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker/sqlcount SimpleCountTest.java CollectionCountTest.java AbstractCountTest.java
Date Mon, 27 Oct 2003 15:49:15 GMT
oliverm     2003/10/27 07:49:15

  Modified:    src/test/org/apache/ojb/broker/sqlcount SimpleCountTest.java
                        CollectionCountTest.java AbstractCountTest.java
  Log:
  move p6spy check to AbstractCountTest
  
  Revision  Changes    Path
  1.2       +1 -2      db-ojb/src/test/org/apache/ojb/broker/sqlcount/SimpleCountTest.java
  
  Index: SimpleCountTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sqlcount/SimpleCountTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleCountTest.java	10 Oct 2003 10:52:21 -0000	1.1
  +++ SimpleCountTest.java	27 Oct 2003 15:49:15 -0000	1.2
  @@ -23,7 +23,6 @@
       super.setUp();
       resetStmtCount();
       myPB = PersistenceBrokerFactory.defaultPersistenceBroker();
  -    checkP6spyEnabled(myPB.getPBKey());
       myPB.beginTransaction();
       Person a = new Person();
       a.setFirstname("A");
  
  
  
  1.3       +1 -2      db-ojb/src/test/org/apache/ojb/broker/sqlcount/CollectionCountTest.java
  
  Index: CollectionCountTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sqlcount/CollectionCountTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CollectionCountTest.java	27 Oct 2003 14:40:07 -0000	1.2
  +++ CollectionCountTest.java	27 Oct 2003 15:49:15 -0000	1.3
  @@ -30,7 +30,6 @@
     {
       super.setUp();
       myPB = PersistenceBrokerFactory.defaultPersistenceBroker();
  -    checkP6spyEnabled(myPB.getPBKey());
     }
   
     protected void tearDown() throws Exception
  
  
  
  1.2       +3 -1      db-ojb/src/test/org/apache/ojb/broker/sqlcount/AbstractCountTest.java
  
  Index: AbstractCountTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sqlcount/AbstractCountTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractCountTest.java	10 Oct 2003 10:52:21 -0000	1.1
  +++ AbstractCountTest.java	27 Oct 2003 15:49:15 -0000	1.2
  @@ -9,6 +9,7 @@
   import org.apache.ojb.broker.metadata.JdbcConnectionDescriptor;
   import org.apache.ojb.broker.metadata.MetadataManager;
   import org.apache.ojb.broker.PBKey;
  +import org.apache.ojb.broker.PersistenceBrokerFactory;
   
   import java.io.File;
   
  @@ -32,6 +33,7 @@
       if (!SPY_PROPS_FILE.exists())
         fail("Missing file: " + SPY_PROPS_FILE.getAbsolutePath());
       P6SpyProperties.setSpyProperties(SPY_PROPS_FILE.getName());
  +    checkP6spyEnabled(PersistenceBrokerFactory.getDefaultKey());
     }
   
     /**
  
  
  

---------------------------------------------------------------------
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