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-2727) convert lang/AggregateClassLoading to JUnit.
Date Tue, 12 Jun 2007 22:11:26 GMT

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

Kathey Marsden commented on DERBY-2727:
---------------------------------------

I see that for the original test there is a AggregateClassLoading_app.properties
which has:


# this test creates a class loader, adding that permission to
# derbyTesting.jar would mean that permission was granted all
# the way up the stack to the derby engine. Thus increasing
# the chance that incorrectly a privileged block could be dropped
# but the tests continue to pass.
noSecurityManager=true

The equivalant junit decorator is org.apache.derbyTesting.junit.SecurityManagerSetup.noSecurityManager(Test
test);
http://db.apache.org/derby/javadoc/testing/org/apache/derbyTesting/junit/SecurityManagerSetup.html#noSecurityManager(junit.framework.Test)



> convert lang/AggregateClassLoading to JUnit.
> --------------------------------------------
>
>                 Key: DERBY-2727
>                 URL: https://issues.apache.org/jira/browse/DERBY-2727
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>            Reporter: Ugo Matrangolo
>            Assignee: Ugo Matrangolo
>            Priority: Minor
>         Attachments: DERBY-2727_diff_120607.txt, DERBY-2727_stat_120607.txt
>
>


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