|
||||||||||
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.admin.jmx.AbstractJMXTest
org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBeanTest
Test ConnectionPoolMBean
.
Nested Class Summary | |
private class |
ConnectionPoolMBeanTest.TestNotificationListener
|
Field Summary | |
private MBeanServer |
mBeanServer
|
private boolean |
notified
|
Fields inherited from class org.logicalcobwebs.proxool.AbstractProxoolTest |
|
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
ConnectionPoolMBeanTest(java.lang.String s)
|
Method Summary | |
private NotificationFilter |
getFilter()
|
protected void |
setUp()
Calls AbstractProxoolTest.setUp() |
protected void |
tearDown()
Calls AbstractProxoolTest.tearDown() |
void |
testGetAttribute()
Test that an attribute can be fetched from the MBean. |
void |
testGetAttributes()
Test that a list attributes can be fetched from the MBean. |
void |
testInvokeShutown()
|
void |
testNotification()
|
void |
testSetAttribute()
Test that an attribute can be fetched from the MBean. |
void |
testSetAttributes()
|
Methods inherited from class org.logicalcobwebs.proxool.admin.jmx.AbstractJMXTest |
createBasicPool, createBasicProperties |
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 MBeanServer mBeanServer
private boolean notified
Constructor Detail |
public ConnectionPoolMBeanTest(java.lang.String s)
TestCase.TestCase(java.lang.String)
Method Detail |
public void testGetAttribute() throws java.lang.Exception
java.lang.Exception
- if an error occours.public void testGetAttributes() throws java.lang.Exception
java.lang.Exception
- if an error occours.public void testSetAttribute() throws java.lang.Exception
java.lang.Exception
- if an error occours.public void testSetAttributes() throws java.lang.Exception
java.lang.Exception
public void testInvokeShutown() throws java.lang.Exception
java.lang.Exception
public void testNotification() throws java.lang.Exception
java.lang.Exception
private NotificationFilter getFilter()
protected void setUp() throws java.lang.Exception
AbstractProxoolTest.setUp()
setUp
in class AbstractProxoolTest
java.lang.Exception
TestCase.setUp()
protected void tearDown() throws java.lang.Exception
AbstractProxoolTest.tearDown()
tearDown
in class AbstractProxoolTest
java.lang.Exception
TestCase.setUp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |