org.kuali.rice.kew.docsearch
Class CustomDocumentSearchGeneratorTest

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.rice.kew.test.KEWTestCase
                          extended by org.kuali.rice.kew.docsearch.DocumentSearchTestBase
                              extended by org.kuali.rice.kew.docsearch.CustomDocumentSearchGeneratorTest
All Implemented Interfaces:
MethodAware

public class CustomDocumentSearchGeneratorTest
extends DocumentSearchTestBase

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.test.KEWTestCase
KEWTestCase.ClearCacheLifecycle
 
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
CustomDocumentSearchGeneratorTest()
           
 
Method Summary
private  void adjustResultSetCapApplicationConstantValue(Parameter p, Integer newValue)
           
private  DocumentType getValidDocumentType(String documentTypeFullName)
           
protected  void loadTestData()
           
 void testCustomDocSearchGeneratorResultSetLimit()
           
 void testCustomDocumentSearchGeneratorUse()
           
 void testSearchOnExtraDocType()
          Tests function of adding extra document type names to search including using searchable attributes that may or may not exist on all the document type names being searched on.
 
Methods inherited from class org.kuali.rice.kew.docsearch.DocumentSearchTestBase
createSearchAttributeCriteriaComponent, createSearchAttributeCriteriaComponent, createSearchAttributeCriteriaComponent, createSearchAttributeCriteriaComponent, getAttribute
 
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase
getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad
 
Methods inherited from class org.kuali.rice.test.BaselineTestCase
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
 
Methods inherited from class org.kuali.rice.test.BaseModuleTestCase
getModuleName
 
Methods inherited from class org.kuali.rice.test.RiceInternalSuiteDataTestCase
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKNSDefaultSuiteTestData
 
Methods inherited from class org.kuali.rice.test.RiceTestCase
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, 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

CustomDocumentSearchGeneratorTest

public CustomDocumentSearchGeneratorTest()
Method Detail

loadTestData

protected void loadTestData()
                     throws Exception
Overrides:
loadTestData in class KEWTestCase
Throws:
Exception

testCustomDocumentSearchGeneratorUse

public void testCustomDocumentSearchGeneratorUse()
                                          throws Exception
Throws:
Exception

getValidDocumentType

private DocumentType getValidDocumentType(String documentTypeFullName)

testCustomDocSearchGeneratorResultSetLimit

public void testCustomDocSearchGeneratorResultSetLimit()
                                                throws Exception
Throws:
Exception

adjustResultSetCapApplicationConstantValue

private void adjustResultSetCapApplicationConstantValue(Parameter p,
                                                        Integer newValue)

testSearchOnExtraDocType

public void testSearchOnExtraDocType()
                              throws Exception
Tests function of adding extra document type names to search including using searchable attributes that may or may not exist on all the document type names being searched on.

Throws:
Exception


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.