org.apache.commons.dbcp
Class TestAbandonedObjectPool

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.dbcp.TestAbandonedObjectPool
All Implemented Interfaces:
junit.framework.Test

public class TestAbandonedObjectPool
extends junit.framework.TestCase

TestCase for AbandonedObjectPool

Version:
$Revision: 1023401 $ $Date: 2010-10-16 21:54:24 -0400 (Sat, 16 Oct 2010) $
Author:
Wayne Woodfield

Constructor Summary
TestAbandonedObjectPool(String testName)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testConcurrentInvalidation()
          Tests fix for Bug 28579, a bug in AbandonedObjectPool that causes numActive to go negative in GenericObjectPool
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestAbandonedObjectPool

public TestAbandonedObjectPool(String testName)
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testConcurrentInvalidation

public void testConcurrentInvalidation()
                                throws Exception
Tests fix for Bug 28579, a bug in AbandonedObjectPool that causes numActive to go negative in GenericObjectPool

Throws:
Exception


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.