| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestCase
org.logicalcobwebs.proxool.AbstractProxoolTest
org.logicalcobwebs.proxool.admin.jmx.AbstractJMXTest
org.logicalcobwebs.proxool.admin.jmx.ConnectionPoolMBeanTest
public class ConnectionPoolMBeanTest
Test ConnectionPoolMBean.
| Nested Class Summary | |
|---|---|
| private  class | ConnectionPoolMBeanTest.TestNotificationListener | 
| Field Summary | |
|---|---|
| private  javax.management.MBeanServer | mBeanServer | 
| private  boolean | notified | 
| Constructor Summary | |
|---|---|
| ConnectionPoolMBeanTest(java.lang.String s) | |
| Method Summary | |
|---|---|
| private  javax.management.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 java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private javax.management.MBeanServer mBeanServer
private boolean notified
| Constructor Detail | 
|---|
public ConnectionPoolMBeanTest(java.lang.String s)
junit.framework.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.Exceptionprivate javax.management.NotificationFilter getFilter()
protected void setUp()
              throws java.lang.Exception
AbstractProxoolTest.setUp()
setUp in class AbstractProxoolTestjava.lang.Exceptionjunit.framework.TestCase#setUp
protected void tearDown()
                 throws java.lang.Exception
AbstractProxoolTest.tearDown()
tearDown in class AbstractProxoolTestjava.lang.Exceptionjunit.framework.TestCase#setUp| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||