commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/test/org/apache/commons/dbcp TestJOCLed.java TestManual.java
Date Thu, 20 May 2004 17:54:50 GMT
dirkv       2004/05/20 10:54:50

  Modified:    dbcp/src/test/org/apache/commons/dbcp TestJOCLed.java
                        TestManual.java
  Log:
  make junit tests more robust
  
  Revision  Changes    Path
  1.8       +3 -1      jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestJOCLed.java
  
  Index: TestJOCLed.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestJOCLed.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TestJOCLed.java	28 Feb 2004 11:47:51 -0000	1.7
  +++ TestJOCLed.java	20 May 2004 17:54:50 -0000	1.8
  @@ -46,9 +46,11 @@
       
       public void setUp() throws Exception {
           driver = new PoolingDriver();
  +        PoolingDriver.setAccessToUnderlyingConnectionAllowed(true);
       }
   
       public void tearDown() throws Exception {
  +        driver.closePool("testpool");
           DriverManager.deregisterDriver(driver);
       }
   
  
  
  
  1.20      +2 -1      jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestManual.java
  
  Index: TestManual.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestManual.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- TestManual.java	17 May 2004 18:36:45 -0000	1.19
  +++ TestManual.java	20 May 2004 17:54:50 -0000	1.20
  @@ -66,6 +66,7 @@
       }
   
       public void tearDown() throws Exception {
  +        driver.closePool("test");
           DriverManager.deregisterDriver(driver);
       }
   
  
  
  

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


Mime
View raw message