db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ugo Matrangolo (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2727) convert lang/AggregateClassLoading to JUnit.
Date Tue, 12 Jun 2007 21:00:28 GMT

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

Ugo Matrangolo updated DERBY-2727:
----------------------------------

    Attachment: DERBY-2727_stat_120607.txt
                DERBY-2727_diff_120607.txt

Initial attempt to convert this test.

At first sight it seems trivial to convert but, obviously, he doesn't work! :)

Running the test I get a security exception:

java.security.AccessControlException: access denied (java.lang.RuntimePermission getProtectionDomain)
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
	at java.security.AccessController.checkPermission(AccessController.java:401)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
	at java.lang.Class.getProtectionDomain(Class.java:1392)
	at org.apache.derbyTesting.functionTests.tests.lang.AggregateClassLoadingTest$1.decorateSQL(AggregateClassLoadingTest.java:106)
	at org.apache.derbyTesting.junit.CleanDatabaseTestSetup.setUp(CleanDatabaseTestSetup.java:70)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.extensions.TestSetup.run(TestSetup.java:25)
	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Can someone point me toward the solution of this ??

Thank you in advance,
-- Ugo.

> 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