@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
Making sure that lookup resultSetLimits set in the DD for a BO will override the system wide default.
KRADTestCase.BootstrapTest, KRADTestCase.LegacyBaselineTestCase.BaselineMode, BaselineTestCase.Modedd, kradTestHarnessSpringResourceLoaderdirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description |
|---|
LookupServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> Collection<T> |
findCollectionBySearch(Class<T> clazz,
Map<String,String> formProps) |
protected <T> Collection<T> |
findCollectionBySearchHelper(Class<T> clazz,
Map<String,String> formProps,
boolean unbounded) |
protected <T> Collection<T> |
findCollectionBySearchUnbounded(Class<T> clazz,
Map<String,String> formProps) |
void |
testLookupReturnDefaultLimit()
tests a lookup with the default limit
|
void |
testLookupReturnDefaultUnbounded_Account()
tests an unbounded lookup
|
void |
testLookupReturnDefaultUnbounded_TestDataObject()
tests an unbounded lookup
|
void |
testLookupReturnLimits_Account()
tests lookup return limits
|
void |
testLookupReturnLimits_TestDataObject()
tests lookup return limits
|
getKRADTestHarnessContext, getLoadApplicationLifecycle, getPerTestTablesNotToClear, getSuiteLifecycles, getTestDictionaryObject, loadSuiteTestData, setUp, setUpInternal, setUpLegacyContext, tearDown, tearDownLegacyContextgetClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecyclesgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecyclesgetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic LookupServiceTest()
protected <T> Collection<T> findCollectionBySearchHelper(Class<T> clazz, Map<String,String> formProps, boolean unbounded)
protected <T> Collection<T> findCollectionBySearch(Class<T> clazz, Map<String,String> formProps)
protected <T> Collection<T> findCollectionBySearchUnbounded(Class<T> clazz, Map<String,String> formProps)
public void testLookupReturnLimits_Account() throws Exception
Exceptionpublic void testLookupReturnLimits_TestDataObject() throws Exception
Exceptionpublic void testLookupReturnDefaultLimit() throws Exception
Exceptionpublic void testLookupReturnDefaultUnbounded_Account() throws Exception
Exceptionpublic void testLookupReturnDefaultUnbounded_TestDataObject() throws Exception
ExceptionCopyright © 2005–2015 The Kuali Foundation. All rights reserved.