test.compliance.server
Class MBeanServerInvocationHandlerTestCase
java.lang.Object
TestCase
test.compliance.server.MBeanServerInvocationHandlerTestCase
- All Implemented Interfaces:
- java.util.EventListener, NotificationListener (src)
- public class MBeanServerInvocationHandlerTestCase
- extends TestCase
- implements NotificationListener (src)
Tests the MBeanServerInvocationHandler
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanServerInvocationHandlerTestCase
public MBeanServerInvocationHandlerTestCase(java.lang.String s)
- Construct the test
testConstructor
public void testConstructor()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetter
public void testGetter()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetter
public void testSetter()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetterPrimitiveBoolean
public void testGetterPrimitiveBoolean()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetterPrimitiveBoolean
public void testSetterPrimitiveBoolean()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetterTypeBoolean
public void testGetterTypeBoolean()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetterTypeBoolean
public void testSetterTypeBoolean()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeNoArgsNoReturn
public void testInvokeNoArgsNoReturn()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeNoArgs
public void testInvokeNoArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvoke
public void testInvoke()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInvokeMixedParameters
public void testInvokeMixedParameters()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotificationEmitterAdd
public void testNotificationEmitterAdd()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotificationEmitterRemove
public void testNotificationEmitterRemove()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotificationEmitterRemoveTriplet
public void testNotificationEmitterRemoveTriplet()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotificationEmitterRemoveTripletFailsOnBroadcaster
public void testNotificationEmitterRemoveTripletFailsOnBroadcaster()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetNotificationInfo
public void testGetNotificationInfo()
throws java.lang.Exception
- Throws:
java.lang.Exception
testToString
public void testToString()
throws java.lang.Exception
- Throws:
java.lang.Exception
testToStringFailsWhenNotExposed
public void testToStringFailsWhenNotExposed()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEquals
public void testEquals()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEqualsFailsWhenNotExposed
public void testEqualsFailsWhenNotExposed()
throws java.lang.Exception
- Throws:
java.lang.Exception
testHashCode
public void testHashCode()
throws java.lang.Exception
- Throws:
java.lang.Exception
testHashCodeFailsWhenNotExposed
public void testHashCodeFailsWhenNotExposed()
throws java.lang.Exception
- Throws:
java.lang.Exception
handleNotification
public void handleNotification(Notification (src) notification,
java.lang.Object handback)
- Description copied from interface:
NotificationListener (src)
- Callback method from the broadcaster MBean this listener implementation
is registered to.
- Specified by:
handleNotification
in interface NotificationListener (src)
- Parameters:
notification
- the notification objecthandback
- the handback object given to the broadcaster
upon listener registration