You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/12/06 23:17:09 UTC

[jira] Created: (DERBY-4933) Use framework helper methods to check result sets in DatabaseMetaDataTest

Use framework helper methods to check result sets in DatabaseMetaDataTest
-------------------------------------------------------------------------

                 Key: DERBY-4933
                 URL: https://issues.apache.org/jira/browse/DERBY-4933
             Project: Derby
          Issue Type: Improvement
          Components: Test
    Affects Versions: 10.8.0.0
            Reporter: Knut Anders Hatlen
            Assignee: Knut Anders Hatlen
            Priority: Minor


Some of the test cases in DatabaseMetaDataTest manually iterate through result sets and verify their contents against a canon. They should use JDBC.assertFullResultSet() instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-4933) Use framework helper methods to check result sets in DatabaseMetaDataTest

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-4933:
--------------------------------------

    Attachment: d4933.diff

Attaching a patch that replaces the code that loops through the result sets with calls to JDBC.assertFullResultSet().

DatabaseMetaDataTest runs cleanly with the patch, but I'll also run the full test suite to verify that it doesn't break anything, since the test may run in other contexts than standalone (at least as part of the upgrade tests and collation tests, and perhaps others).

> Use framework helper methods to check result sets in DatabaseMetaDataTest
> -------------------------------------------------------------------------
>
>                 Key: DERBY-4933
>                 URL: https://issues.apache.org/jira/browse/DERBY-4933
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.8.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: d4933.diff
>
>
> Some of the test cases in DatabaseMetaDataTest manually iterate through result sets and verify their contents against a canon. They should use JDBC.assertFullResultSet() instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-4933) Use framework helper methods to check result sets in DatabaseMetaDataTest

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen closed DERBY-4933.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.8.0.0

Committed revision 1043039.

> Use framework helper methods to check result sets in DatabaseMetaDataTest
> -------------------------------------------------------------------------
>
>                 Key: DERBY-4933
>                 URL: https://issues.apache.org/jira/browse/DERBY-4933
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.8.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>             Fix For: 10.8.0.0
>
>         Attachments: d4933.diff
>
>
> Some of the test cases in DatabaseMetaDataTest manually iterate through result sets and verify their contents against a canon. They should use JDBC.assertFullResultSet() instead.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.