commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r895718 - /commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestPerUserPoolDataSource.java
Date Mon, 04 Jan 2010 17:36:46 GMT
Author: sebb
Date: Mon Jan  4 17:36:46 2010
New Revision: 895718

URL: http://svn.apache.org/viewvc?rev=895718&view=rev
Log:
Oops - accidentally removed the suite() method

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

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=895718&r1=895717&r2=895718&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 Jan  4 17:36:46 2010
@@ -28,6 +28,9 @@
 
 import javax.sql.DataSource;
 
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
 import org.apache.commons.dbcp.TestConnectionPool;
 import org.apache.commons.dbcp.TesterDriver;
 import org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS;
@@ -42,6 +45,10 @@
         super(testName);
     }
 
+    public static Test suite() {
+        return new TestSuite(TestPerUserPoolDataSource.class);
+    }
+
     protected Connection getConnection() throws SQLException {
         return ds.getConnection("foo","bar");
     }



Mime
View raw message