You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2003/08/13 17:46:22 UTC
cvs commit: jakarta-commons/dbcp/src/test/org/apache/commons/dbcp TestManual.java
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];
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org