|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.xml.StandardGenericXMLSearchableAttributeTest
public class StandardGenericXMLSearchableAttributeTest
Tests the StandardGenericXMLSearchableAttribute. KULWF-654: Tests the resolution to this issue by configuring a CustomActionListAttribute as well as a searchable attribute.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.kuali.rice.kew.test.KEWTestCase |
---|
KEWTestCase.BootstrapTest, 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 | |
---|---|
StandardGenericXMLSearchableAttributeTest()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class org.kuali.rice.kew.docsearch.DocumentSearchTestBase |
---|
addSearchableAttribute, addSearchableAttribute, createExtensionDefinition, createSearchableAttributeRange, getAttribute |
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, getKRADDefaultSuiteTestData |
Methods inherited from class org.kuali.rice.test.BaseRiceTestCase |
---|
getName, getPerTestDataLoaderLifecycle, getTestMethod, resetLogLevels, setLogLevel, setName, setTestMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardGenericXMLSearchableAttributeTest()
Method Detail |
---|
protected void loadTestData() throws Exception
loadTestData
in class KEWTestCase
Exception
public void testXMLStandardSearchableAttributeWithInvalidValue() throws Exception
Exception
public void testXMLStandardSearchableAttributesWithDataType() throws Exception
Exception
public void testRouteDocumentWithSearchableAttribute() throws Exception
Exception
public void testDocumentSearchAttributeWildcarding() throws Exception
Exception
public void testDocumentSearchAttributeWildcardingDisallow() throws Exception
Exception
public void testDocumentSearchAttributeCaseSensitivity() throws Exception
Exception
public void testRouteDocumentWithMalformedSearchableAttributeContent() throws WorkflowException
WorkflowException
public void testRouteDocumentWithInvalidSearchableAttributeContent() throws Exception
Exception
public void testRouteDocumentWithMoreInvalidSearchableAttributeContent() throws Exception
Exception
public void testGetSearchContent() throws Exception
Exception
protected void assertGeneratedSearchContent(String docType, String attrName, String key, String value, String expr) throws Exception
Exception
public void testExtractDocumentAttributes() throws ParseException
ParseException
protected 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
Exception
public void testSearchableAttributeWithQuickfinder() throws Exception
Exception
public void testSearchableAttributeWithHiddens() throws Exception
Exception
public void testSetApplicationContentXMLRoutedDocument() throws Exception
Exception
public void testBlankValidValuesOnKeyValues() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |