org.kuali.rice.kns.util
Class BeanPropertyComparatorTest

java.lang.Object
  extended by org.kuali.rice.test.BaseRiceTestCase
      extended by org.kuali.rice.test.RiceTestCase
          extended by org.kuali.rice.test.RiceInternalSuiteDataTestCase
              extended by org.kuali.rice.test.BaseModuleTestCase
                  extended by org.kuali.rice.test.BaselineTestCase
                      extended by org.kuali.test.KNSTestCase
                          extended by org.kuali.rice.kns.util.BeanPropertyComparatorTest
All Implemented Interfaces:
MethodAware

public class BeanPropertyComparatorTest
extends KNSTestCase

This class tests the BeanPropertyComparator methods.


Nested Class Summary
static class BeanPropertyComparatorTest.A
           
static class BeanPropertyComparatorTest.B
           
static class BeanPropertyComparatorTest.C
           
static class BeanPropertyComparatorTest.D
           
 
Nested classes/interfaces inherited from class org.kuali.rice.test.BaselineTestCase
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
 
Field Summary
 
Fields inherited from class org.kuali.rice.test.BaselineTestCase
dirty
 
Fields inherited from class org.kuali.rice.test.BaseModuleTestCase
LOG, moduleName
 
Fields inherited from class org.kuali.rice.test.RiceTestCase
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
 
Fields inherited from class org.kuali.rice.test.BaseRiceTestCase
log, method
 
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()
           
 void testConstructor_nullList()
           
 
Methods inherited from class org.kuali.test.KNSTestCase
getLoadApplicationLifecycle, getSuiteLifecycles, loadSuiteTestData
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
 
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase
getName, getPerTestDataLoaderLifecycle, resetLogLevels, setLogLevel, setName, setTestMethod
 
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()

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 © 2004-2011 The Kuali Foundation. All Rights Reserved.