db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John H. Embretsen (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (DERBY-3520) convert views.sql to junit
Date Wed, 12 Mar 2008 12:44:46 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577832#action_12577832
] 

johnemb edited comment on DERBY-3520 at 3/12/08 5:42 AM:
-------------------------------------------------------------------

The following committed code results in a Javadoc warning:

+     * @param sqlStates[]  expected sql state.
      * @param st Statement object on which to execute.
      * @param query the query to compile and execute.
      */
-    public static void assertStatementError(String sqlState,
+    public static void assertStatementError(String[] sqlStates,
         Statement st, String query)

/trunk/java/testing/org/apache/derbyTesting/junit/BaseJDBCTestCase.java:956: warning - @param
argument "sqlStates[]" is not a parameter name.

      was (Author: johnemb):
    The folowing committed code results in a Javadoc warning:

+     * @param sqlStates[]  expected sql state.
      * @param st Statement object on which to execute.
      * @param query the query to compile and execute.
      */
-    public static void assertStatementError(String sqlState,
+    public static void assertStatementError(String[] sqlStates,
         Statement st, String query)

  
> convert views.sql to junit
> --------------------------
>
>                 Key: DERBY-3520
>                 URL: https://issues.apache.org/jira/browse/DERBY-3520
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.5.0.0
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>            Priority: Minor
>         Attachments: derby-3520_diff.txt, derby-3520_diff.txt
>
>
> With the latest IBM 1.6 jvm I am seeing an ordering diff in the errors in drop table
with views.sql so it would be good to convert to junit to avoid having separate jvm masters.

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


Mime
View raw message