public class StandardGenericXMLSearchableAttributeRangesTest extends DocumentSearchTestBase
KEWTestCase.BootstrapTest, KEWTestCase.ClearCacheLifecycle
BaselineTestCase.BaselineMode, BaselineTestCase.Mode
dirty
LOG, moduleName
DEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycles
log, method
Constructor and Description |
---|
StandardGenericXMLSearchableAttributeRangesTest() |
Modifier and Type | Method and Description |
---|---|
protected RemotableAttributeError |
assertDocumentSearchCriteriaValidation(StandardGenericXMLSearchableAttribute attribute,
ExtensionDefinition ed,
String attrkey,
String attrvalue,
String expectedErrorMessage)
Helper to assert document search criteria validation
|
protected void |
assertRangeSearchResults(String docType,
String userId,
String attrKey,
String lowerBound,
String upperBound,
boolean upperBoundInclusive,
int expected)
Helper that asserts range search results
|
protected void |
loadTestData() |
void |
retrieveDocSearchSvc() |
protected WorkflowDocument |
setUpSearchableDoc()
Sets up a doc for searching with ranged queries
|
void |
testDateRanges() |
void |
testFloatRanges() |
void |
testGetSearchingRowsUsingRangeSearches() |
void |
testLongRanges() |
void |
testRangeDefinitionStringAttributes() |
void |
testStringRanges() |
void |
testValidateUserSearchRangeInputs() |
addSearchableAttribute, addSearchableAttribute, createExtensionDefinition, createSearchableAttributeRange, getAttribute
clearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getNextSequenceLongValue, getNextSequenceStringValue, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getRoleIdForName, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoad
getClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUp
getModuleName
getKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestData
configureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDown
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod
public StandardGenericXMLSearchableAttributeRangesTest()
protected void loadTestData() throws Exception
loadTestData
in class KEWTestCase
Exception
public void retrieveDocSearchSvc()
public void testGetSearchingRowsUsingRangeSearches()
public void testValidateUserSearchRangeInputs()
protected RemotableAttributeError assertDocumentSearchCriteriaValidation(StandardGenericXMLSearchableAttribute attribute, ExtensionDefinition ed, String attrkey, String attrvalue, String expectedErrorMessage)
protected WorkflowDocument setUpSearchableDoc()
protected void assertRangeSearchResults(String docType, String userId, String attrKey, String lowerBound, String upperBound, boolean upperBoundInclusive, int expected) throws WorkflowServiceErrorException
WorkflowServiceErrorException
public void testStringRanges() throws Exception
Exception
public void testLongRanges() throws Exception
Exception
public void testFloatRanges() throws Exception
Exception
public void testDateRanges() throws Exception
Exception
public void testRangeDefinitionStringAttributes() throws Exception
Exception
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.