org.objectweb.cjdbc.scenario.standalone.connection
Class FailFastPoolConnectionManagerTest
java.lang.Object
TestCase
org.objectweb.cjdbc.scenario.templates.NoTemplate
org.objectweb.cjdbc.scenario.standalone.connection.FailFastPoolConnectionManagerTest
- public class FailFastPoolConnectionManagerTest
- extends NoTemplate
FailFastPoolConnectionManager
test class.
- Author:
- Mathieu Peltier
- See Also:
FailFastPoolConnectionManager
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POOL_SIZE
private static final int POOL_SIZE
- Pool size to use for the test.
- See Also:
- Constant Field Values
mockDriver
private MockDriver mockDriver
- Fake driver.
pool
private FailFastPoolConnectionManager pool
- Fail fast pool connection manager pool to test.
FailFastPoolConnectionManagerTest
public FailFastPoolConnectionManagerTest()
setUp
protected void setUp()
- See Also:
junit.framework.TestCase#setUp()
tearDown
protected void tearDown()
- See Also:
junit.framework.TestCase#tearDown()
testGetConnection
public void testGetConnection()
throws java.lang.Exception
- Throws:
java.lang.Exception
- See Also:
FailFastPoolConnectionManager.getConnection()
testReleaseConnection
public void testReleaseConnection()
throws java.lang.Exception
- Throws:
java.lang.Exception
- See Also:
FailFastPoolConnectionManager.releaseConnection(Connection)
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.