|
|||||||||||
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.jboss.test.jmx.compliance.server.MBeanServerTEST
Tests the MBean server impl. through the MBeanServer interface.
Constructor Summary | |
MBeanServerTEST(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 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MBeanServerTEST(String s) throws Exception
Method Detail |
public void testInvokeWithPrimitiveBooleanReturn() throws Exception
Exception
public void testInvokeWithPrimitiveLongArrayReturn() throws Exception
Exception
public void testInvokeWithLongArrayReturn() throws Exception
Exception
public void testInvokeWithPrimitiveLongReturn() throws Exception
Exception
public void testInvokeWithPrimitiveDoubleReturn() throws Exception
Exception
public void testInvokeWithLongSignature() throws Exception
Exception
public void testInvokeWithMixedSignature() throws Exception
Exception
public void testInvokeWithNonExistantMBean() throws Exception
Exception
public void testInvokeWithBusinessException() throws Exception
Exception
public void testGetAttributeWithNonExistingAttribute() throws Exception
Exception
public void testGetAttributeWithBusinessException() throws Exception
Exception
public void testGetAttributeWithNonExistingMBean() throws Exception
Exception
public void testGetAttributeWithUncheckedException() throws Exception
Exception
public void testGetAttributeWithError() throws Exception
Exception
public void testSetAttributeWithNonExistingAttribute() throws Exception
Exception
public void testSetAttributeWithBusinessException() throws Exception
Exception
public void testSetAttributeWithNonExistingMBean() throws Exception
Exception
public void testSetAttributeWithUncheckedException() throws Exception
Exception
public void testSetAttributeWithError() throws Exception
Exception
public void testInstantiateWithDefaultConstructor() throws Exception
Exception
public void testInstantiateWithDefaultConstructorAndApplicationException() throws Exception
Exception
public void testInstantiateWithDefaultConstructorAndRuntimeException() throws Exception
Exception
public void testInstantiateWithDefaultConstructorAndError() throws Exception
Exception
public void testInstantiateWithDefaultConstructorAndExceptionInInit() throws Exception
Exception
public void testInstantiateWithDefaultConstructorAndErrorInInit() throws Exception
Exception
public void testInstantiateWithDefaultConstructorAndUnknownClass() throws Exception
Exception
public void testInstantiateWithMissingDefaultConstructor() throws Exception
Exception
public void testInstantiateWithInaccessibleNoArgsConstructor() throws Exception
Exception
public void testInstantiateWithNullClassName() throws Exception
Exception
public void testInstantiateWithEmptyClassName() throws Exception
Exception
public void testInstantiateWithNullClassName2() throws Exception
Exception
public void testInstantiateWithEmptyClassName2() throws Exception
Exception
public void testInstantiateWithNullClassName3() throws Exception
Exception
public void testInstantiateWithEmptyClassName3() throws Exception
Exception
public void testInstantiateWithNullClassName4() throws Exception
Exception
public void testInstantiateWithEmptyClassName4() throws Exception
Exception
public void testInstantiateWithDefaultLoaderRepository() throws Exception
Exception
public void testInstantiateWithDefaultLoaderRepository2() throws Exception
Exception
public void testRegisterNullObjectName() throws Exception
Exception
public void testRegisterPatternObjectName() throws Exception
Exception
public void testRegisterJMImplementationObjectName() throws Exception
Exception
public void testRegisterJMImplementationDefaultDomainObjectName() throws Exception
Exception
public void testRegisterMBeanOnExceptionFromPreRegister() throws Exception
Exception
public void testRegisterMBeanOnExceptionFromPreRegister2() throws Exception
Exception
public void testRegisterMBeanOnExceptionFromPreRegister3() throws Exception
Exception
public void testUnregisterDelegate() throws Exception
Exception
public void testBasicUnregister() throws Exception
Exception
public void testUnregisterWithDefaultDomainName() throws Exception
Exception
public void testUnregisterWithObjectNameFromRegistration() throws Exception
Exception
public void testUnregisterMBeanOnExceptionFromPreDeregister() throws Exception
Exception
public void testUnregisterMBeanOnExceptionFromPreDeregister2() throws Exception
Exception
public void testUnregisterMBeanOnExceptionFromPreDeregister3() throws Exception
Exception
public void testAddNotificationListenerToDelegate() throws Exception
Exception
public void testAddMultipleListeners() throws Exception
Exception
public void testAddListenerMultipleHandbacks() throws Exception
Exception
public void testRemoveListener() throws Exception
Exception
public void testRemoveTriplet() throws Exception
Exception
public void testRemoveBroadcaster() throws Exception
Exception
public void testAddListenerToTwoBroadcasters() throws Exception
Exception
public void testAddListenerToTwoBroadcastersRemoveOne() throws Exception
Exception
public void testaddMBeanToDelegate() throws Exception
Exception
public void testAddMBeanMultipleListeners() throws Exception
Exception
public void testAddMBeanListenerMultipleHandbacks() throws Exception
Exception
public void testMBeanRemoveListener() throws Exception
Exception
public void testMBeanRemoveTriplet() throws Exception
Exception
public void testMBeanRedeployNotification() throws Exception
Exception
public void testMBeanRemoveBroadcaster() throws Exception
Exception
public void testAddMBeanListenerToTwoBroadcasters() throws Exception
Exception
public void testAddMBeanListenerToTwoBroadcastersRemoveOne() throws Exception
Exception
public void testGetDomains() throws Exception
Exception
public void testIsInstanceOf() throws Exception
Exception
public void testIsInstanceOfErrors() throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |