Author: sebb
Date: Tue Oct 12 21:36:48 2010
New Revision: 1021934
URL: http://svn.apache.org/viewvc?rev=1021934&view=rev
Log:
Unnecessary (failing) test
Modified:
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
Modified:
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
URL:
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java?rev=1021934&r1=1021933&r2=1021934&view=diff
==============================================================================
---
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
(original)
+++
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
Tue Oct 12 21:36:48 2010
@@ -1228,14 +1228,6 @@ public class TestGenericObjectPool exten
assertEquals("should be one idle", 1, pool.getNumIdle());
assertEquals("should be zero active", 0, pool.getNumActive());
- ObjectPool<Object> op = new GenericObjectPool<Object>(new
SimpleFactory());
- try {
- op.addObject();
- fail("Expected IllegalStateException when there is no factory.");
- } catch (IllegalStateException ise) {
- //expected
- }
- op.close();
}
protected GenericObjectPool<Object> pool = null;