org.kuali.rice.kew.docsearch
Class SearchableAttributeTest
java.lang.Object
org.kuali.rice.test.BaseRiceTestCase
org.kuali.rice.test.RiceTestCase
org.kuali.rice.test.RiceInternalSuiteDataTestCase
org.kuali.rice.test.BaseModuleTestCase
org.kuali.rice.test.BaselineTestCase
org.kuali.rice.kew.test.KEWTestCase
org.kuali.rice.kew.docsearch.DocumentSearchTestBase
org.kuali.rice.kew.docsearch.SearchableAttributeTest
- All Implemented Interfaces:
- MethodAware
public class SearchableAttributeTest
- extends DocumentSearchTestBase
Tests the StandardGenericXMLSearchableAttribute.
KULWF-654: Tests the resolution to this issue by configuring a CustomActionListAttribute as well as a
searchable attribute.
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase |
clearCacheManagers, 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.RiceTestCase |
configureLogging, dumpMemory, getBaseDir, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchableAttributeTest
public SearchableAttributeTest()
loadTestData
protected void loadTestData()
throws Exception
- Overrides:
loadTestData
in class KEWTestCase
- Throws:
Exception
testSearchableAttributeSearch
public void testSearchableAttributeSearch()
throws Exception
- This tests the ability to get the searchableAttributeValues directly without going through the document.
- Throws:
Exception
getRouteHeaderService
protected RouteHeaderService getRouteHeaderService()
getPrincipalId
protected String getPrincipalId(String networkId)
testCustomSearchableAttributesWithDataType
public void testCustomSearchableAttributesWithDataType()
throws Exception
- Throws:
Exception
testSearchAttributesAcrossDocumentTypeVersions
public void testSearchAttributesAcrossDocumentTypeVersions()
throws Exception
- Tests searching documents with searchable attributes
- Throws:
WorkflowException
Exception
testWildcardsOnSearchableAttributes
public void testWildcardsOnSearchableAttributes()
throws Exception
- Tests the usage of wildcards on searchable attributes of varying data types.
Note that the bounds of ".."-related search expressions will not throw an exception if the lower bound is greater than the upper bound;
instead, such an expression will simply return zero results.
- Throws:
Exception
testValidateUserSearchInputsNoCast
public void testValidateUserSearchInputsNoCast()
- Per KULRICE-3681, tests that StandardGenericXMLSearchableAttribute throws no cast class exception when it shouldn't
testSearchableAttributeTrim
public void testSearchableAttributeTrim()
testXmlGeneration
public void testXmlGeneration()
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.