org.jboss.test.jmx.compliance.metadata
Class MBeanAttributeInfoTEST

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.test.jmx.compliance.metadata.MBeanAttributeInfoTEST
All Implemented Interfaces:
junit.framework.Test

public class MBeanAttributeInfoTEST
extends junit.framework.TestCase

Tests MBeanAttributeInfo.

Version:
$Revision: 1.1 $
Author:
Juha Lindfors.

Constructor Summary
MBeanAttributeInfoTEST(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()
           
 
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

MBeanAttributeInfoTEST

public MBeanAttributeInfoTEST(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 Exception
Throws:
Exception

testConstructorWithPrimitiveBooleanIsIs

public void testConstructorWithPrimitiveBooleanIsIs()
                                             throws Exception
Throws:
Exception

testConstructorWithObjectBooleanIsIs

public void testConstructorWithObjectBooleanIsIs()
                                          throws Exception
Throws:
Exception

testHashCode

public void testHashCode()
                  throws Exception
Throws:
Exception

testEquals

public void testEquals()
                throws Exception
Throws:
Exception


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