|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.apache.commons.beanutils.bugs.Jira61TestCase
public class Jira61TestCase
Test case for Jira issue# BEANUTILS-61.
See https://issues.apache.org/jira/browse/BEANUTILS-61WrapDynaBean
is a secial case for the PropertyUtils's
isReadable() and isWriteable() methods - since the bean being
wrapped may have read-only or write-only properties (unlike
regular DynaBeans.
Constructor Summary | |
---|---|
Jira61TestCase(String name)
Create a test case with the specified name. |
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 |
---|
public Jira61TestCase(String name)
name
- The name of the testMethod Detail |
---|
public static void main(String[] args)
args
- Argumentspublic static junit.framework.Test suite()
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testIssue_BEANUTILS_61_PropertyUtils_isReadable()
PropertyUtils.isReadable(Object, String)
for simple properties.
public void testIssue_BEANUTILS_61_PropertyUtils_isWriteable()
PropertyUtils.isWriteable(Object, String)
for simple properties.
public void testIssue_BEANUTILS_61_PropertyUtils_isReadable_Indexed()
PropertyUtils.isReadable(Object, String)
for indexed properties.
public void testIssue_BEANUTILS_61_PropertyUtils_isReadable_Mapped()
PropertyUtils.isReadable(Object, String)
for mapped properties.
public void testIssue_BEANUTILS_61_PropertyUtils_isWriteable_Indexed()
PropertyUtils.isWriteable(Object, String)
for indexed properties.
public void testIssue_BEANUTILS_61_PropertyUtils_isWriteable_Mapped()
PropertyUtils.isWriteable(Object, String)
for mapped properties.
public void testIssue_BEANUTILS_61_PropertyUtils_getProperty()
PropertyUtils.getProperty(Object, String)
for simple properties.
public void testIssue_BEANUTILS_61_PropertyUtils_setProperty()
PropertyUtils.setProperty(Object, String, Object)
for simple properties.
public void testIssue_BEANUTILS_61_PropertyUtils_getProperty_Indexed()
PropertyUtils.getProperty(Object, String)
for indexed properties.
public void testIssue_BEANUTILS_61_PropertyUtils_setProperty_Indexed()
PropertyUtils.setProperty(Object, String, Object)
for indexed properties.
public void testIssue_BEANUTILS_61_PropertyUtils_getProperty_Mapped()
PropertyUtils.getProperty(Object, String)
for mapped properties.
public void testIssue_BEANUTILS_61_PropertyUtils_setProperty_Mapped()
PropertyUtils.setProperty(Object, String, Object)
for mapped properties.
public void testIssue_BEANUTILS_61_PropertyUtils_copyProperties_to_WrapDynaBean()
PropertyUtils.copyProperties(Object, Object)
to a read-only WrapDynaBean property.
public void testIssue_BEANUTILS_61_PropertyUtils_copyProperties_from_WrapDynaBean()
PropertyUtils.copyProperties(Object, Object)
to a read-only WrapDynaBean property.
public void testIssue_BEANUTILS_61_BeanUtils_copyProperties_to_WrapDynaBean()
BeanUtils.copyProperties(Object, Object)
to a read-only WrapDynaBean property.
public void testIssue_BEANUTILS_61_BeanUtils_copyProperties_from_WrapDynaBean()
BeanUtils.copyProperties(Object, Object)
to a read-only WrapDynaBean property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |