test.compliance.metadata
Class MBeanOperationInfoTEST

java.lang.Object
  extended byTestCase
      extended bytest.compliance.metadata.MBeanOperationInfoTEST

public class MBeanOperationInfoTEST
extends TestCase

Tests MBeanOperationInfo.

See Also:
Serialized Form

Constructor Summary
MBeanOperationInfoTEST(java.lang.String s)
           
 
Method Summary
 void testClone()
          Tests the clone operation.
 void testConstructor()
          Tests MBeanOperationInfo(String name, String descr, MBeanParameterInfo[] sign, String returnType, int impact) constructor.
 void testConstructorWithMethod()
          Tests MBeanOperationInfo(String descr, Method m) constructor.
 void testGetDescriptionNull()
          Tests MBeanOperationInfo creation and getDescription() accessor with null description.
 void testGetImpactInvalid()
          Tests MBeanOperationInfo creation and getImpact() accessor with invalid value.
 void testGetNameEmpty()
          Tests MBeanOperationInfo creation and getName() accessor with empty name.
 void testGetNameInvalidType()
           
 void testGetNameNull()
          Tests MBeanOperationInfo creation and getName() accessor with null name.
 void testGetReturnTypeEmpty()
          Tests MBeanOperationInfo creation and getReturnType() with empty return type string.
 void testGetReturnTypeInvalid()
           
 void testGetReturnTypeNull()
          Tests MBeanOperationInfo creation and getReturnType() with null return type.
 void testGetSignatureEmpty()
          Tests MBeanOperationInfo creation and getSignature() with empty signature array.
 void testGetSignatureNull()
          Tests MBeanOperationInfo creation and getSignature() with null signature.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanOperationInfoTEST

public MBeanOperationInfoTEST(java.lang.String s)
Method Detail

testConstructorWithMethod

public void testConstructorWithMethod()
Tests MBeanOperationInfo(String descr, Method m) constructor.


testConstructor

public void testConstructor()
Tests MBeanOperationInfo(String name, String descr, MBeanParameterInfo[] sign, String returnType, int impact) constructor.


testClone

public void testClone()
Tests the clone operation.


testGetNameEmpty

public void testGetNameEmpty()
Tests MBeanOperationInfo creation and getName() accessor with empty name.


testGetNameNull

public void testGetNameNull()
Tests MBeanOperationInfo creation and getName() accessor with null name.


testGetNameInvalidType

public void testGetNameInvalidType()

testGetDescriptionNull

public void testGetDescriptionNull()
Tests MBeanOperationInfo creation and getDescription() accessor with null description.


testGetImpactInvalid

public void testGetImpactInvalid()
Tests MBeanOperationInfo creation and getImpact() accessor with invalid value.


testGetSignatureNull

public void testGetSignatureNull()
Tests MBeanOperationInfo creation and getSignature() with null signature.


testGetSignatureEmpty

public void testGetSignatureEmpty()
Tests MBeanOperationInfo creation and getSignature() with empty signature array.


testGetReturnTypeEmpty

public void testGetReturnTypeEmpty()
Tests MBeanOperationInfo creation and getReturnType() with empty return type string.


testGetReturnTypeNull

public void testGetReturnTypeNull()
Tests MBeanOperationInfo creation and getReturnType() with null return type.


testGetReturnTypeInvalid

public void testGetReturnTypeInvalid()