test.compliance.metadata
Class MBeanAttributeInfoTEST

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

public class MBeanAttributeInfoTEST
extends TestCase

Tests MBeanAttributeInfo.

See Also:
Serialized Form

Constructor Summary
MBeanAttributeInfoTEST(java.lang.String s)
           
 
Method Summary
 void testConstructorWithAccessorMethods()
          Tests MBeanAttributeInfo(String name, String descr, Method getter, Method setter) constructor.
 void testConstructorWithInvalidGetterMethod()
          Tests MBeanAttributeInfo(String name, String descr, Method getter, Method setter) with invalid getter method.
 void testConstructorWithInvalidGetterMethod2()
          Tests MBeanAttributeInfo(String name, String descr, Method getter, Method setter) with invalid getter method (void return type).
 void testConstructorWithMisplacedAccessorMethods()
          Tests MBeanAttributeInfo(String name, String descr, Method getter, Method setter) with misplaced accessor methods.
 void testConstructorWithNonBooleanIsIs()
           
 void testConstructorWithObjectBooleanIsIs()
           
 void testConstructorWithPrimitiveBooleanIsIs()
           
 void testEquals()
           
 void testHashCode()
           
 void testInvalidJavaName()
           
 void testInvalidJavaType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanAttributeInfoTEST

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

testConstructorWithAccessorMethods

public void testConstructorWithAccessorMethods()
Tests MBeanAttributeInfo(String name, String descr, Method getter, Method setter) constructor.


testConstructorWithMisplacedAccessorMethods

public void testConstructorWithMisplacedAccessorMethods()
Tests MBeanAttributeInfo(String name, String descr, Method getter, Method setter) with misplaced accessor methods.


testConstructorWithInvalidGetterMethod

public void testConstructorWithInvalidGetterMethod()
Tests MBeanAttributeInfo(String name, String descr, Method getter, Method setter) with invalid getter method.


testConstructorWithInvalidGetterMethod2

public void testConstructorWithInvalidGetterMethod2()
Tests MBeanAttributeInfo(String name, String descr, Method getter, Method setter) with invalid getter method (void return type).


testConstructorWithNonBooleanIsIs

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

testConstructorWithPrimitiveBooleanIsIs

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

testConstructorWithObjectBooleanIsIs

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

testInvalidJavaName

public void testInvalidJavaName()

testInvalidJavaType

public void testInvalidJavaType()

testHashCode

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

testEquals

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