org.jboss.test.jmx.compliance.server
Class MBeanServerInvocationHandlerTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.test.jmx.compliance.server.MBeanServerInvocationHandlerTestCase
- All Implemented Interfaces:
- EventListener, javax.management.NotificationListener, junit.framework.Test
- public class MBeanServerInvocationHandlerTestCase
- extends junit.framework.TestCase
- implements javax.management.NotificationListener
Tests the MBeanServerInvocationHandler
- Author:
- Adrian Brock.
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
MBeanServerInvocationHandlerTestCase
public MBeanServerInvocationHandlerTestCase(String s)
- Construct the test
testConstructor
public void testConstructor()
throws Exception
- Throws:
Exception
testGetter
public void testGetter()
throws Exception
- Throws:
Exception
testSetter
public void testSetter()
throws Exception
- Throws:
Exception
testGetterPrimitiveBoolean
public void testGetterPrimitiveBoolean()
throws Exception
- Throws:
Exception
testSetterPrimitiveBoolean
public void testSetterPrimitiveBoolean()
throws Exception
- Throws:
Exception
testGetterTypeBoolean
public void testGetterTypeBoolean()
throws Exception
- Throws:
Exception
testSetterTypeBoolean
public void testSetterTypeBoolean()
throws Exception
- Throws:
Exception
testInvokeNoArgsNoReturn
public void testInvokeNoArgsNoReturn()
throws Exception
- Throws:
Exception
testInvokeNoArgs
public void testInvokeNoArgs()
throws Exception
- Throws:
Exception
testInvoke
public void testInvoke()
throws Exception
- Throws:
Exception
testInvokeMixedParameters
public void testInvokeMixedParameters()
throws Exception
- Throws:
Exception
testNotificationEmitterAdd
public void testNotificationEmitterAdd()
throws Exception
- Throws:
Exception
testNotificationEmitterRemove
public void testNotificationEmitterRemove()
throws Exception
- Throws:
Exception
testNotificationEmitterRemoveTriplet
public void testNotificationEmitterRemoveTriplet()
throws Exception
- Throws:
Exception
testNotificationEmitterRemoveTripletFailsOnBroadcaster
public void testNotificationEmitterRemoveTripletFailsOnBroadcaster()
throws Exception
- Throws:
Exception
testGetNotificationInfo
public void testGetNotificationInfo()
throws Exception
- Throws:
Exception
testToString
public void testToString()
throws Exception
- Throws:
Exception
testToStringFailsWhenNotExposed
public void testToStringFailsWhenNotExposed()
throws Exception
- Throws:
Exception
testEquals
public void testEquals()
throws Exception
- Throws:
Exception
testEqualsFailsWhenNotExposed
public void testEqualsFailsWhenNotExposed()
throws Exception
- Throws:
Exception
testHashCode
public void testHashCode()
throws Exception
- Throws:
Exception
testHashCodeFailsWhenNotExposed
public void testHashCodeFailsWhenNotExposed()
throws Exception
- Throws:
Exception
handleNotification
public void handleNotification(javax.management.Notification notification,
Object handback)
- Description copied from interface:
javax.management.NotificationListener
- Callback method from the broadcaster MBean this listener implementation
is registered to.
- Specified by:
handleNotification
in interface javax.management.NotificationListener
- Parameters:
notification
- the notification objecthandback
- the handback object given to the broadcaster
upon listener registration
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.