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 TestBasicDataSource.java
Date Tue, 18 May 2004 22:01:11 GMT
dirkv       2004/05/18 15:01:11

  Modified:    dbcp/src/test/org/apache/commons/dbcp
                        TestBasicDataSource.java
  Log:
  access the internal connection pool through its proptected property
  (makes the test compile on DBCP 1.1)
  
  Revision  Changes    Path
  1.20      +4 -4      jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestBasicDataSource.java
  
  Index: TestBasicDataSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestBasicDataSource.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- TestBasicDataSource.java	18 May 2004 18:41:16 -0000	1.19
  +++ TestBasicDataSource.java	18 May 2004 22:01:10 -0000	1.20
  @@ -263,8 +263,8 @@
           Connection conn = ds.getConnection();
           assertNotNull(conn);
           
  -        assertEquals(false, ds.getConnectionPool().getTestOnBorrow());
  -        assertEquals(false, ds.getConnectionPool().getTestWhileIdle());
  -        assertEquals(true, ds.getConnectionPool().getTestOnReturn());
  +        assertEquals(false, ds.connectionPool.getTestOnBorrow());
  +        assertEquals(false, ds.connectionPool.getTestWhileIdle());
  +        assertEquals(true, ds.connectionPool.getTestOnReturn());
       }
   }
  
  
  

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