Details
-
Type:
Task
-
Status: Closed
-
Priority:
Critical
-
Resolution: Complete
-
Affects Version/s: 1.0.1, 1.0.1.1
-
Fix Version/s: 1.0.1.1, KFS Release 3.0.1
-
Component/s: Unit Testing
-
Labels:None
-
Rice Module:KEW
Description
For the 1.0.1.1 patch release I would like to have the Data Dictionary Document search unit tested.
This task will be broken down into two parts.
Part one will be the generation of the data dictionary test data.
Part two will be the testing of that data via various doc search tests.
Attachments
Issue Links
- discovered
-
KULRICE-13707 Implement better boolean datatype support for searchable attributes
-
- Closed
-
- discovered by
-
KULRICE-3693 Put back in ' escaping in new doc search code
-
- Closed
-
- relies on
-
KULRICE-3700 Apply the modifications resulting from the addition of DataDictionarySearchableAttributeTest to the master databases
-
- Closed
-
Here's what I've committed to the 1.0.1.1 branch so far:
Added:
AccountWithDDAttributesDocument.java (the document that will be using the DD searchable attributes)
AccountWithDDAttributesDocument.xml (the data dictionary XML for the above document)
AccountStateKeyValues.java (needed for the test doc's multi-select field)
DataDictionarySearchableAttributeTest.java (an incomplete test case)
Updated:
kns/src/test/resources/org/kuali/rice/kns/test/DefaultSuiteTestData.xml (added the document type XML for the new doc, as well as a new DD searchable attribute)
kns.sql (added the SQL needed to create a table for storing the new document's data)
OJB-repository-kns-test.xml (added an OJB mapping from the new table above to the new document)
James, feel free to modify these as needed if you notice any mistakes or omissions. The current unit test class is very rough at this time, so I'll be refactoring it soon.