test.serialization
Class SerializeTestCase

java.lang.Object
  extended byTestCase
      extended bytest.serialization.SerializeTestCase

public class SerializeTestCase
extends TestCase

Tests serialization with the RI

See Also:
Serialized Form

Nested Class Summary
 class SerializeTestCase.MyObjectInputStream (src)
          Custom inputstream to override classloading to the relevent jmx implementation
 
Constructor Summary
SerializeTestCase(java.lang.String s)
          Construct the test
 
Method Summary
 void testArrayType()
           
 void testAttribute()
           
 void testAttributeChangeNotification()
           
 void testAttributeChangeNotificationFilter()
           
 void testAttributeList()
           
 void testAttributeNotFoundException()
           
 void testAttributeValueExp()
           
 void testBadAttributeValueExpException()
           
 void testBadBinaryOpValueExpException()
           
 void testBadStringOperationException()
           
 void testCompositeDataSupport()
           
 void testCompositeType()
           
 void testDescriptorSupport()
           
 void testInstanceAlreadyExistsException()
           
 void testInstanceNotFoundException()
           
 void testIntrospectionException()
           
 void testInvalidApplicationException()
           
 void testInvalidAttributeValueException()
           
 void testInvalidKeyException()
           
 void testInvalidOpenTypeException()
           
 void testInvalidRelationIdException()
           
 void testInvalidRelationServiceException()
           
 void testInvalidRelationTypeException()
           
 void testInvalidRoleInfoException()
           
 void testInvalidRoleValueException()
           
 void testInvalidTargetObjectTypeException()
           
 void testJMException()
           
 void testJMRuntimeException()
           
 void testKeyAlreadyExistsException()
           
 void testListenerNotFoundException()
           
 void testMalformedObjectNameException()
           
 void testMBeanAttributeInfo()
           
 void testMBeanConstructorInfo()
           
 void testMBeanException()
           
 void testMBeanFeatureInfo()
           
 void testMBeanInfo()
           
 void testMBeanNotificationInfo()
           
 void testMBeanOperationInfo()
           
 void testMBeanParameterInfo()
           
 void testMBeanRegistrationException()
           
 void testMBeanServerNotification()
           
 void testMBeanServerNotificationFilter()
           
 void testMBeanServerPermission()
           
 void testModelMBeanAttributeInfo()
           
 void testModelMBeanConstructorInfo()
           
 void testModelMBeanInfoSupport()
           
 void testModelMBeanNotificationInfo()
           
 void testModelMBeanOperationInfo()
           
 void testMonitorNotification()
           
 void testMonitorSettingException()
           
 void testNotCompliantMBeanException()
           
 void testNotification()
           
 void testNotificationFilterSupport()
           
 void testObjectInstance()
           
 void testObjectName()
           
 void testObjectNamePattern()
           
 void testObjectNamePropertyPattern()
           
 void testObjectNameRawPropertyPattern()
           
 void testOpenDataException()
           
 void testOpenMBeanAttributeInfoSupportLegal()
           
 void testOpenMBeanAttributeInfoSupportMinMax()
           
 void testOpenMBeanConstructorInfoSupport()
           
 void testOpenMBeanInfoSupport()
           
 void testOpenMBeanOperationInfoSupport()
           
 void testOpenMBeanParameterInfoSupportLegal()
           
 void testOpenMBeanParameterInfoSupportMinMax()
           
 void testOperationsException()
           
 void testReflectionException()
           
 void testRelationException()
           
 void testRelationNotFoundException()
           
 void testRelationNotification()
           
 void testRelationServiceNotRegisteredException()
           
 void testRelationTypeNotFoundException()
           
 void testRelationTypeSupport()
           
 void testRole()
           
 void testRoleInfo()
           
 void testRoleInfoNotFoundException()
           
 void testRoleList()
           
 void testRoleNotFoundException()
           
 void testRoleResult()
           
 void testRoleUnresolved()
           
 void testRoleUnresolvedList()
           
 void testRuntimeErrorException()
           
 void testRuntimeMBeanException()
           
 void testRuntimeOperationsException()
           
 void testServiceNotFoundException()
           
 void testSimpleType()
           
 void testStringValueExp()
           
 void testTabularDataSupport()
           
 void testTabularType()
           
 void testTimerAlarmClockNotification()
           
 void testTimerNotification()
           
 void testXMLParseException()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializeTestCase

public SerializeTestCase(java.lang.String s)
Construct the test

Method Detail

testArrayType

public void testArrayType()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testAttribute

public void testAttribute()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testAttributeChangeNotification

public void testAttributeChangeNotification()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testAttributeChangeNotificationFilter

public void testAttributeChangeNotificationFilter()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testAttributeList

public void testAttributeList()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testAttributeNotFoundException

public void testAttributeNotFoundException()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testAttributeValueExp

public void testAttributeValueExp()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testBadAttributeValueExpException

public void testBadAttributeValueExpException()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testBadBinaryOpValueExpException

public void testBadBinaryOpValueExpException()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testBadStringOperationException

public void testBadStringOperationException()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testCompositeDataSupport

public void testCompositeDataSupport()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testCompositeType

public void testCompositeType()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDescriptorSupport

