|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
test.compliance.server.MBeanServerTEST
Tests the MBean server impl. through the MBeanServer interface.
Constructor Summary | |
MBeanServerTEST(java.lang.String s)
|
Method Summary | |
void |
testAddListenerMultipleHandbacks()
Tests one listener multiple handbacks |
void |
testAddListenerToTwoBroadcasters()
Tests adding the listener to different broadcasters |
void |
testAddListenerToTwoBroadcastersRemoveOne()
Tests adding the listener to different broadcasters but remove one |
void |
testAddMBeanListenerMultipleHandbacks()
Tests one listener multiple handbacks |
void |
testAddMBeanListenerToTwoBroadcasters()
Tests adding the listener to different broadcasters |
void |
testAddMBeanListenerToTwoBroadcastersRemoveOne()
Tests adding the listener to different broadcasters but remove one |
void |
testAddMBeanMultipleListeners()
Tests multiple listeners with different handbacks |
void |
testaddMBeanToDelegate()
Tests basic listener registration to server delegate |
void |
testAddMultipleListeners()
Tests multiple listeners with different handbacks |
void |
testAddNotificationListenerToDelegate()
Tests basic listener registration to server delegate |
void |
testBasicUnregister()
Tests basic register/unregister |
void |
testGetAttributeWithBusinessException()
|
void |
testGetAttributeWithError()
|
void |
testGetAttributeWithNonExistingAttribute()
|
void |
testGetAttributeWithNonExistingMBean()
|
void |
testGetAttributeWithUncheckedException()
|
void |
testGetDomains()
|
void |
testInstantiateWithDefaultConstructor()
Tests instantiate(String className). |
void |
testInstantiateWithDefaultConstructorAndApplicationException()
Tests instantiate(String className) with constructor that throws a checked application exception. |
void |
testInstantiateWithDefaultConstructorAndError()
Tests instantiate(String className) with constructor that throws an error. |
void |
testInstantiateWithDefaultConstructorAndErrorInInit()
Tests instatiante(String className) with constructor that fails with an error in static init block. |
void |
testInstantiateWithDefaultConstructorAndExceptionInInit()
Tests instantiate(String className) with constructor that fails with an unchecked exception in static init block. |
void |
testInstantiateWithDefaultConstructorAndRuntimeException()
Tests instantiate(String className) with constructor that throws an unchecked application exception. |
void |
testInstantiateWithDefaultConstructorAndUnknownClass()
Tests instantiate(String className) with unfound class. |
void |
testInstantiateWithDefaultLoaderRepository()
Tests instantiate(String className) classloading behaviour. |
void |
testInstantiateWithDefaultLoaderRepository2()
Tests instantiate(String className, ObjectName loader) classloading behaviour. |
void |
testInstantiateWithEmptyClassName()
Tests instantiate(String className) with empty class name string. |
void |
testInstantiateWithEmptyClassName2()
Tests instantiate(String className, ObjectName loader) with empty class name string. |
void |
testInstantiateWithEmptyClassName3()
Tests instantiate(String className, Object[] args, String[] sign) with empty class name string. |
void |
testInstantiateWithEmptyClassName4()
Tests instantiate(String className, ObjectName loader, Object[] args, String[] sign) with empty class name string. |
void |
testInstantiateWithInaccessibleNoArgsConstructor()
Tests instantiate(String className) with protected (no access) no args constructor. |
void |
testInstantiateWithMissingDefaultConstructor()
Tests instantiate(String className) with class that doesn't have a default constructor. |
void |
testInstantiateWithNullClassName()
Tests instantiate(String className) with null class name. |
void |
testInstantiateWithNullClassName2()
Tests instantiate(String className, ObjectName loader) with null class name. |
void |
testInstantiateWithNullClassName3()
Tests instantiate(String className, Object[] args, String[] sign) with null class name. |
void |
testInstantiateWithNullClassName4()
Tests instantiate(String className, ObjectName loader, Object[] args, String[] sign) with null class name. |
void |
testInvokeWithBusinessException()
Attempts to invoke a MBean operation that throws a business exception; MBeanException should be thrown. |
void |
testInvokeWithLongArrayReturn()
Tests invoke with Long array return type. |
void |
testInvokeWithLongSignature()
Tests invoke with long signature. |
void |
testInvokeWithMixedSignature()
Tests invoke with mixed types in signature, especially types with double byte code length and arrays. |
void |
testInvokeWithNonExistantMBean()
Attempts to invoke a method on an unregistered MBean; InstanceNotFoundException should occur. |
void |
testInvokeWithPrimitiveBooleanReturn()
Tests invoke with primitive boolean return type. |
void |
testInvokeWithPrimitiveDoubleReturn()
Tests invoke with primitive double return type. |
void |
testInvokeWithPrimitiveLongArrayReturn()
Tests invoke with primitive long array return type. |
void |
testInvokeWithPrimitiveLongReturn()
Tests invoke with primitive long return type. |
void |
testIsInstanceOf()
|
void |
testIsInstanceOfErrors()
|
void |
testMBeanRedeployNotification()
Tests MBeanRedeploy notification |
void |
testMBeanRemoveBroadcaster()
Tests removing a broadcaster |
void |
testMBeanRemoveListener()
Tests removing a notification listener including multiple handbacks |
void |
testMBeanRemoveTriplet()
Tests removing a notification listener triple |
void |
testRegisterJMImplementationDefaultDomainObjectName()
Tests registering into JMImplementation using default domain |
void |
testRegisterJMImplementationObjectName()
Tests registering into JMImplementation |
void |
testRegisterMBeanOnExceptionFromPreRegister()
Tests register for an MBean that throws unchecked exception from preRegister() |
void |
testRegisterMBeanOnExceptionFromPreRegister2()
Tests register for an MBean that throws checked exception from preRegister() |
void |
testRegisterMBeanOnExceptionFromPreRegister3()
Tests register for an MBean that throws an MBeanRegistrationException from preRegister() method. |
void |
testRegisterNullObjectName()
Tests registering with null object name. |
void |
testRegisterPatternObjectName()
Tests registering with a pattern object name. |
void |
testRemoveBroadcaster()
Tests removing a broadcaster |
void |
testRemoveListener()
Tests removing a notification listener including multiple handbacks |
void |
testRemoveTriplet()
Tests removing a notification listener triplet |
void |
testSetAttributeWithBusinessException()
|
void |
testSetAttributeWithError()
|
void |
testSetAttributeWithNonExistingAttribute()
|
void |
testSetAttributeWithNonExistingMBean()
|
void |
testSetAttributeWithUncheckedException()
|
void |
testUnregisterDelegate()
Tests unregister the delegate. |
void |
testUnregisterMBeanOnExceptionFromPreDeregister()
Tests unregister for an MBean that prevents unregistration by throwing an unchecked exception from its preDeregister() method. |
void |
testUnregisterMBeanOnExceptionFromPreDeregister2()
Tests unregister for an MBean that prevents unregistration by throwing a checked exception from its preDeregister() method. |
void |
testUnregisterMBeanOnExceptionFromPreDeregister3()
Tests unregister for an MBean that prevents unregistration by throwing a MBeanRegistrationException from its preDeregister() method. |
void |
testUnregisterWithDefaultDomainName()
Tests unregister with default domain name |
void |
testUnregisterWithObjectNameFromRegistration()
Tests unregister with default domain name gotten from ObjectInstance at registration time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MBeanServerTEST(java.lang.String s)
Method Detail |
public void testInvokeWithPrimitiveBooleanReturn() throws java.lang.Exception
java.lang.Exception
public void testInvokeWithPrimitiveLongArrayReturn() throws java.lang.Exception
java.lang.Exception
public void testInvokeWithLongArrayReturn() throws java.lang.Exception
java.lang.Exception
public void testInvokeWithPrimitiveLongReturn() throws java.lang.Exception
java.lang.Exception
public void testInvokeWithPrimitiveDoubleReturn() throws java.lang.Exception
java.lang.Exception
public void testInvokeWithLongSignature() throws java.lang.Exception
java.lang.Exception
public void testInvokeWithMixedSignature() throws java.lang.Exception
java.lang.Exception
public void testInvokeWithNonExistantMBean() throws java.lang.Exception
java.lang.Exception
public void testInvokeWithBusinessException() throws java.lang.Exception
java.lang.Exception
public void testGetAttributeWithNonExistingAttribute() throws java.lang.Exception
java.lang.Exception
public void testGetAttributeWithBusinessException() throws java.lang.Exception
java.lang.Exception
public void testGetAttributeWithNonExistingMBean() throws java.lang.Exception
java.lang.Exception
public void testGetAttributeWithUncheckedException() throws java.lang.Exception
java.lang.Exception
public void testGetAttributeWithError() throws java.lang.Exception
java.lang.Exception
public void testSetAttributeWithNonExistingAttribute() throws java.lang.Exception
java.lang.Exception
public void testSetAttributeWithBusinessException() throws java.lang.Exception
java.lang.Exception
public void testSetAttributeWithNonExistingMBean() throws java.lang.Exception
java.lang.Exception
public void testSetAttributeWithUncheckedException() throws java.lang.Exception
java.lang.Exception
public void testSetAttributeWithError() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultConstructor() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultConstructorAndApplicationException() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultConstructorAndRuntimeException() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultConstructorAndError() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultConstructorAndExceptionInInit() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultConstructorAndErrorInInit() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultConstructorAndUnknownClass() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithMissingDefaultConstructor() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithInaccessibleNoArgsConstructor() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithNullClassName() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithEmptyClassName() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithNullClassName2() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithEmptyClassName2() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithNullClassName3() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithEmptyClassName3() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithNullClassName4() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithEmptyClassName4() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultLoaderRepository() throws java.lang.Exception
java.lang.Exception
public void testInstantiateWithDefaultLoaderRepository2() throws java.lang.Exception
java.lang.Exception
public void testRegisterNullObjectName() throws java.lang.Exception
java.lang.Exception
public void testRegisterPatternObjectName() throws java.lang.Exception
java.lang.Exception
public void testRegisterJMImplementationObjectName() throws java.lang.Exception
java.lang.Exception
public void testRegisterJMImplementationDefaultDomainObjectName() throws java.lang.Exception
java.lang.Exception
public void testRegisterMBeanOnExceptionFromPreRegister() throws java.lang.Exception
java.lang.Exception
public void testRegisterMBeanOnExceptionFromPreRegister2() throws java.lang.Exception
java.lang.Exception
public void testRegisterMBeanOnExceptionFromPreRegister3() throws java.lang.Exception
java.lang.Exception
public void testUnregisterDelegate() throws java.lang.Exception
java.lang.Exception
public void testBasicUnregister() throws java.lang.Exception
java.lang.Exception
public void testUnregisterWithDefaultDomainName() throws java.lang.Exception
java.lang.Exception
public void testUnregisterWithObjectNameFromRegistration() throws java.lang.Exception
java.lang.Exception
public void testUnregisterMBeanOnExceptionFromPreDeregister() throws java.lang.Exception
java.lang.Exception
public void testUnregisterMBeanOnExceptionFromPreDeregister2() throws java.lang.Exception
java.lang.Exception
public void testUnregisterMBeanOnExceptionFromPreDeregister3() throws java.lang.Exception
java.lang.Exception
public void testAddNotificationListenerToDelegate() throws java.lang.Exception
java.lang.Exception
public void testAddMultipleListeners() throws java.lang.Exception
java.lang.Exception
public void testAddListenerMultipleHandbacks() throws java.lang.Exception
java.lang.Exception
public void testRemoveListener() throws java.lang.Exception
java.lang.Exception
public void testRemoveTriplet() throws java.lang.Exception
java.lang.Exception
public void testRemoveBroadcaster() throws java.lang.Exception
java.lang.Exception
public void testAddListenerToTwoBroadcasters() throws java.lang.Exception
java.lang.Exception
public void testAddListenerToTwoBroadcastersRemoveOne() throws java.lang.Exception
java.lang.Exception
public void testaddMBeanToDelegate() throws java.lang.Exception
java.lang.Exception
public void testAddMBeanMultipleListeners() throws java.lang.Exception
java.lang.Exception
public void testAddMBeanListenerMultipleHandbacks() throws java.lang.Exception
java.lang.Exception
public void testMBeanRemoveListener() throws java.lang.Exception
java.lang.Exception
public void testMBeanRemoveTriplet() throws java.lang.Exception
java.lang.Exception
public void testMBeanRedeployNotification() throws java.lang.Exception
java.lang.Exception
public void testMBeanRemoveBroadcaster() throws java.lang.Exception
java.lang.Exception
public void testAddMBeanListenerToTwoBroadcasters() throws java.lang.Exception
java.lang.Exception
public void testAddMBeanListenerToTwoBroadcastersRemoveOne() throws java.lang.Exception
java.lang.Exception
public void testGetDomains() throws java.lang.Exception
java.lang.Exception
public void testIsInstanceOf() throws java.lang.Exception
java.lang.Exception
public void testIsInstanceOfErrors() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |