org.kuali.rice.krad.service
Class LookupServiceTest
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.rice.krad.test.KRADTestCase
org.kuali.rice.krad.service.LookupServiceTest
- All Implemented Interfaces:
- MethodAware
- Direct Known Subclasses:
- LegacyDataAdapterLookupTest
@PerTestUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlStatements={@UnitTestSql(value="delete from trv_acct where acct_fo_id = \'1\'"),@UnitTestSql(value="delete from trv_acct_type"),@UnitTestSql(value="delete from krtst_test_table_t")},sqlFiles={@UnitTestFile(filename="classpath:testAccountType.sql",delimiter=";"),@UnitTestFile(filename="classpath:testAccounts.sql",delimiter=";"),@UnitTestFile(filename="classpath:testDataObjects.sql",delimiter=";")}),
tearDown=@UnitTestData(sqlStatements={@UnitTestSql(value="delete from trv_acct where acct_fo_id = \'1\'"),@UnitTestSql(value="delete from krtst_test_table_t")}))
public class LookupServiceTest
- extends KRADTestCase
LookupServiceTest tests KULRICE-984: Lookups - Relative Limit Gap
Making sure that lookup resultSetLimits set in the DD for
a BO will override the system wide default.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.test.RiceTestCase |
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LookupServiceTest
public LookupServiceTest()
findCollectionBySearchHelper
protected <T> Collection<T> findCollectionBySearchHelper(Class<T> clazz,
Map<String,String> formProps,
boolean unbounded)
findCollectionBySearch
protected <T> Collection<T> findCollectionBySearch(Class<T> clazz,
Map<String,String> formProps)
findCollectionBySearchUnbounded
protected <T> Collection<T> findCollectionBySearchUnbounded(Class<T> clazz,
Map<String,String> formProps)
testLookupReturnLimits_Account
public void testLookupReturnLimits_Account()
throws Exception
- tests lookup return limits
- Throws:
Exception
testLookupReturnLimits_TestDataObject
public void testLookupReturnLimits_TestDataObject()
throws Exception
- tests lookup return limits
- Throws:
Exception
testLookupReturnDefaultLimit
public void testLookupReturnDefaultLimit()
throws Exception
- tests a lookup with the default limit
- Throws:
Exception
testLookupReturnDefaultUnbounded_Account
public void testLookupReturnDefaultUnbounded_Account()
throws Exception
- tests an unbounded lookup
- Throws:
Exception
testLookupReturnDefaultUnbounded_TestDataObject
public void testLookupReturnDefaultUnbounded_TestDataObject()
throws Exception
- tests an unbounded lookup
- Throws:
Exception
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.