[
https://issues.apache.org/jira/browse/DERBY-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vemund Østgaard updated DERBY-3445:
-----------------------------------
Attachment: 3445-testspecific-diffv2
3445-general-diffv2
Attaching new versions of the two patches that I think addresses Dans first
comment on the addition of permissions to derby.jar.
The changes are that I have added a property "emma.enabled" to each
EMMA-related permission so that they will be ignored if that property is not
set. The property is set to an empty string by the SecurityManagerSetup if
emma.jar is in the classpath.
I tried granting the permissions to the whole stack, but then at least one test
broke because of that as it got permission to something it wasn't supposed to.
> Make it easier to use the EMMA tool to measure the code coverage of the Derby
> testing
> -------------------------------------------------------------------------------------
>
> Key: DERBY-3445
> URL: https://issues.apache.org/jira/browse/DERBY-3445
> Project: Derby
> Issue Type: Improvement
> Components: Build tools
> Reporter: Vemund Østgaard
> Assignee: Vemund Østgaard
> Attachments: 3445-general-diff, 3445-general-diffv2,
> 3445-testspecific-diff, 3445-testspecific-diffv2
>
>
> It is a bit tricky to use EMMA to measure code coverage for the derby testing.
> Modifications must be made to the source both to avoid problems with the
> SecurityManager and individual tests. It would be good if these modifcations
> could be done once and for all so that it was easier for anyone to run the
> tests with EMMA.
> It would also be good to have ant tasks that would make it even easier to run
> the tests with EMMA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.