commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r883381 - in /commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp: TestManual.java datasources/TestPerUserPoolDataSource.java datasources/TestSharedPoolDataSource.java
Date Mon, 23 Nov 2009 15:49:46 GMT
Author: markt
Date: Mon Nov 23 15:49:45 2009
New Revision: 883381

URL: http://svn.apache.org/viewvc?rev=883381&view=rev
Log:
Fix FindBugs warnings
Call super.setUp() / super.tearDown()

Modified:
    commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestManual.java
    commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestPerUserPoolDataSource.java
    commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestManual.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestManual.java?rev=883381&r1=883380&r2=883381&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestManual.java (original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestManual.java Mon Nov 23
15:49:45 2009
@@ -69,6 +69,7 @@
     public void tearDown() throws Exception {
         driver.closePool("test");
         DriverManager.deregisterDriver(driver);
+        super.tearDown();
     }
     
     public void test1() {

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestPerUserPoolDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestPerUserPoolDataSource.java?rev=883381&r1=883380&r2=883381&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestPerUserPoolDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestPerUserPoolDataSource.java
Mon Nov 23 15:49:45 2009
@@ -56,6 +56,7 @@
     private DataSource ds;
 
     public void setUp() throws Exception {
+        super.setUp();
         DriverAdapterCPDS pcds = new DriverAdapterCPDS();
         pcds.setDriver("org.apache.commons.dbcp.TesterDriver");
         pcds.setUrl("jdbc:apache:commons:testdriver");

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java?rev=883381&r1=883380&r2=883381&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java
Mon Nov 23 15:49:45 2009
@@ -53,6 +53,7 @@
     private DataSource ds;
 
     public void setUp() throws Exception {
+        super.setUp();
         pcds = new DriverAdapterCPDS();
         pcds.setDriver("org.apache.commons.dbcp.TesterDriver");
         pcds.setUrl("jdbc:apache:commons:testdriver");



Mime
View raw message