|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectTestCase
org.objectweb.cjdbc.controller.connection.RandomWaitPoolConnectionManagerTest
RandomWaitPoolConnectionManager test class.
RandomWaitPoolConnectionManager,
Serialized Form| Field Summary | |
private java.lang.Error |
error
Last AssertionFailedError eventually thrown by the clients
in the #testRandomWaitPoolConnectionManager test. |
private MockDriver |
mockDriver
Fake driver. |
private RandomWaitPoolConnectionManager |
pool
Random wait connection manager pool to test. |
| Constructor Summary | |
RandomWaitPoolConnectionManagerTest()
|
|
| Method Summary | |
private void |
initializePool(int poolSize,
int timeout)
Creates and initializes a RandomWaitoolConnectionManager. |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
|
static Test |
suite()
|
protected void |
tearDown()
|
void |
testGetAndReleaseConnection()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private MockDriver mockDriver
private RandomWaitPoolConnectionManager pool
private java.lang.Error error
AssertionFailedError eventually thrown by the clients
in the #testRandomWaitPoolConnectionManager test.
| Constructor Detail |
public RandomWaitPoolConnectionManagerTest()
| Method Detail |
public static Test suite()
public static void main(java.lang.String[] args)
protected void setUp()
junit.framework.TestCase#setUp()protected void tearDown()
junit.framework.TestCase#tearDown()
private void initializePool(int poolSize,
int timeout)
RandomWaitoolConnectionManager.
poolSize - pool size.timeout - timeout.public void testGetAndReleaseConnection()
RandomWaitPoolConnectionManager.releaseConnection(Connection),
RandomWaitPoolConnectionManager.getConnection()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||