org.kuali.rice.krad.lookup
Class LookupResultsServiceTest

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.lookup.LookupResultsServiceTest
All Implemented Interfaces:
MethodAware

public class LookupResultsServiceTest
extends KRADTestCase

Tests the LookupResultsService

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
static String MOCK_PARAMETER_DETAIL_TYPE_CODE
           
static String MOCK_PARAMETER_NAME
           
static String MOCK_PARAMETER_NMSPC
           
static String MOCK_PERSON
           
 
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
LookupResultsServiceTest()
           
 
Method Summary
 void testBadSearch()
          Tests that BO which doesn't have qualified support strategy throws an exception on search
 void testDataDictionaryBusinessObjectSearch()
          Tests that PersistableBusinessObjectSearches work
 void testLookupIds()
          Tests that lookup ids work
 void testPersistableBusinessObjectSearch()
          Tests that PersistableBusinessObjectSearches work
 
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
 

Field Detail

MOCK_PARAMETER_NMSPC

public static final String MOCK_PARAMETER_NMSPC
See Also:
Constant Field Values

MOCK_PARAMETER_DETAIL_TYPE_CODE

public static final String MOCK_PARAMETER_DETAIL_TYPE_CODE
See Also:
Constant Field Values

MOCK_PARAMETER_NAME

public static final String MOCK_PARAMETER_NAME
See Also:
Constant Field Values

MOCK_PERSON

public static final String MOCK_PERSON
See Also:
Constant Field Values
Constructor Detail

LookupResultsServiceTest

public LookupResultsServiceTest()
Method Detail

testLookupIds

public void testLookupIds()
Tests that lookup ids work


testPersistableBusinessObjectSearch

public void testPersistableBusinessObjectSearch()
                                         throws Exception
Tests that PersistableBusinessObjectSearches work

Throws:
Exception

testDataDictionaryBusinessObjectSearch

public void testDataDictionaryBusinessObjectSearch()
                                            throws Exception
Tests that PersistableBusinessObjectSearches work

Throws:
Exception

testBadSearch

public void testBadSearch()
Tests that BO which doesn't have qualified support strategy throws an exception on search



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