db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Houx Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5327) Convert tools/ij5.sql to junit
Date Tue, 12 Jul 2011 13:54:59 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Houx Zhang updated DERBY-5327:
------------------------------

    Attachment: 5327-ij5-1.out
                5327-1.patch

Ask for help!

I have ij5Test.java to test ij5.sql, but can not get the expected result.

Question 1:
As the ij5.sql has shows:
"1)at the startup time, it will list all the connections".
 I have set  "ij.showNoConnectionsAtStart" to "false". but no connection is shown. Why?

Question 2:
As the ij5.sql has shows:
"2)select will now display number of rows selected".
 I have set  "ij.showNoCountForSelect" to "false". but no count is shown. Why?

Question 3:
With the property "props.setProperty("ij.connection.connOne", "jdbc:derby:wombat;create=true");",
connOne is 

created actually(I have ever tested this by adding "show connections;"). However, subclass
of ScriptTestCase 

will create wombat by default, this will affect the expected result. How to stop subclass
of ScriptTestCase to 

create wombat by default, please?

Thanks!



> Convert tools/ij5.sql  to junit
> -------------------------------
>
>                 Key: DERBY-5327
>                 URL: https://issues.apache.org/jira/browse/DERBY-5327
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>            Reporter: Houx Zhang
>            Assignee: Houx Zhang
>              Labels: gsoc2011
>         Attachments: 5327-1.patch, 5327-ij5-1.out
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message