org.jboss.test.jmx.compliance.modelmbean
Class DescriptorTEST

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

public class DescriptorTEST
extends junit.framework.TestCase

Tests the standard required DescriptorSupport implementation.

Version:
$Revision: 1.1 $
Author:
Juha Lindfors., Adrian Brock.

Constructor Summary
DescriptorTEST(String s)
           
 
Method Summary
 void doTestInteger(String field)
           
 void testClone()
           
 void testCopyConstructor()
           
 void testDefaultConstructor()
           
 void testGetFieldNames()
           
 void testGetFields()
           
 void testGetFieldValue()
           
 void testGetFieldValues()
           
 void testIsValidCurrencyTimeLimit()
           
 void testIsValidError()
           
 void testIsValidGetMethod()
           
 void testIsValidLastUpdateTimeStamp()
           
 void testIsValidLog()
           
 void testIsValidMandatory()
           
 void testIsValidPersistPeriod()
           
 void testIsValidPersistPolicy()
           
 void testIsValidRole()
           
 void testIsValidSetMethod()
           
 void testIsValidSeverity()
           
 void testIsValidVisibility()
           
 void testNameEqualsValueConstructor()
           
 void testNameEqualsValueConstructorError()
           
 void testNamesValuesConstructor()
           
 void testRemove()
           
 void testSerialization()
           
 void testSetFieldValue()
           
 void testSetFieldValues()
           
 void testSizeConstructor()
           
 
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

DescriptorTEST

public DescriptorTEST(String s)
Method Detail

testDefaultConstructor

public void testDefaultConstructor()
                            throws Exception
Throws:
Exception

testSizeConstructor

public void testSizeConstructor()
                         throws Exception
Throws:
Exception

testCopyConstructor

public void testCopyConstructor()
                         throws Exception
Throws:
Exception

testNamesValuesConstructor

public void testNamesValuesConstructor()
                                throws Exception
Throws:
Exception

testNameEqualsValueConstructor

public void testNameEqualsValueConstructor()
                                    throws Exception
Throws:
Exception

testNameEqualsValueConstructorError

public void testNameEqualsValueConstructorError()
                                         throws Exception
Throws:
Exception

testGetFieldValue

public void testGetFieldValue()
                       throws Exception
Throws:
Exception

testSetFieldValue

public void testSetFieldValue()
                       throws Exception
Throws:
Exception

testGetFields

public void testGetFields()
                   throws Exception
Throws:
Exception

testGetFieldNames

public void testGetFieldNames()
                       throws Exception
Throws:
Exception

testGetFieldValues

public void testGetFieldValues()
                        throws Exception
Throws:
Exception

testSetFieldValues

public void testSetFieldValues()
                        throws Exception
Throws:
Exception

testClone

public void testClone()
               throws Exception
Throws:
Exception

testRemove

public void testRemove()
                throws Exception
Throws:
Exception

testIsValidMandatory

public void testIsValidMandatory()
                          throws Exception
Throws:
Exception

testIsValidRole

public void testIsValidRole()
                     throws Exception
Throws:
Exception

testIsValidGetMethod

public void testIsValidGetMethod()
                          throws Exception
Throws:
Exception

testIsValidSetMethod

public void testIsValidSetMethod()
                          throws Exception
Throws:
Exception

testIsValidPersistPeriod

public void testIsValidPersistPeriod()
                              throws Exception
Throws:
Exception

testIsValidCurrencyTimeLimit

public void testIsValidCurrencyTimeLimit()
                                  throws Exception
Throws:
Exception

testIsValidLastUpdateTimeStamp

public void testIsValidLastUpdateTimeStamp()
                                    throws Exception
Throws:
Exception

testIsValidLog

public void testIsValidLog()
                    throws Exception
Throws:
Exception

testIsValidVisibility

public void testIsValidVisibility()
                           throws Exception
Throws:
Exception

testIsValidSeverity

public void testIsValidSeverity()
                         throws Exception
Throws:
Exception

testIsValidError

public void testIsValidError()
                      throws Exception
Throws:
Exception

testIsValidPersistPolicy

public void testIsValidPersistPolicy()
                              throws Exception
Throws:
Exception

testSerialization

public void testSerialization()
                       throws Exception
Throws:
Exception

doTestInteger

public void doTestInteger(String field)


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