commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sandy...@apache.org
Subject svn commit: r383680 - in /jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool: TestAll.java TestPoolUtils.java
Date Mon, 06 Mar 2006 21:32:05 GMT
Author: sandymac
Date: Mon Mar  6 13:32:02 2006
New Revision: 383680

URL: http://svn.apache.org/viewcvs?rev=383680&view=rev
Log:
Added TestPoolUtils to the TestAll TestSuit

Modified:
    jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestAll.java
    jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestPoolUtils.java

Modified: jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestAll.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestAll.java?rev=383680&r1=383679&r2=383680&view=diff
==============================================================================
--- jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestAll.java (original)
+++ jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestAll.java Mon Mar
 6 13:32:02 2006
@@ -35,6 +35,7 @@
         suite.addTest(org.apache.commons.pool.TestBaseKeyedObjectPool.suite());
         suite.addTest(org.apache.commons.pool.TestBasePoolableObjectFactory.suite());
         suite.addTest(org.apache.commons.pool.TestBaseKeyedPoolableObjectFactory.suite());
+        suite.addTest(org.apache.commons.pool.TestPoolUtils.suite());
         suite.addTest(org.apache.commons.pool.impl.TestAll.suite());
         return suite;
     }

Modified: jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestPoolUtils.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestPoolUtils.java?rev=383680&r1=383679&r2=383680&view=diff
==============================================================================
--- jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestPoolUtils.java
(original)
+++ jakarta/commons/proper/pool/trunk/src/test/org/apache/commons/pool/TestPoolUtils.java
Mon Mar  6 13:32:02 2006
@@ -18,6 +18,8 @@
 
 import junit.framework.TestCase;
 import junit.framework.AssertionFailedError;
+import junit.framework.Test;
+import junit.framework.TestSuite;
 
 import java.lang.reflect.Proxy;
 import java.lang.reflect.InvocationHandler;
@@ -48,6 +50,10 @@
 
     /** Sleep time to let the minIdle tests run CHECK_COUNT times. */
     private static final int CHECK_SLEEP_PERIOD = CHECK_PERIOD * (CHECK_COUNT - 1) + CHECK_PERIOD
/ 2;
+
+    public static Test suite() {
+        return new TestSuite(TestPoolUtils.class);
+    }
 
     public void testJavaBeanInstantiation() {
         new PoolUtils();



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