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

Quick Search    Search Deep

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

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

public class BeanPropertyValueEqualsPredicateTest
extends junit.framework.TestCase

Test cases for BeanPropertyValueEqualsPredicateTest.


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
BeanPropertyValueEqualsPredicateTest(java.lang.String name)
          Constructor for BeanPropertyValueEqualsPredicateTest.
 
Method Summary
 void testEvaluateWithBooleanProperty()
          Test evaluate with boolean property.
 void testEvaluateWithByteProperty()
          Test evaluate with byte property.
 void testEvaluateWithDoubleProperty()
          Test evaluate with double property.
 void testEvaluateWithFloatProperty()
          Test evaluate with float property.
 void testEvaluateWithIndexedProperty()
          Test evaluate with indexed property.
 void testEvaluateWithIntProperty()
          Test evaluate with int property.
 void testEvaluateWithInvalidPropertyName()
          Test evaluate with an invalid property name.
 void testEvaluateWithMappedProperty()
          Test evaluate with mapped property.
 void testEvaluateWithNestedMappedProperty()
          Test evaluate with nested mapped property.
 void testEvaluateWithNestedProperty()
          Test evaluate with nested property.
 void testEvaluateWithNullInPath()
          Test evaluate with null in property path and ignore=false.
 void testEvaluateWithNullInPathAndIgnoreTrue()
          Test evaluate with null in property path and ignore=true.
 void testEvaluateWithPrimitiveAndNull()
          Test evaluate with primitive property and null value.
 void testEvaluateWithReadOnlyProperty()
          Test evaluate with read only property.
 void testEvaluateWithSimpleStringProperty()
          Test evaluate with simple String property.
 void testEvaluateWithSimpleStringPropertyWithNullValues()
          Test evaluate with simple String property and null values.
 void testEvaluateWithWriteOnlyProperty()
          Test evaluate 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

BeanPropertyValueEqualsPredicateTest

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

Method Detail

testEvaluateWithSimpleStringProperty

public void testEvaluateWithSimpleStringProperty()
Test evaluate with simple String property.


testEvaluateWithSimpleStringPropertyWithNullValues

public void testEvaluateWithSimpleStringPropertyWithNullValues()
Test evaluate with simple String property and null values.


testEvaluateWithNestedProperty

public void testEvaluateWithNestedProperty()
Test evaluate with nested property.


testEvaluateWithNullInPath

public void testEvaluateWithNullInPath()
Test evaluate with null in property path and ignore=false.


testEvaluateWithNullInPathAndIgnoreTrue

public void testEvaluateWithNullInPathAndIgnoreTrue()
Test evaluate with null in property path and ignore=true.


testEvaluateWithIntProperty

public void testEvaluateWithIntProperty()
Test evaluate with int property.


testEvaluateWithFloatProperty

public void testEvaluateWithFloatProperty()
Test evaluate with float property.


testEvaluateWithDoubleProperty

public void testEvaluateWithDoubleProperty()
Test evaluate with double property.


testEvaluateWithBooleanProperty

public void testEvaluateWithBooleanProperty()
Test evaluate with boolean property.


testEvaluateWithByteProperty

public void testEvaluateWithByteProperty()
Test evaluate with byte property.


testEvaluateWithMappedProperty

public void testEvaluateWithMappedProperty()
Test evaluate with mapped property.


testEvaluateWithIndexedProperty

public void testEvaluateWithIndexedProperty()
Test evaluate with indexed property.


testEvaluateWithPrimitiveAndNull

public void testEvaluateWithPrimitiveAndNull()
Test evaluate with primitive property and null value.


testEvaluateWithNestedMappedProperty

public void testEvaluateWithNestedMappedProperty()
Test evaluate with nested mapped property.


testEvaluateWithWriteOnlyProperty

public void testEvaluateWithWriteOnlyProperty()
Test evaluate with write only property.


testEvaluateWithReadOnlyProperty

public void testEvaluateWithReadOnlyProperty()
Test evaluate with read only property.


testEvaluateWithInvalidPropertyName

public void testEvaluateWithInvalidPropertyName()
Test evaluate with an invalid property name.