|
||||||||||
| 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.ConnectionListenerTest
Test that registering a ConnectionListenerIF with the ProxoolFacade
works.
| Nested Class Summary | |
(package private) class |
ConnectionListenerTest.TestConnectionListener
|
| Field Summary | |
private int |
onBirthCalls
|
private int |
onDeathCalls
|
private int |
onExecuteCalls
|
private int |
onFailCalls
|
| Fields inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest |
|
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
ConnectionListenerTest(java.lang.String s)
|
|
| Method Summary | |
private void |
clear()
|
protected void |
setUp()
Calls AbstractProxoolTest.setUp() |
void |
testAddConnectionListener()
Test that multiple connection listeners can be added through ProxoolFacade, and that they get the expected events. |
void |
testRemoveConnectionListener()
Test that multiple connection listeners can be added through ProxoolFacade, and then removed, and that they do not receive events after they have been removed. |
| Methods inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest |
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 int onBirthCalls
private int onDeathCalls
private int onExecuteCalls
private int onFailCalls
| Constructor Detail |
public ConnectionListenerTest(java.lang.String s)
TestCase.TestCase(java.lang.String)| Method Detail |
public void testAddConnectionListener()
throws java.lang.Exception
java.lang.Exception - if the test fails.
public void testRemoveConnectionListener()
throws java.lang.Exception
java.lang.Exception - if the test fails.private void clear()
protected void setUp()
throws java.lang.Exception
AbstractProxoolTest.setUp()
setUp in class AbstractProxoolTestjava.lang.ExceptionTestCase.setUp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||