public void testDescriptorSupport()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testInstanceAlreadyExistsException

public void testInstanceAlreadyExistsException()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testInstanceNotFoundException

public void testInstanceNotFoundException()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testIntrospectionException

public void testIntrospectionException()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidApplicationException

public void testInvalidApplicationException()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidAttributeValueException

public void testInvalidAttributeValueException()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidKeyException

public void testInvalidKeyException()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidOpenTypeException

public void testInvalidOpenTypeException()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidRelationIdException

public void testInvalidRelationIdException()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidRelationServiceException

public void testInvalidRelationServiceException()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidRelationTypeException

public void testInvalidRelationTypeException()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidRoleInfoException

public void testInvalidRoleInfoException()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidRoleValueException

public void testInvalidRoleValueException()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testInvalidTargetObjectTypeException

public void testInvalidTargetObjectTypeException()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

testKeyAlreadyExistsException

public void testKeyAlreadyExistsException()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testJMException

public void testJMException()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testJMRuntimeException

public void testJMRuntimeException()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testListenerNotFoundException

public void testListenerNotFoundException()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testMalformedObjectNameException

public void testMalformedObjectNameException()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanAttributeInfo

public void testMBeanAttributeInfo()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanConstructorInfo

public void testMBeanConstructorInfo()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanException

public void testMBeanException()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanFeatureInfo

public void testMBeanFeatureInfo()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanInfo

public void testMBeanInfo()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanNotificationInfo

public void testMBeanNotificationInfo()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanOperationInfo

public void testMBeanOperationInfo()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanParameterInfo

public void testMBeanParameterInfo()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanRegistrationException

public void testMBeanRegistrationException()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanServerNotification

public void testMBeanServerNotification()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanServerNotificationFilter

public void testMBeanServerNotificationFilter()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testMBeanServerPermission

public void testMBeanServerPermission()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testModelMBeanAttributeInfo

public void testModelMBeanAttributeInfo()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testModelMBeanConstructorInfo

public void testModelMBeanConstructorInfo()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testModelMBeanInfoSupport

public void testModelMBeanInfoSupport()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testModelMBeanNotificationInfo

public void testModelMBeanNotificationInfo()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testModelMBeanOperationInfo

public void testModelMBeanOperationInfo()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testMonitorNotification

public void testMonitorNotification()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testMonitorSettingException

public void testMonitorSettingException()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testNotCompliantMBeanException

public void testNotCompliantMBeanException()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testNotification

public void testNotification()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testNotificationFilterSupport

public void testNotificationFilterSupport()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testObjectInstance

public void testObjectInstance()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testObjectName

public void testObjectName()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testObjectNamePattern

public void testObjectNamePattern()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testObjectNamePropertyPattern

public void testObjectNamePropertyPattern()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testObjectNameRawPropertyPattern

public void testObjectNameRawPropertyPattern()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testOpenDataException

public void testOpenDataException()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testOpenMBeanAttributeInfoSupportMinMax

public void testOpenMBeanAttributeInfoSupportMinMax()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testOpenMBeanAttributeInfoSupportLegal

public void testOpenMBeanAttributeInfoSupportLegal()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testOpenMBeanConstructorInfoSupport

public void testOpenMBeanConstructorInfoSupport()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testOpenMBeanInfoSupport

public void testOpenMBeanInfoSupport()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testOpenMBeanOperationInfoSupport

public void testOpenMBeanOperationInfoSupport()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testOpenMBeanParameterInfoSupportMinMax

public void testOpenMBeanParameterInfoSupportMinMax()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

testOpenMBeanParameterInfoSupportLegal

public void testOpenMBeanParameterInfoSupportLegal()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testOperationsException

public void testOperationsException()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testReflectionException

public void testReflectionException()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testRelationException

public void testRelationException()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testRelationNotFoundException

public void testRelationNotFoundException()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testRelationNotification

public void testRelationNotification()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testRelationServiceNotRegisteredException

public void testRelationServiceNotRegisteredException()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testRelationTypeNotFoundException

public void testRelationTypeNotFoundException()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testRelationTypeSupport

public void testRelationTypeSupport()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testRole

public void testRole()
              throws java.lang.Exception
Throws:
java.lang.Exception

testRoleInfo

public void testRoleInfo()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testRoleInfoNotFoundException

public void testRoleInfoNotFoundException()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testRoleList

public void testRoleList()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testRoleNotFoundException

public void testRoleNotFoundException()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRoleResult

public void testRoleResult()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testRoleUnresolved

public void testRoleUnresolved()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testRoleUnresolvedList

public void testRoleUnresolvedList()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeErrorException

public void testRuntimeErrorException()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeMBeanException

public void testRuntimeMBeanException()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRuntimeOperationsException

public void testRuntimeOperationsException()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testServiceNotFoundException

public void testServiceNotFoundException()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleType

public void testSimpleType()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testStringValueExp

public void testStringValueExp()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testTabularDataSupport

public void testTabularDataSupport()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testTabularType

public void testTabularType()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testTimerAlarmClockNotification

public void testTimerAlarmClockNotification()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testTimerNotification

public void testTimerNotification()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testXMLParseException

public void testXMLParseException()
                           throws java.lang.Exception
Throws:
java.lang.Exception