Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.beanutils
Class BeanPropertyValueChangeClosureTest  view BeanPropertyValueChangeClosureTest download BeanPropertyValueChangeClosureTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.beanutils.BeanPropertyValueChangeClosureTest
All Implemented Interfaces:
junit.framework.Test

public class BeanPropertyValueChangeClosureTest
extends junit.framework.TestCase

Test cases for BeanPropertyValueChangeClosure.


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
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
BeanPropertyValueChangeClosureTest(java.lang.String name)
          Constructor for BeanPropertyValueChangeClosureTest.
 
Method Summary
 void testExecuteWithIndexedProperty()
          Test execute with indexed property.
 void testExecuteWithInvalidPropertyName()
          Test execute with an invalid property name.
 void testExecuteWithMappedProperty()
          Test execute with mapped property.
 void testExecuteWithNestedProperty()
          Test execute with a nested property.
 void testExecuteWithNullInPropertyPath()
          Test execute with a nested property and null in the property path.
 void testExecuteWithNullInPropertyPathAngIgnoreTrue()
          Test execute with a nested property and null in the property path and ignoreNull = true.
 void testExecuteWithReadOnlyProperty()
          Test execute with read only property.
 void testExecuteWithSimpleBooleanPropertyAndBooleanValue()
          Test execute with simple boolean property and Boolean value.
 void testExecuteWithSimpleBooleanPropertyAndStringValue()
          Test execute with simple boolean property and String value.
 void testExecuteWithSimpleBytePropertyAndByteValue()
          Test execute with simple byte property and Byte value.
 void testExecuteWithSimpleBytePropertyAndStringValue()
          Test execute with simple boolean property and String value.
 void testExecuteWithSimpleDoublePropertyAndDoubleValue()
          Test execute with simple double property and Double value.
 void testExecuteWithSimpleDoublePropertyAndFloatValue()
          Test execute with simple double property and Float value.
 void testExecuteWithSimpleDoublePropertyAndIntegerValue()
          Test execute with simple double property and Integer value.
 void testExecuteWithSimpleDoublePropertyAndStringValue()
          Test execute with simple double property and String value.
 void testExecuteWithSimpleFloatPropertyAndDoubleValue()
          Test execute with simple float property and Double value.
 void testExecuteWithSimpleFloatPropertyAndFloatValue()
          Test execute with simple float property and Float value.
 void testExecuteWithSimpleFloatPropertyAndIntegerValue()
          Test execute with simple float property and Integer value.
 void testExecuteWithSimpleFloatPropertyAndStringValue()
          Test execute with simple float property and String value.
 void testExecuteWithSimpleIntPropertyAndDoubleValue()
          Test execute with simple int property and Double value.
 void testExecuteWithSimpleIntPropertyAndFloatValue()
          Test execute with simple int property and Float value.
 void testExecuteWithSimpleIntPropertyAndIntegerValue()
          Test execute with simple int property and Integer value.
 void testExecuteWithSimpleIntPropertyAndStringValue()
          Test execute with simple int property and String value.
 void testExecuteWithSimplePrimitivePropertyAndNullValue()
          Test execute with simple primitive property and null value.
 void testExecuteWithSimpleStringProperty()
          Test execute with a simple String property.
 void testExecuteWithWriteOnlyProperty()
          Test execute 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

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

BeanPropertyValueChangeClosureTest

public BeanPropertyValueChangeClosureTest(java.lang.String name)
Constructor for BeanPropertyValueChangeClosureTest.

Method Detail

testExecuteWithSimpleFloatPropertyAndFloatValue

public void testExecuteWithSimpleFloatPropertyAndFloatValue()
Test execute with simple float property and Float value.


testExecuteWithSimpleFloatPropertyAndStringValue

public void testExecuteWithSimpleFloatPropertyAndStringValue()
Test execute with simple float property and String value.


testExecuteWithSimpleFloatPropertyAndDoubleValue

public void testExecuteWithSimpleFloatPropertyAndDoubleValue()
Test execute with simple float property and Double value.


testExecuteWithSimpleFloatPropertyAndIntegerValue

public void testExecuteWithSimpleFloatPropertyAndIntegerValue()
Test execute with simple float property and Integer value.


testExecuteWithSimpleDoublePropertyAndDoubleValue

public void testExecuteWithSimpleDoublePropertyAndDoubleValue()
Test execute with simple double property and Double value.


testExecuteWithSimpleDoublePropertyAndStringValue

public void testExecuteWithSimpleDoublePropertyAndStringValue()
Test execute with simple double property and String value.


testExecuteWithSimpleDoublePropertyAndFloatValue

public void testExecuteWithSimpleDoublePropertyAndFloatValue()
Test execute with simple double property and Float value.


testExecuteWithSimpleDoublePropertyAndIntegerValue

public void testExecuteWithSimpleDoublePropertyAndIntegerValue()
Test execute with simple double property and Integer value.


testExecuteWithSimpleIntPropertyAndDoubleValue

public void testExecuteWithSimpleIntPropertyAndDoubleValue()
Test execute with simple int property and Double value.


testExecuteWithSimpleIntPropertyAndStringValue

public void testExecuteWithSimpleIntPropertyAndStringValue()
Test execute with simple int property and String value.


testExecuteWithSimpleIntPropertyAndFloatValue

public void testExecuteWithSimpleIntPropertyAndFloatValue()
Test execute with simple int property and Float value.


testExecuteWithSimpleIntPropertyAndIntegerValue

public void testExecuteWithSimpleIntPropertyAndIntegerValue()
Test execute with simple int property and Integer value.


testExecuteWithSimpleBooleanPropertyAndBooleanValue

public void testExecuteWithSimpleBooleanPropertyAndBooleanValue()
Test execute with simple boolean property and Boolean value.


testExecuteWithSimpleBooleanPropertyAndStringValue

public void testExecuteWithSimpleBooleanPropertyAndStringValue()
Test execute with simple boolean property and String value.


testExecuteWithSimpleBytePropertyAndByteValue

public void testExecuteWithSimpleBytePropertyAndByteValue()
Test execute with simple byte property and Byte value.


testExecuteWithSimpleBytePropertyAndStringValue

public void testExecuteWithSimpleBytePropertyAndStringValue()
Test execute with simple boolean property and String value.


testExecuteWithSimplePrimitivePropertyAndNullValue

public void testExecuteWithSimplePrimitivePropertyAndNullValue()
Test execute with simple primitive property and null value.


testExecuteWithReadOnlyProperty

public void testExecuteWithReadOnlyProperty()
Test execute with read only property.


testExecuteWithWriteOnlyProperty

public void testExecuteWithWriteOnlyProperty()
Test execute with write only property.


testExecuteWithNestedProperty

public void testExecuteWithNestedProperty()
Test execute with a nested property.


testExecuteWithNullInPropertyPath

public void testExecuteWithNullInPropertyPath()
Test execute with a nested property and null in the property path.


testExecuteWithNullInPropertyPathAngIgnoreTrue

public void testExecuteWithNullInPropertyPathAngIgnoreTrue()
Test execute with a nested property and null in the property path and ignoreNull = true.


testExecuteWithIndexedProperty

public void testExecuteWithIndexedProperty()
Test execute with indexed property.


testExecuteWithMappedProperty

public void testExecuteWithMappedProperty()
Test execute with mapped property.


testExecuteWithSimpleStringProperty

public void testExecuteWithSimpleStringProperty()
Test execute with a simple String property.


testExecuteWithInvalidPropertyName

public void testExecuteWithInvalidPropertyName()
Test execute with an invalid property name.