org.jboss.test.jmx.serialization
Class SerializeTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.test.jmx.serialization.SerializeTestCase
All Implemented Interfaces:
junit.framework.Test

public class SerializeTestCase
extends junit.framework.TestCase

Tests serialization with the RI

Author:
Adrian Brock.

Nested Class Summary
 class SerializeTestCase.MyObjectInputStream
          Custom inputstream to override classloading to the relevent jmx implementation
 
Constructor Summary
SerializeTestCase(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 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

SerializeTestCase

public SerializeTestCase(String s)
Construct the test

Method Detail

testArrayType

public void testArrayType()
                   throws Exception
Throws:
Exception

testAttribute

public void testAttribute()
                   throws Exception
Throws:
Exception

testAttributeChangeNotification

public void testAttributeChangeNotification()
                                     throws Exception
Throws:
Exception

testAttributeChangeNotificationFilter

public void testAttributeChangeNotificationFilter()
                                           throws Exception
Throws:
Exception

testAttributeList

public void testAttributeList()
                       throws Exception
Throws:
Exception

testAttributeNotFoundException

public void testAttributeNotFoundException()
                                    throws Exception
Throws:
Exception

testAttributeValueExp

public void testAttributeValueExp()
                           throws Exception
Throws:
Exception

testBadAttributeValueExpException

public void testBadAttributeValueExpException()
                                       throws Exception
Throws:
Exception

testBadBinaryOpValueExpException

public void testBadBinaryOpValueExpException()
                                      throws Exception
Throws:
Exception

testBadStringOperationException

public void testBadStringOperationException()
                                     throws Exception
Throws:
Exception

testCompositeDataSupport

public void testCompositeDataSupport()
                              throws Exception
Throws:
Exception

testCompositeType

public void testCompositeType()
                       throws Exception
Throws:
Exception

testDescriptorSupport

public void testDescriptorSupport()
                           throws Exception
Throws:
Exception

testInstanceAlreadyExistsException

public void testInstanceAlreadyExistsException()
                                        throws Exception
Throws:
Exception

testInstanceNotFoundException

public void testInstanceNotFoundException()
                                   throws Exception
Throws:
Exception

testIntrospectionException

public void testIntrospectionException()
                                throws Exception
Throws:
Exception

testInvalidApplicationException

public void testInvalidApplicationException()
                                     throws Exception
Throws:
Exception

testInvalidAttributeValueException

public void testInvalidAttributeValueException()
                                        throws Exception
Throws:
Exception

testInvalidKeyException

public void testInvalidKeyException()
                             throws Exception
Throws:
Exception

testInvalidOpenTypeException

public void testInvalidOpenTypeException()
                                  throws Exception
Throws:
Exception

testInvalidRelationIdException

public void testInvalidRelationIdException()
                                    throws Exception
Throws:
Exception

testInvalidRelationServiceException

public void testInvalidRelationServiceException()
                                         throws Exception
Throws:
Exception

testInvalidRelationTypeException

public void testInvalidRelationTypeException()
                                      throws Exception
Throws:
Exception

testInvalidRoleInfoException

public void testInvalidRoleInfoException()
                                  throws Exception
Throws:
Exception

testInvalidRoleValueException

public void testInvalidRoleValueException()
                                   throws Exception
Throws:
Exception

testInvalidTargetObjectTypeException

public void testInvalidTargetObjectTypeException()
                                          throws Exception
Throws:
Exception

testKeyAlreadyExistsException

public void testKeyAlreadyExistsException()
                                   throws Exception
Throws:
Exception

testJMException

public void testJMException()
                     throws Exception
Throws:
Exception

testJMRuntimeException

public void testJMRuntimeException()
                            throws Exception
Throws:
Exception

testListenerNotFoundException

public void testListenerNotFoundException()
                                   throws Exception
Throws:
Exception

testMalformedObjectNameException

public void testMalformedObjectNameException()
                                      throws Exception
Throws:
Exception

testMBeanAttributeInfo

public void testMBeanAttributeInfo()
                            throws Exception
Throws:
Exception

testMBeanConstructorInfo

public void testMBeanConstructorInfo()
                              throws Exception
Throws:
Exception

testMBeanException

public void testMBeanException()
                        throws Exception
Throws:
Exception

testMBeanFeatureInfo

public void testMBeanFeatureInfo()
                          throws Exception
Throws:
Exception

testMBeanInfo

public void testMBeanInfo()
                   throws Exception
Throws:
Exception

testMBeanNotificationInfo

public void testMBeanNotificationInfo()
                               throws Exception
Throws:
Exception

testMBeanOperationInfo

public void testMBeanOperationInfo()
                            throws Exception
Throws:
Exception

testMBeanParameterInfo

public void testMBeanParameterInfo()
                            throws Exception
Throws:
Exception

testMBeanRegistrationException

public void testMBeanRegistrationException()
                                    throws Exception
Throws:
Exception

testMBeanServerNotification

public void testMBeanServerNotification()
                                 throws Exception
Throws:
Exception

testMBeanServerNotificationFilter

public void testMBeanServerNotificationFilter()
                                       throws Exception
Throws:
Exception

testMBeanServerPermission

public void testMBeanServerPermission()
                               throws Exception
Throws:
Exception

testModelMBeanAttributeInfo

public void testModelMBeanAttributeInfo()
                                 throws Exception
Throws:
Exception

testModelMBeanConstructorInfo

public void testModelMBeanConstructorInfo()
                                   throws Exception
Throws:
Exception

testModelMBeanInfoSupport

public void testModelMBeanInfoSupport()
                               throws Exception
Throws:
Exception

testModelMBeanNotificationInfo

public void testModelMBeanNotificationInfo()
                                    throws Exception
Throws:
Exception

testModelMBeanOperationInfo

public void testModelMBeanOperationInfo()
                                 throws Exception
Throws:
Exception

testMonitorNotification

public void testMonitorNotification()
                             throws Exception
Throws:
Exception

testMonitorSettingException

public void testMonitorSettingException()
                                 throws Exception
Throws:
Exception

testNotCompliantMBeanException

public void testNotCompliantMBeanException()
                                    throws Exception
Throws:
Exception

testNotification

public void testNotification()
                      throws Exception
Throws:
Exception

testNotificationFilterSupport

public void testNotificationFilterSupport()
                                   throws Exception
Throws:
Exception

testObjectInstance

public void testObjectInstance()
                        throws Exception
Throws:
Exception

testObjectName

public void testObjectName()
                    throws Exception
Throws:
Exception

testObjectNamePattern

public void testObjectNamePattern()
                           throws Exception
Throws:
Exception

testObjectNamePropertyPattern

public void testObjectNamePropertyPattern()
                                   throws Exception
Throws:
Exception

testObjectNameRawPropertyPattern

public void testObjectNameRawPropertyPattern()
                                      throws Exception
Throws:
Exception

testOpenDataException

public void testOpenDataException()
                           throws Exception
Throws:
Exception

testOpenMBeanAttributeInfoSupportMinMax

public void testOpenMBeanAttributeInfoSupportMinMax()
                                             throws Exception
Throws:
Exception

testOpenMBeanAttributeInfoSupportLegal

public void testOpenMBeanAttributeInfoSupportLegal()
                                            throws Exception
Throws:
Exception

testOpenMBeanConstructorInfoSupport

public void testOpenMBeanConstructorInfoSupport()
                                         throws Exception
Throws:
Exception

testOpenMBeanInfoSupport

public void testOpenMBeanInfoSupport()
                              throws Exception
Throws:
Exception

testOpenMBeanOperationInfoSupport

public void testOpenMBeanOperationInfoSupport()
                                       throws Exception
Throws:
Exception

testOpenMBeanParameterInfoSupportMinMax

public void testOpenMBeanParameterInfoSupportMinMax()
                                             throws Exception
Throws:
Exception

testOpenMBeanParameterInfoSupportLegal

public void testOpenMBeanParameterInfoSupportLegal()
                                            throws Exception
Throws:
Exception

testOperationsException

public void testOperationsException()
                             throws Exception
Throws:
Exception

testReflectionException

public void testReflectionException()
                             throws Exception
Throws:
Exception

testRelationException

public void testRelationException()
                           throws Exception
Throws:
Exception

testRelationNotFoundException

public void testRelationNotFoundException()
                                   throws Exception
Throws:
Exception

testRelationNotification

public void testRelationNotification()
                              throws Exception
Throws:
Exception

testRelationServiceNotRegisteredException

public void testRelationServiceNotRegisteredException()
                                               throws Exception
Throws:
Exception

testRelationTypeNotFoundException

public void testRelationTypeNotFoundException()
                                       throws Exception
Throws:
Exception

testRelationTypeSupport

public void testRelationTypeSupport()
                             throws Exception
Throws:
Exception

testRole

public void testRole()
              throws Exception
Throws:
Exception

testRoleInfo

public void testRoleInfo()
                  throws Exception
Throws:
Exception

testRoleInfoNotFoundException

public void testRoleInfoNotFoundException()
                                   throws Exception
Throws:
Exception

testRoleList

public void testRoleList()
                  throws Exception
Throws:
Exception

testRoleNotFoundException

public void testRoleNotFoundException()
                               throws Exception
Throws:
Exception

testRoleResult

public void testRoleResult()
                    throws Exception
Throws:
Exception

testRoleUnresolved

public void testRoleUnresolved()
                        throws Exception
Throws:
Exception

testRoleUnresolvedList

public void testRoleUnresolvedList()
                            throws Exception
Throws:
Exception

testRuntimeErrorException

public void testRuntimeErrorException()
                               throws Exception
Throws:
Exception

testRuntimeMBeanException

public void testRuntimeMBeanException()
                               throws Exception
Throws:
Exception

testRuntimeOperationsException

public void testRuntimeOperationsException()
                                    throws Exception
Throws:
Exception

testServiceNotFoundException

public void testServiceNotFoundException()
                                  throws Exception
Throws:
Exception

testSimpleType

public void testSimpleType()
                    throws Exception
Throws:
Exception

testStringValueExp

public void testStringValueExp()
                        throws Exception
Throws:
Exception

testTabularDataSupport

public void testTabularDataSupport()
                            throws Exception
Throws:
Exception

testTabularType

public void testTabularType()
                     throws Exception
Throws:
Exception

testTimerAlarmClockNotification

public void testTimerAlarmClockNotification()
                                     throws Exception
Throws:
Exception

testTimerNotification

public void testTimerNotification()
                           throws Exception
Throws:
Exception

testXMLParseException

public void testXMLParseException()
                           throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.