You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2013/02/14 17:40:12 UTC

[jira] [Created] (OODT-565) Fix XMLPS CDEResult and CDEInputStream unit tests to use orderedFIelds

Chris A. Mattmann created OODT-565:
--------------------------------------

             Summary: Fix XMLPS CDEResult and CDEInputStream unit tests to use orderedFIelds
                 Key: OODT-565
                 URL: https://issues.apache.org/jira/browse/OODT-565
             Project: OODT
          Issue Type: Bug
          Components: xmlps
            Reporter: Chris A. Mattmann
            Assignee: Chris A. Mattmann
             Fix For: 0.6


In keeping back compat in OODT-564, I didn't modify the unit tests for CDEResult or CDEResultInputStream, and instead worked around by keeping the old behavior for serializing the output of the XMLPS product server using only the rs#getResultSetMetadata if orderedFields aren't set (like they aren't in the unit tests). But this is a hack, b/c we expect orderedFields to now be set (should probably throw an Exception somewhere if they are not rather than failing silently until it gives the wrong results). 

So, fix the unit tests to explicitly test and require this.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira