org.kuali.rice.lookup.keyvalues
Class PersistableBusinessObjectValuesFinderTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.test.KRADTestCase
org.kuali.rice.lookup.keyvalues.PersistableBusinessObjectValuesFinderTest
- All Implemented Interfaces:
- MethodAware
@PerTestUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlStatements={@UnitTestSql(value="delete from trv_acct_type"),@UnitTestSql(value="delete from trv_acct_fo where acct_fo_id between 101 and 301")},sqlFiles={@UnitTestFile(filename="classpath:testAccountManagers.sql",delimiter=";"),@UnitTestFile(filename="classpath:testAccountType.sql",delimiter=";")}),
tearDown=@UnitTestData(sqlStatements={@UnitTestSql(value="delete from trv_acct_type"),@UnitTestSql(value="delete from trv_acct_fo where acct_fo_id between 101 and 301")}))
public class PersistableBusinessObjectValuesFinderTest
- extends KRADTestCase
This class tests the PersistableBusinessObjectValuesFinder.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
void |
testGetKeyValues()
This method tests to make sure teh PersistableBusinessObjectValuesFinder works
as expected for the TravelAccountType BO. |
void |
testGetKeyValuesKeyInLabel()
This method tests to make sure teh PersistableBusinessObjectValuesFinder works
as expected for the TravelAccountType BO with the key included in the label. |
void |
testGetKeyValuesKeyInLabelLongKey()
This method tests to make sure teh PersistableBusinessObjectValuesFinder works
as expected for the FiscalOfficer BO with the key included in the label. |
void |
testGetKeyValuesLongKey()
This method tests to make sure teh PersistableBusinessObjectValuesFinder works
as expected for the FiscalOfficer BO. |
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistableBusinessObjectValuesFinderTest
public PersistableBusinessObjectValuesFinderTest()
- Default Constructor builds KeyValue Lists used for tests.
testGetKeyValues
public void testGetKeyValues()
throws Exception
- This method tests to make sure teh PersistableBusinessObjectValuesFinder works
as expected for the TravelAccountType BO.
- Throws:
Exception
testGetKeyValuesKeyInLabel
public void testGetKeyValuesKeyInLabel()
throws Exception
- This method tests to make sure teh PersistableBusinessObjectValuesFinder works
as expected for the TravelAccountType BO with the key included in the label.
- Throws:
Exception
testGetKeyValuesLongKey
public void testGetKeyValuesLongKey()
throws Exception
- This method tests to make sure teh PersistableBusinessObjectValuesFinder works
as expected for the FiscalOfficer BO.
- Throws:
Exception
testGetKeyValuesKeyInLabelLongKey
public void testGetKeyValuesKeyInLabelLongKey()
throws Exception
- This method tests to make sure teh PersistableBusinessObjectValuesFinder works
as expected for the FiscalOfficer BO with the key included in the label.
- Throws:
Exception
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.