|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.logicalcobwebs.proxool.AbstractProxoolTest
org.logicalcobwebs.proxool.ConnectionPoolTest
Test ConnectionPool
Nested Class Summary | |
(package private) class |
ConnectionPoolTest.Closer
|
Field Summary | |
private static Log |
LOG
|
Fields inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest |
|
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
ConnectionPoolTest(java.lang.String name)
|
Method Summary | |
void |
testMaximumConnectionCount()
If we ask for more simultaneous connections then we have allowed we should gracefully refuse them. |
void |
testMaximumEqualsMinimumConnectionCount()
test what happens if maximum = minimum = 1 |
void |
testShutdownImpatience()
Checks whether shutdown is impatient enough to shutdown even if some connections are still active |
void |
testShutdownPatience()
Checks whether shutdown is patient enough to wait for active connections |
Methods inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest |
setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final Log LOG
Constructor Detail |
public ConnectionPoolTest(java.lang.String name)
Method Detail |
public void testMaximumConnectionCount() throws java.lang.Exception
java.lang.Exception
public void testMaximumEqualsMinimumConnectionCount() throws java.lang.Exception
java.lang.Exception
public void testShutdownPatience() throws ProxoolException, java.sql.SQLException
ProxoolException
java.sql.SQLException
public void testShutdownImpatience() throws ProxoolException, java.sql.SQLException
ProxoolException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |