org.kuali.rice.krad.util
Class BeanPropertyComparatorTest

java.lang.Object
  extended by org.kuali.rice.krad.util.BeanPropertyComparatorTest

public class BeanPropertyComparatorTest
extends Object

BeanPropertyComparatorTest tests the BeanPropertyComparator methods


Nested Class Summary
static class BeanPropertyComparatorTest.A
           
static class BeanPropertyComparatorTest.B
           
static class BeanPropertyComparatorTest.C
           
static class BeanPropertyComparatorTest.D
           
 
Constructor Summary
BeanPropertyComparatorTest()
           
 
Method Summary
 void testCompare_differentCases()
           
 void testCompare_differentDates()
           
 void testCompare_firstNullDates()
           
 void testCompare_oneLevel()
           
 void testCompare_oneProperty_boolean()
           
 void testCompare_oneProperty_integer()
           
 void testCompare_oneProperty_string()
           
 void testCompare_privateProperty()
           
 void testCompare_propertyTypeMismatch()
           
 void testCompare_secondNullDates()
           
 void testCompare_threeLevels()
           
 void testCompare_twoLevels()
           
 void testCompare_unknownPropertyNames()
           
 void testConstructor_emptyList()
          tests that an IllegalArgumentException is thrown when BeanPropertyComparator constructor is passed a empty list
 void testConstructor_nullList()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertyComparatorTest

public BeanPropertyComparatorTest()
Method Detail

testConstructor_nullList

public void testConstructor_nullList()

testConstructor_emptyList

public void testConstructor_emptyList()
tests that an IllegalArgumentException is thrown when BeanPropertyComparator constructor is passed a empty list


testCompare_unknownPropertyNames

public void testCompare_unknownPropertyNames()

testCompare_propertyTypeMismatch

public void testCompare_propertyTypeMismatch()

testCompare_privateProperty

public void testCompare_privateProperty()

testCompare_oneProperty_string

public void testCompare_oneProperty_string()

testCompare_oneProperty_integer

public void testCompare_oneProperty_integer()

testCompare_oneProperty_boolean

public void testCompare_oneProperty_boolean()

testCompare_oneLevel

public void testCompare_oneLevel()

testCompare_twoLevels

public void testCompare_twoLevels()

testCompare_threeLevels

public void testCompare_threeLevels()

testCompare_differentCases

public void testCompare_differentCases()

testCompare_differentDates

public void testCompare_differentDates()
                                throws ParseException
Throws:
ParseException

testCompare_firstNullDates

public void testCompare_firstNullDates()
                                throws ParseException
Throws:
ParseException

testCompare_secondNullDates

public void testCompare_secondNullDates()
                                 throws ParseException
Throws:
ParseException


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