test.compliance.modelmbean
Class DescriptorTEST

java.lang.Object
  extended byTestCase
      extended bytest.compliance.modelmbean.DescriptorTEST

public class DescriptorTEST
extends TestCase

Tests the standard required DescriptorSupport implementation.

See Also:
Serialized Form

Constructor Summary
DescriptorTEST(java.lang.String s)
           
 
Method Summary
 void doTestInteger(java.lang.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptorTEST

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

testDefaultConstructor

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

testSizeConstructor

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

testCopyConstructor

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

testNamesValuesConstructor

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

testNameEqualsValueConstructor

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

testNameEqualsValueConstructorError

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

testGetFieldValue

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

testSetFieldValue

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

testGetFields

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

testGetFieldNames

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

testGetFieldValues

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

testSetFieldValues

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

testClone

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

testRemove

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

testIsValidMandatory

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

testIsValidRole

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

testIsValidGetMethod

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

testIsValidSetMethod

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

testIsValidPersistPeriod

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

testIsValidCurrencyTimeLimit

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

testIsValidLastUpdateTimeStamp

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

testIsValidLog

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

testIsValidVisibility

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

testIsValidSeverity

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

testIsValidError

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

testIsValidPersistPolicy

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

testSerialization

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

doTestInteger

public void doTestInteger(java.lang.String field)