commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1136158 - /commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java
Date Wed, 15 Jun 2011 19:44:26 GMT
Author: psteitz
Date: Wed Jun 15 19:44:26 2011
New Revision: 1136158

URL: http://svn.apache.org/viewvc?rev=1136158&view=rev
Log:
Dropped test for factory reset (no longer supported in GOP 2.0)

Modified:
    commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java?rev=1136158&r1=1136157&r2=1136158&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java (original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool2/TestObjectPool.java Wed Jun
15 19:44:26 2011
@@ -397,22 +397,6 @@ public abstract class TestObjectPool {
     }
 
     @Test
-    public void testSetFactory() throws Exception {
-        ObjectPool<Object> pool;
-        try {
-            pool = makeEmptyPool(new MethodCallPoolableObjectFactory());
-        } catch (UnsupportedOperationException uoe) {
-            return; // test not supported
-        }
-        final MethodCallPoolableObjectFactory factory = new MethodCallPoolableObjectFactory();
-        try {
-            pool.setFactory(factory);
-        } catch (UnsupportedOperationException uoe) {
-            return;
-        }
-    }
-
-    @Test
     public void testToString() {
         ObjectPool<Object> pool;
         try {



Mime
View raw message