org.apache.commons.beanutils.bugs
Class Jira18TestCase

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

public class Jira18TestCase
extends junit.framework.TestCase

Test case for Jira issue# BEANUTILS-18.

See https://issues.apache.org/jira/browse/BEANUTILS-18

This test case demonstrates the issue.

Version:
$Revision: 556237 $ $Date: 2007-07-14 03:27:18 -0400 (Sat, 14 Jul 2007) $

Constructor Summary
Jira18TestCase(String name)
          Create a test case with the specified name.
 
Method Summary
static void main(String[] args)
          Run the Test.
protected  void setUp()
          Set up.
static junit.framework.Test suite()
          Create a test suite for this test.
protected  void tearDown()
          Tear Down.
 void testIssue_BEANUTILS_18_PropertyUtils_getProperty_Indexed()
          Test PropertyUtils.getProperty(Object, String) for indexed properties.
 void testIssue_BEANUTILS_18_PropertyUtils_getProperty_Mapped()
          Test PropertyUtils.getProperty(Object, String) for mapped properties.
 void testIssue_BEANUTILS_18_PropertyUtils_getProperty()
          Test PropertyUtils.getProperty(Object, String) for simple properties.
 void testIssue_BEANUTILS_18_PropertyUtils_isReadable_Indexed()
          Test PropertyUtils.isReadable(Object, String) for indexed properties.
 void testIssue_BEANUTILS_18_PropertyUtils_isReadable_Mapped()
          Test PropertyUtils.isReadable(Object, String) for Mapped properties.
 void testIssue_BEANUTILS_18_PropertyUtils_isReadable()
          Test PropertyUtils.isReadable(Object, String) for simple properties.
 void testIssue_BEANUTILS_18_PropertyUtils_isWriteable_Indexed()
          Test PropertyUtils.isWriteable(Object, String) for indexed properties.
 void testIssue_BEANUTILS_18_PropertyUtils_isWriteable_Mapped()
          Test PropertyUtils.isWriteable(Object, String) for Mapped properties.
 void testIssue_BEANUTILS_18_PropertyUtils_isWriteable()
          Test PropertyUtils.isWriteable(Object, String) for simple properties.
 void testIssue_BEANUTILS_18_PropertyUtils_setProperty_Indexed()
          Test PropertyUtils.setProperty(Object, String, Object) for indexed properties.
 void testIssue_BEANUTILS_18_PropertyUtils_setProperty_Mapped()
          Test PropertyUtils.setProperty(Object, String, Object) for mapped properties.
 void testIssue_BEANUTILS_18_PropertyUtils_setProperty()
          Test PropertyUtils.setProperty(Object, String, Object) for simple properties.
 
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

Jira18TestCase

public Jira18TestCase(String name)
Create a test case with the specified name.

Parameters:
name - The name of the test
Method Detail

main

public static void main(String[] args)
Run the Test.

Parameters:
args - Arguments

suite

public static junit.framework.Test suite()
Create a test suite for this test.

Returns:
a test suite

setUp

protected void setUp()
              throws Exception
Set up.

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

tearDown

protected void tearDown()
                 throws Exception
Tear Down.

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

testIssue_BEANUTILS_18_PropertyUtils_isReadable

public void testIssue_BEANUTILS_18_PropertyUtils_isReadable()
Test PropertyUtils.isReadable(Object, String) for simple properties.


testIssue_BEANUTILS_18_PropertyUtils_isWriteable

public void testIssue_BEANUTILS_18_PropertyUtils_isWriteable()
Test PropertyUtils.isWriteable(Object, String) for simple properties.


testIssue_BEANUTILS_18_PropertyUtils_isReadable_Indexed

public void testIssue_BEANUTILS_18_PropertyUtils_isReadable_Indexed()
Test PropertyUtils.isReadable(Object, String) for indexed properties.


testIssue_BEANUTILS_18_PropertyUtils_isWriteable_Indexed

public void testIssue_BEANUTILS_18_PropertyUtils_isWriteable_Indexed()
Test PropertyUtils.isWriteable(Object, String) for indexed properties.


testIssue_BEANUTILS_18_PropertyUtils_isReadable_Mapped

public void testIssue_BEANUTILS_18_PropertyUtils_isReadable_Mapped()
Test PropertyUtils.isReadable(Object, String) for Mapped properties.


testIssue_BEANUTILS_18_PropertyUtils_isWriteable_Mapped

public void testIssue_BEANUTILS_18_PropertyUtils_isWriteable_Mapped()
Test PropertyUtils.isWriteable(Object, String) for Mapped properties.


testIssue_BEANUTILS_18_PropertyUtils_getProperty

public void testIssue_BEANUTILS_18_PropertyUtils_getProperty()
Test PropertyUtils.getProperty(Object, String) for simple properties.


testIssue_BEANUTILS_18_PropertyUtils_setProperty

public void testIssue_BEANUTILS_18_PropertyUtils_setProperty()
Test PropertyUtils.setProperty(Object, String, Object) for simple properties.


testIssue_BEANUTILS_18_PropertyUtils_getProperty_Indexed

public void testIssue_BEANUTILS_18_PropertyUtils_getProperty_Indexed()
Test PropertyUtils.getProperty(Object, String) for indexed properties.


testIssue_BEANUTILS_18_PropertyUtils_setProperty_Indexed

public void testIssue_BEANUTILS_18_PropertyUtils_setProperty_Indexed()
Test PropertyUtils.setProperty(Object, String, Object) for indexed properties.


testIssue_BEANUTILS_18_PropertyUtils_getProperty_Mapped

public void testIssue_BEANUTILS_18_PropertyUtils_getProperty_Mapped()
Test PropertyUtils.getProperty(Object, String) for mapped properties.


testIssue_BEANUTILS_18_PropertyUtils_setProperty_Mapped

public void testIssue_BEANUTILS_18_PropertyUtils_setProperty_Mapped()
Test PropertyUtils.setProperty(Object, String, Object) for mapped properties.



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