org.logicalcobwebs.proxool
Class ConnectionPoolTest
java.lang.Object
TestCase
org.logicalcobwebs.proxool.AbstractProxoolTest
org.logicalcobwebs.proxool.ConnectionPoolTest
public class ConnectionPoolTest
- extends AbstractProxoolTest
Test ConnectionPool
- Since:
- Proxool 0.8
- Version:
- $Revision: 1.2 $, $Date: 2004/06/02 21:05:19 $
- Author:
- billhorsman, $Author: billhorsman $ (current maintainer)
Field Summary |
private static Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
private static final Log LOG
ConnectionPoolTest
public ConnectionPoolTest(java.lang.String name)
testMaximumConnectionCount
public void testMaximumConnectionCount()
throws java.lang.Exception
- If we ask for more simultaneous connections then we have allowed we should gracefully
refuse them.
- Throws:
java.lang.Exception
testMaximumEqualsMinimumConnectionCount
public void testMaximumEqualsMinimumConnectionCount()
throws java.lang.Exception
- test what happens if maximum = minimum = 1
- Throws:
java.lang.Exception
testShutdownPatience
public void testShutdownPatience()
throws ProxoolException,
java.sql.SQLException
- Checks whether shutdown is patient enough to wait for active connections
- Throws:
ProxoolException
java.sql.SQLException
testShutdownImpatience
public void testShutdownImpatience()
throws ProxoolException,
java.sql.SQLException
- Checks whether shutdown is impatient enough to shutdown even if
some connections are still active
- Throws:
ProxoolException
java.sql.SQLException