|
|||||||||
| Home >> All >> org >> apache >> commons >> [ beanutils overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.beanutils
Class BeanToPropertyValueTransformerTest

java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.beanutils.BeanToPropertyValueTransformerTest
- All Implemented Interfaces:
- junit.framework.Test
- public class BeanToPropertyValueTransformerTest
- extends junit.framework.TestCase
Test cases for BeanToPropertyValueTransformer.
| Field Summary | |
private static java.lang.Boolean |
expectedBooleanValue
|
private static java.lang.Byte |
expectedByteValue
|
private static java.lang.Double |
expectedDoubleValue
|
private static java.lang.Float |
expectedFloatValue
|
private static java.lang.Integer |
expectedIntegerValue
|
private static java.lang.Long |
expectedLongValue
|
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
BeanToPropertyValueTransformerTest(java.lang.String name)
Constructor for BeanToPropertyValueTransformerTest. |
|
| Method Summary | |
void |
testTransformWithIndexedProperty()
Test transform with indexed property. |
void |
testTransformWithInvalidProperty()
Test transform with invalid property. |
void |
testTransformWithMappedProperty()
Test transform with mapped property. |
void |
testTransformWithNestedIndexedProperty()
Test transform with nested indexed property. |
void |
testTransformWithNestedProperty()
Test transform with nested property. |
void |
testTransformWithNullInPath()
Test transform with null in property path. |
void |
testTransformWithNullInPathAndIgnoreTrue()
Test transform with null in property path and ignore = true. |
void |
testTransformWithReadOnlyProperty()
Test transform with read only property. |
void |
testTransformWithSimpleBooleanProperty()
Test transform with simple boolean property. |
void |
testTransformWithSimpleByteProperty()
Test transform with simple byte property. |
void |
testTransformWithSimpleDoubleProperty()
Test transform with simple double property. |
void |
testTransformWithSimpleFloatProperty()
Test transform with simple float property. |
void |
testTransformWithSimpleIntProperty()
Test transform with simple int property. |
void |
testTransformWithSimpleLongProperty()
Test transform with simple long property. |
void |
testTransformWithSimpleStringProperty()
Test transform with simple String property. |
void |
testTransformWithSimpleStringPropertyAndNullValue()
Test transform with simple String property and null value. |
void |
testTransformWithWriteOnlyProperty()
Test transform with write only property. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
expectedIntegerValue
private static final java.lang.Integer expectedIntegerValue
expectedLongValue
private static final java.lang.Long expectedLongValue
expectedFloatValue
private static final java.lang.Float expectedFloatValue
expectedDoubleValue
private static final java.lang.Double expectedDoubleValue
expectedBooleanValue
private static final java.lang.Boolean expectedBooleanValue
expectedByteValue
private static final java.lang.Byte expectedByteValue
| Constructor Detail |
BeanToPropertyValueTransformerTest
public BeanToPropertyValueTransformerTest(java.lang.String name)
- Constructor for BeanToPropertyValueTransformerTest.
| Method Detail |
testTransformWithSimpleStringProperty
public void testTransformWithSimpleStringProperty()
- Test transform with simple String property.
testTransformWithSimpleStringPropertyAndNullValue
public void testTransformWithSimpleStringPropertyAndNullValue()
- Test transform with simple String property and null value.
testTransformWithSimpleIntProperty
public void testTransformWithSimpleIntProperty()
- Test transform with simple int property.
testTransformWithSimpleLongProperty
public void testTransformWithSimpleLongProperty()
- Test transform with simple long property.
testTransformWithSimpleFloatProperty
public void testTransformWithSimpleFloatProperty()
- Test transform with simple float property.
testTransformWithSimpleDoubleProperty
public void testTransformWithSimpleDoubleProperty()
- Test transform with simple double property.
testTransformWithSimpleByteProperty
public void testTransformWithSimpleByteProperty()
- Test transform with simple byte property.
testTransformWithSimpleBooleanProperty
public void testTransformWithSimpleBooleanProperty()
- Test transform with simple boolean property.
testTransformWithWriteOnlyProperty
public void testTransformWithWriteOnlyProperty()
- Test transform with write only property.
testTransformWithReadOnlyProperty
public void testTransformWithReadOnlyProperty()
- Test transform with read only property.
testTransformWithInvalidProperty
public void testTransformWithInvalidProperty()
- Test transform with invalid property.
testTransformWithNestedProperty
public void testTransformWithNestedProperty()
- Test transform with nested property.
testTransformWithMappedProperty
public void testTransformWithMappedProperty()
- Test transform with mapped property.
testTransformWithIndexedProperty
public void testTransformWithIndexedProperty()
- Test transform with indexed property.
testTransformWithNestedIndexedProperty
public void testTransformWithNestedIndexedProperty()
- Test transform with nested indexed property.
testTransformWithNullInPath
public void testTransformWithNullInPath()
- Test transform with null in property path.
testTransformWithNullInPathAndIgnoreTrue
public void testTransformWithNullInPathAndIgnoreTrue()
- Test transform with null in property path and ignore = true.
|
|||||||||
| Home >> All >> org >> apache >> commons >> [ beanutils overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC