org.apache.commons.beanutils
Class DynaPropertyTestCase

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

public class DynaPropertyTestCase
extends junit.framework.TestCase

Test case for DynaProperty.

Version:
$Revision: 658830 $ $Date: 2008-05-21 15:56:21 -0400 (Wed, 21 May 2008) $

Field Summary
private  DynaProperty testProperty1Duplicate
           
private  DynaProperty testProperty2Duplicate
           
private  DynaProperty testProperty3Duplicate
           
private  DynaProperty testPropertyWithName
           
private  DynaProperty testPropertyWithNameAndType
           
private  DynaProperty testPropertyWithNameAndTypeAndContentType
           
 
Constructor Summary
DynaPropertyTestCase(String name)
          Construct a new instance of this test case.
 
Method Summary
protected  void setUp()
          Set up instance variables required by this test case.
static junit.framework.Test suite()
          Return the tests included in this test suite.
protected  void tearDown()
          Tear down instance variables required by this test case.
 void testEqualsObject()
          Class under test for boolean equals(Object)
 void testHashCode()
          Class under test for int hashCode(Object)
 
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
 

Field Detail

testPropertyWithName

private DynaProperty testPropertyWithName

testProperty1Duplicate

private DynaProperty testProperty1Duplicate

testPropertyWithNameAndType

private DynaProperty testPropertyWithNameAndType

testProperty2Duplicate

private DynaProperty testProperty2Duplicate

testPropertyWithNameAndTypeAndContentType

private DynaProperty testPropertyWithNameAndTypeAndContentType

testProperty3Duplicate

private DynaProperty testProperty3Duplicate
Constructor Detail

DynaPropertyTestCase

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

Parameters:
name - Name of the test case
Method Detail

suite

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

Returns:
a test suite

setUp

protected void setUp()
              throws Exception
Set up instance variables required by this test case.

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Tear down instance variables required by this test case.

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testHashCode

public void testHashCode()
Class under test for int hashCode(Object)


testEqualsObject

public void testEqualsObject()
Class under test for boolean equals(Object)



Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.