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 TestManual.java
Date Wed, 13 Aug 2003 15:46:22 GMT
dirkv       2003/08/13 08:46:22

  Modified:    dbcp/src/test/org/apache/commons/dbcp TestManual.java
  Log:
  checkstyle cleanup
  
  Revision  Changes    Path
  1.13      +6 -4      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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TestManual.java	8 Nov 2002 18:51:07 -0000	1.12
  +++ TestManual.java	13 Aug 2003 15:46:22 -0000	1.13
  @@ -99,6 +99,7 @@
           DriverConnectionFactory cf = new DriverConnectionFactory(new TesterDriver(),"jdbc:apache:commons:testdriver",null);
           GenericKeyedObjectPoolFactory opf = new GenericKeyedObjectPoolFactory(null, 10,
GenericKeyedObjectPool.WHEN_EXHAUSTED_BLOCK, 2000L, 10, true, true, 10000L, 5, 5000L, true);
           PoolableConnectionFactory pcf = new PoolableConnectionFactory(cf, pool, opf, "SELECT
COUNT(*) FROM DUAL", false, true);
  +        assertNotNull(pcf);
           driver = new PoolingDriver();
           driver.registerPool("test",pool);
           DriverManager.registerDriver(driver);
  @@ -128,6 +129,7 @@
                   null,
                   false,
                   true);
  +        assertNotNull(poolableConnectionFactory);
           PoolingDriver driver = new PoolingDriver();
           driver.registerPool("neusoftim",connectionPool);
           Connection[] conn = new Connection[25];
  
  
  

Mime
View raw message