org.kuali.rice.kew.docsearch.xml
Class StandardGenericXMLSearchableAttributeTest
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
- All Implemented Interfaces:
- MethodAware
public class StandardGenericXMLSearchableAttributeTest
- 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 |
StandardGenericXMLSearchableAttributeTest
public StandardGenericXMLSearchableAttributeTest()
loadTestData
protected void loadTestData()
throws Exception
- Overrides:
loadTestData
in class KEWTestCase
- Throws:
Exception
testXMLStandardSearchableAttributeWithInvalidValue
public void testXMLStandardSearchableAttributeWithInvalidValue()
throws Exception
- Throws:
Exception
testXMLStandardSearchableAttributesWithDataType
public void testXMLStandardSearchableAttributesWithDataType()
throws Exception
- Throws:
Exception
testRouteDocumentWithSearchableAttribute
public void testRouteDocumentWithSearchableAttribute()
throws Exception
- Throws:
Exception
testDocumentSearchAttributeWildcarding
public void testDocumentSearchAttributeWildcarding()
throws Exception
- Throws:
Exception
testDocumentSearchAttributeWildcardingDisallow
public void testDocumentSearchAttributeWildcardingDisallow()
throws Exception
- Throws:
Exception
testDocumentSearchAttributeCaseSensitivity
public void testDocumentSearchAttributeCaseSensitivity()
throws Exception
- Throws:
Exception
testRouteDocumentWithMalformedSearchableAttributeContent
public void testRouteDocumentWithMalformedSearchableAttributeContent()
throws WorkflowException
- Tests searching with client-generated documentContent which is just malformed XML.
- Throws:
WorkflowException
testRouteDocumentWithInvalidSearchableAttributeContent
public void testRouteDocumentWithInvalidSearchableAttributeContent()
throws Exception
- Tests searching with client-generated documentContent which will not match what the SearchableAttributeOld
is configured to look for. This should pass with zero search results, but should not throw an exception.
- Throws:
Exception
testRouteDocumentWithMoreInvalidSearchableAttributeContent
public void testRouteDocumentWithMoreInvalidSearchableAttributeContent()
throws Exception
- Tests searching with client-generated documentContent which will not match what the SearchableAttributeOld
is configured to look for. This should pass with zero search results, but should not throw an exception.
- Throws:
Exception
testRouteDocumentWithXStreamSearchableAttribute
public void testRouteDocumentWithXStreamSearchableAttribute()
throws Exception
- Tests the XStreamSafeEvaluator against searchable attributes to resolve EN-63 and KULWF-723.
This test is pretty much just a copy of testRouteDocumentWithSearchableAttribute using a
different document type which defines the same xpath expression, only with embedded
XStream "reference" attributes in the XML.
- Throws:
Exception
testSearchableAttributeWithQuickfinder
public void testSearchableAttributeWithQuickfinder()
throws Exception
- Tests the resolution to issues EN-95, KULWF-757, KULOWF-52 whereby the use of a quickfinder is causing
NullPointers when searching for documents.
- Throws:
Exception
testSearchableAttributeWithHiddens
public void testSearchableAttributeWithHiddens()
throws Exception
- Tests that the hidding of fields and columns works properly to resolve EN-53.
TODO this is currently commented out because we can't test this properly through the unit
test since the filtering of the column actually happens in the web-tier. Shoudl this be
the case? Maybe we need to re-examine when we refactor document search.
- Throws:
Exception
testSetApplicationContentXMLRoutedDocument
public void testSetApplicationContentXMLRoutedDocument()
throws Exception
- Throws:
Exception
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.