db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2658) Convert jdbcapi/parameterMetaDataJdbc30.java to JUnit
Date Fri, 08 Jun 2007 16:56:26 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502879

Kathey Marsden commented on DERBY-2658:

Hi Ramin,

I think we are still in a situation where we are not testing everything the original test
In the old test for each parameter it would print the following information:

parameters count for callable statement is 4
Parameter number : 1
parameter isNullable PARAMETER_NULLABLE
parameter isSigned true
parameter getPrecision 10
parameter getScale 0
parameter getParameterType 4
parameter getParameterTypeName INTEGER
parameter getParameterClassName java.lang.Integer
parameter getParameterMode PARAMETER_MODE_IN

That means that you will need to add assertions for each of these calls for each of the parameters
in order to test the same thing.

> Convert jdbcapi/parameterMetaDataJdbc30.java to JUnit
> -----------------------------------------------------
>                 Key: DERBY-2658
>                 URL: https://issues.apache.org/jira/browse/DERBY-2658
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions:
>            Reporter: Ramin Moazeni
>            Assignee: Ramin Moazeni
>         Attachments: DERBY-2658.diff, DERBY-2658.diff-060807, DERBY-2658.stat-060807
> Convert jdbcapi/parameterMetaDataJdbc30.java to JUnit.

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

View raw message