org.kuali.rice.kew.docsearch
Class DocumentSearchTestBase
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
- All Implemented Interfaces:
- MethodAware
- Direct Known Subclasses:
- DeprecatedDocumentTagsTest, SearchableAttributeTest, StandardGenericXMLSearchableAttributeRangesTest, StandardGenericXMLSearchableAttributeTest
public class DocumentSearchTestBase
- extends KEWTestCase
This is a base class used for document search unit test classes to consolidate some helper methods
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.kew.test.KEWTestCase |
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadTestData, 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 |
DocumentSearchTestBase
public DocumentSearchTestBase()
getAttribute
protected StandardGenericXMLSearchableAttribute getAttribute(String name)
- This method is used by tests that use xml attributes
- Parameters:
name
- - name of the attribute to retrieve
- Returns:
addSearchableAttribute
protected void addSearchableAttribute(DocumentSearchCriteria.Builder criteria,
String name,
String value)
addSearchableAttribute
protected void addSearchableAttribute(DocumentSearchCriteria.Builder criteria,
String name,
String[] values)
createSearchableAttributeRange
protected String createSearchableAttributeRange(String lowerBound,
String upperBound,
boolean upperBoundInclusive)
createExtensionDefinition
protected static ExtensionDefinition createExtensionDefinition(String attrName)
- Creates an ExtensionDefinition for the specified attribute with XML config pulled from the db
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.