db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2505) Convert derbynet/testij.java to JUnit
Date Sat, 31 Mar 2007 00:11:25 GMT

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

Andrew McIntyre updated DERBY-2505:

    Attachment: derby-2505-v1.diff

Note that this also wraps a bunch of System property accesses in ij in privileged action blocks.
I think the calls to System.getProperties() are not needed and should be replaced, these could
be reduced to a set of calls to System.getProperty() for each ij property we are actually
interested in, then pass those values out of the priv blocks in a new properties object. This
should allow us to reduce the PropertyPermissions ij needs from "*" read,write to "ij.*" read,

> Convert derbynet/testij.java to JUnit
> -------------------------------------
>                 Key: DERBY-2505
>                 URL: https://issues.apache.org/jira/browse/DERBY-2505
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions:
>            Reporter: Andrew McIntyre
>         Assigned To: Andrew McIntyre
>            Priority: Minor
>         Attachments: derby-2505-v1.diff
> In the process of converting this test, I realized we needed an way to run ij tests that
would work with multiple connections. So, I made an IjTestCase that runs a script through
ij's main method, redirects the output to a file, and then compares the file to a canon.
> Attaching a patch for this issue which does that. The test creates several databases
during its run. Should the JUnit wrappers for ij tests be cleaning these up, or will these
get cleaned up later automatically?

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

View raw message