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

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

public class MBeanOperationInfoTEST
extends junit.framework.TestCase

Tests MBeanOperationInfo.

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

Constructor Summary
MBeanOperationInfoTEST(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 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 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

MBeanOperationInfoTEST

public MBeanOperationInfoTEST(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.


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()


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