public class StandardGenericXMLSearchableAttributeTest extends DocumentSearchTestBase
KEWTestCase.BootstrapTest, KEWTestCase.ClearCacheLifecycleBaselineTestCase.BaselineMode, BaselineTestCase.ModedirtyLOG, moduleNameDEFAULT_TEST_HARNESS_SPRING_BEANS, failedSuiteTestName, perTestLifeCycles, SUITE_LIFE_CYCLES_FAILED, SUITE_LIFE_CYCLES_RAN, suiteLifeCycleslog, method| Constructor and Description | 
|---|
| StandardGenericXMLSearchableAttributeTest() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected RemotableAttributeError | assertDocumentSearchCriteriaValidation(StandardGenericXMLSearchableAttribute attribute,
                                                                            ExtensionDefinition ed,
                                                                            String attrkey,
                                                                            String attrvalue,
                                                                            boolean expectError)Helper to assert document search criteria validation | 
| protected void | assertExtractDocumentAttributes(String docType,
                                                              String attrName,
                                                              String key,
                                                              Object value,
                                                              String searchableContent)Help for asserting extracted document attributes | 
| protected void | assertGeneratedSearchContent(String docType,
                                                        String attrName,
                                                        String key,
                                                        String value,
                                                        String expr)Helper for asserting generated search content | 
| protected DocumentWithContent | createDocumentWithSearchableContent(String docType,
                                                                      String content)Helper to create documentwithcontent with searchable content | 
| protected void | loadTestData() | 
| void | testBlankValidValuesOnKeyValues()Tests that Field objects use correct KeyValue instances when checks for blank valid values are performed
 (such as when JSP renders drop-downs), to verify that KULRICE-3587 has been fixed. | 
| void | testDocumentSearchAttributeCaseSensitivity() | 
| void | testDocumentSearchAttributeWildcarding() | 
| void | testDocumentSearchAttributeWildcardingDisallow() | 
| void | testExtractDocumentAttributes() | 
| void | testGetSearchContent() | 
| void | testGetSearchFields() | 
| void | testRouteDocumentWithInvalidSearchableAttributeContent()Tests searching with client-generated documentContent which will not match what the SearchableAttributeOld
 is configured to look for. | 
| void | testRouteDocumentWithMalformedSearchableAttributeContent()Tests searching with client-generated documentContent which is just malformed XML. | 
| void | testRouteDocumentWithMoreInvalidSearchableAttributeContent()Tests searching with client-generated documentContent which will not match what the SearchableAttributeOld
 is configured to look for. | 
| void | testRouteDocumentWithSearchableAttribute() | 
| void | testRouteDocumentWithXStreamSearchableAttribute()Tests the XStreamSafeEvaluator against searchable attributes to resolve EN-63 and KULWF-723. | 
| void | testSearchableAttributeWithHiddens()Tests that the hiding of fields and columns works properly to resolve EN-53. | 
| void | testSearchableAttributeWithQuickfinder()Tests the resolution to issues EN-95, KULWF-757, KULOWF-52 whereby the use of a quickfinder is causing
 NullPointers when searching for documents. | 
| void | testSetApplicationContentXMLRoutedDocument() | 
| void | testValidateUserSearchInputs() | 
| void | testXMLStandardSearchableAttributesWithDataType() | 
| void | testXMLStandardSearchableAttributeWithInvalidValue() | 
addSearchableAttribute, addSearchableAttribute, createExtensionDefinition, createSearchableAttributeRange, getAttributeclearCacheManagers, getGroupIdForName, getLoadApplicationLifecycle, getNextSequenceLongValue, getNextSequenceStringValue, getPerTestLifecycles, getPerTestTablesNotToClear, getPerTestTablesToClear, getPrincipalIdForName, getPrincipalNameForId, getRoleIdForName, getSuiteLifecycles, getTransactionTemplate, loadDefaultTestData, loadPerTestData, loadSuiteTestData, loadXmlFile, loadXmlFile, loadXmlFileFromFileSystem, loadXmlStream, setUpAfterDataLoadgetClearDbPerTestLifecycles, getMode, getRollbackClearDbPerTestLifecycles, getRollbackTestLifecycles, setUpgetModuleNamegetKIMDataLoadOrderFile, getKIMSqlFileBaseLocation, getKRADDefaultSuiteTestDataconfigureLogging, dumpMemory, getConfigLocations, getFullTestName, getModuleTestConfigLocation, getRiceMasterDefaultConfigFile, getTestHarnessConfig, getTestHarnessSpringBeansLocation, getTestHarnessSpringResourceLoader, getUserDir, logAfterRun, logBeforeRun, report, setBaseDirSystemProperty, setClearTables, setModuleName, setUpInternal, startLifecycles, startSuiteDataLoaderLifecycles, stopLifecycles, tearDowngetName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethodpublic StandardGenericXMLSearchableAttributeTest()
protected void loadTestData() throws Exception
loadTestData in class KEWTestCaseExceptionpublic void testXMLStandardSearchableAttributeWithInvalidValue() throws Exception
Exceptionpublic void testXMLStandardSearchableAttributesWithDataType() throws Exception
Exceptionpublic void testRouteDocumentWithSearchableAttribute() throws Exception
Exceptionpublic void testDocumentSearchAttributeWildcarding() throws Exception
Exceptionpublic void testDocumentSearchAttributeWildcardingDisallow() throws Exception
Exceptionpublic void testDocumentSearchAttributeCaseSensitivity() throws Exception
Exceptionpublic void testRouteDocumentWithMalformedSearchableAttributeContent() throws WorkflowException
WorkflowExceptionpublic void testRouteDocumentWithInvalidSearchableAttributeContent() throws Exception
Exceptionpublic void testRouteDocumentWithMoreInvalidSearchableAttributeContent() throws Exception
Exceptionpublic void testGetSearchContent() throws Exception
Exceptionprotected void assertGeneratedSearchContent(String docType, String attrName, String key, String value, String expr) throws Exception
Exceptionpublic void testExtractDocumentAttributes() throws ParseException
ParseExceptionprotected DocumentWithContent createDocumentWithSearchableContent(String docType, String content)
protected void assertExtractDocumentAttributes(String docType, String attrName, String key, Object value, String searchableContent)
public void testGetSearchFields()
public void testValidateUserSearchInputs()
protected RemotableAttributeError assertDocumentSearchCriteriaValidation(StandardGenericXMLSearchableAttribute attribute, ExtensionDefinition ed, String attrkey, String attrvalue, boolean expectError)
public void testRouteDocumentWithXStreamSearchableAttribute() throws Exception
Exceptionpublic void testSearchableAttributeWithQuickfinder() throws Exception
Exceptionpublic void testSearchableAttributeWithHiddens() throws Exception
Exceptionpublic void testSetApplicationContentXMLRoutedDocument() throws Exception
Exceptionpublic void testBlankValidValuesOnKeyValues() throws Exception
ExceptionCopyright © 2005–2015 The Kuali Foundation. All rights reserved.