db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tiago R. Espinha (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3834) Convert derbynet/runtimeinfo to JUnit
Date Wed, 24 Jun 2009 23:20:07 GMT

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

Tiago R. Espinha updated DERBY-3834:
------------------------------------

    Attachment: DERBY-3834.stat
                DERBY-3834.patch

Attaching a patch to the issue.

This patch has Myrna's remarks in consideration. It no longer uses the ExecProcUtil but execJavaCmd
instead. It also uses the println() in BaseTestCase which will only print when the tests are
being ran on verbose mode.

This patch also fixes the issue where only the second run would pass. Since it is impossible
to predict the order by which the prepared statements will appear under x_testRuntimeInfoLocale(),
I worked around it by parsing just parts of the output.

Also, the methods are invoked by a single fixture testRunTests(), since the order by which
they are ran does matter and we can't rely on JUnit to run them in order.

> Convert derbynet/runtimeinfo to JUnit
> -------------------------------------
>
>                 Key: DERBY-3834
>                 URL: https://issues.apache.org/jira/browse/DERBY-3834
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions: 10.5.1.1
>            Reporter: Erlend Birkenes
>            Assignee: Tiago R. Espinha
>            Priority: Minor
>         Attachments: DERBY-3834.patch, DERBY-3834.stat, Derby-3834_1.diff
>
>


-- 
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