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-5084) convert ijConnName.sql to a ScriptTest junit test
Date Thu, 17 Mar 2011 21:38:29 GMT

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

Kathey Marsden commented on DERBY-5084:
---------------------------------------

Hello Houx. Thank you for contributing to derby.

For 1) Adding the blank line is fine.   This is covered in the http://wiki.apache.org/db-derby/ConvertSqlScriptTestsToJunit
page under Test fails. Because the old harness did a sed of the output it can have white space
differences.

Part of the final patch will need to be to take the test out of the old harness which will
mean at least taking it out of suites/tools.runall and taking out the ijConnName*properties
files.

I am not sure about the SystemProperty problem.  I wonder if ScriptTestCase sets up its own
connection that interferes?




> convert ijConnName.sql to a ScriptTest junit test
> -------------------------------------------------
>
>                 Key: DERBY-5084
>                 URL: https://issues.apache.org/jira/browse/DERBY-5084
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Myrna van Lunteren
>            Priority: Trivial
>              Labels: derby_triage10_8
>         Attachments: DERBY-5084.patch
>
>
> In DERBY-3089 it is mentioned that tools/ijConnName.sql should get converted to a junit
test, probably using ScriptTest.
> Making a separate issue so that that issue can be closed.

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

Mime
View raw message