@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.Legacy
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dd, kradTestHarnessSpringResourceLoader
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, 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, tearDownLegacyContext
getClearDbPerTestLifecycles, getMode, getPerTestLifecycles, getPerTestTablesToClear, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, loadPerTestData, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public 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
Exception
public void testLookupReturnLimits_TestDataObject() throws Exception
Exception
public void testLookupReturnDefaultLimit() throws Exception
Exception
public void testLookupReturnDefaultUnbounded_Account() throws Exception
Exception
public void testLookupReturnDefaultUnbounded_TestDataObject() throws Exception
Exception
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.