org.apache.commons.beanutils
Class BeanUtils2TestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.beanutils.BeanUtilsTestCase
              extended by org.apache.commons.beanutils.BeanUtils2TestCase
All Implemented Interfaces:
junit.framework.Test

public class BeanUtils2TestCase
extends BeanUtilsTestCase

Test Case for the BeanUtilsBean2.

Version:
$Revision: 552381 $

Field Summary
 
Fields inherited from class org.apache.commons.beanutils.BeanUtilsTestCase
bean, describes, testCalendar, testStringDate, testUtilDate
 
Constructor Summary
BeanUtils2TestCase(String name)
          Construct a new instance of this test case.
 
Method Summary
 void setUp()
          Set up instance variables required by this test case.
static junit.framework.Test suite()
          Return the tests included in this test suite.
 void tearDown()
          Tear down instance variables required by this test case.
 void testCopyPropertyConvertToString()
          Test copyProperty() converting to a String.
 void testCopyPropertyConvertToStringArray()
          Test copyProperty() converting to a String.
 void testCopyPropertyConvertToStringIndexed()
          Test copyProperty() converting to a String on indexed property
 void testGetArrayPropertyDate()
          Test getArrayProperty() converting to a String.
 void testGetIndexedPropertyDate()
          Test getArrayProperty() converting to a String.
 void testGetSimplePropertyDate()
          Test getSimpleProperty() converting to a String.
 void testSetPropertyConvertToString()
          Test setProperty() converting to a String.
 void testSetPropertyConvertToStringArray()
          Test setProperty() converting to a String array.
 void testSetPropertyConvertToStringIndexed()
          Test setProperty() converting to a String on indexed property
 
Methods inherited from class org.apache.commons.beanutils.BeanUtilsTestCase
checkIntArray, checkMap, setUpShared, testArrayPropertyConversion, testCopyPropertiesDynaBean, testCopyPropertiesMap, testCopyPropertiesStandard, testCopyPropertyByte, testCopyPropertyConvert, testCopyPropertyConvertFromString, testCopyPropertyDouble, testCopyPropertyFloat, testCopyPropertyInteger, testCopyPropertyLong, testCopyPropertyNestedIndexedArray, testCopyPropertyNestedMappedMap, testCopyPropertyNestedSimple, testCopyPropertyNull, testCopyPropertyShort, testCopyPropertyWriteOnly, testDescribe, testGetArrayProperty, testGetGeneralProperty, testGetIndexedProperty1, testGetIndexedProperty2, testGetNestedProperty, testGetSimpleProperty, testInitCause, testMappedProperty, testPopulateArrayElements, testPopulateArrayProperties, testPopulateMapped, testPopulateNested, testPopulateScalar, testSeparateInstances, testSetMappedMap, testSetPropertyByte, testSetPropertyConvert, testSetPropertyConvertFromString, testSetPropertyDouble, testSetPropertyFloat, testSetPropertyInteger, testSetPropertyLong, testSetPropertyNull, testSetPropertyNullValues, testSetPropertyOnPrimitiveWrappers, testSetPropertyShort, testSetPropertyStringToArray, testSetPropertyWriteOnly
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanUtils2TestCase

public BeanUtils2TestCase(String name)
Construct a new instance of this test case.

Parameters:
name - Name of the test case
Method Detail

setUp

public void setUp()
Set up instance variables required by this test case.

Overrides:
setUp in class BeanUtilsTestCase

suite

public static junit.framework.Test suite()
Return the tests included in this test suite.


tearDown

public void tearDown()
Tear down instance variables required by this test case.

Overrides:
tearDown in class BeanUtilsTestCase

testCopyPropertyConvertToString

public void testCopyPropertyConvertToString()
Test copyProperty() converting to a String.

Overrides:
testCopyPropertyConvertToString in class BeanUtilsTestCase

testCopyPropertyConvertToStringArray

public void testCopyPropertyConvertToStringArray()
Test copyProperty() converting to a String.

Overrides:
testCopyPropertyConvertToStringArray in class BeanUtilsTestCase

testCopyPropertyConvertToStringIndexed

public void testCopyPropertyConvertToStringIndexed()
Test copyProperty() converting to a String on indexed property

Overrides:
testCopyPropertyConvertToStringIndexed in class BeanUtilsTestCase

testGetArrayPropertyDate

public void testGetArrayPropertyDate()
Test getArrayProperty() converting to a String.

Overrides:
testGetArrayPropertyDate in class BeanUtilsTestCase

testGetIndexedPropertyDate

public void testGetIndexedPropertyDate()
Test getArrayProperty() converting to a String.

Overrides:
testGetIndexedPropertyDate in class BeanUtilsTestCase

testGetSimplePropertyDate

public void testGetSimplePropertyDate()
Test getSimpleProperty() converting to a String.

Overrides:
testGetSimplePropertyDate in class BeanUtilsTestCase

testSetPropertyConvertToString

public void testSetPropertyConvertToString()
Test setProperty() converting to a String.

Overrides:
testSetPropertyConvertToString in class BeanUtilsTestCase

testSetPropertyConvertToStringArray

public void testSetPropertyConvertToStringArray()
Test setProperty() converting to a String array.

Overrides:
testSetPropertyConvertToStringArray in class BeanUtilsTestCase

testSetPropertyConvertToStringIndexed

public void testSetPropertyConvertToStringIndexed()
Test setProperty() converting to a String on indexed property

Overrides:
testSetPropertyConvertToStringIndexed in class BeanUtilsTestCase


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.