org.kuali.rice.krad.service
Class LookupServiceTest

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.KRADTestCase
                          extended by org.kuali.rice.krad.service.LookupServiceTest
All Implemented Interfaces:
MethodAware

@PerTestUnitTestData(value=@UnitTestData(order={SQL_STATEMENTS,SQL_FILES},sqlStatements={@UnitTestSql(value="delete from trv_acct where acct_fo_id between 101 and 301"),@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:testAccounts.sql",delimiter=";")}),
                     tearDown=@UnitTestData(sqlStatements={@UnitTestSql(value="delete from trv_acct where acct_fo_id between 101 and 301"),@UnitTestSql(value="delete from trv_acct_fo where acct_fo_id between 101 and 301")}))
public class LookupServiceTest
extends KRADTestCase

This class 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)

Nested Class Summary
 
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
LookupServiceTest()
           
 
Method Summary
 void testLookupReturnDefaultLimit()
          This method tests a lookup with the default limit
 void testLookupReturnDefaultUnbounded()
          This method tests an unbounded lookup
 void testLookupReturnDefaultUnbounded2()
          This method tests an unbounded lookup
 void testLookupReturnLimits()
          This method tests lookup return limits
 
Methods inherited from class org.kuali.test.KRADTestCase
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, getKRADDefaultSuiteTestData
 
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 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

LookupServiceTest

public LookupServiceTest()
Method Detail

testLookupReturnLimits

public void testLookupReturnLimits()
                            throws Exception
This method tests lookup return limits

Throws:
Exception

testLookupReturnDefaultLimit

public void testLookupReturnDefaultLimit()
                                  throws Exception
This method tests a lookup with the default limit

Throws:
Exception

testLookupReturnDefaultUnbounded

public void testLookupReturnDefaultUnbounded()
                                      throws Exception
This method tests an unbounded lookup

Throws:
Exception

testLookupReturnDefaultUnbounded2

public void testLookupReturnDefaultUnbounded2()
                                       throws Exception
This method tests an unbounded lookup

Throws:
Exception


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.