You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2014/01/20 22:27:20 UTC

[jira] [Resolved] (FELIX-4355) [Core R5] org.osgi.test.cases.framework.launch OSGi CT test failure

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

Richard S. Hall resolved FELIX-4355.
------------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

I've modified the manifest parser to assume "framework" is the default for the "extension" directive in the Fragment-Host header of extension bundles. It is not clear if this was specifically agreed upon during the spec process, but we've agreed that it is reasonable and will clarify it in the spec. Please close if satisfied.

> [Core R5] org.osgi.test.cases.framework.launch OSGi CT test failure
> -------------------------------------------------------------------
>
>                 Key: FELIX-4355
>                 URL: https://issues.apache.org/jira/browse/FELIX-4355
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>            Reporter: David Bosschaert
>            Assignee: Richard S. Hall
>             Fix For: framework-4.4.0
>
>
> The org.osgi.test.cases.framework.launch OSGi CT test suite has 1 test failure:
> org.osgi.test.cases.framework.launch.junit.ExtensionBundleTests
> testFrameworkExtensionDefault(org.osgi.test.cases.framework.launch.junit.ExtensionBundleTests)
> junit.framework.AssertionFailedError: expected framework extension bundle to be resolved
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at org.osgi.test.cases.framework.launch.junit.ExtensionBundleTests.testFrameworkExtensionDefault(ExtensionBundleTests.java:169)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at junit.framework.TestCase.runTest(TestCase.java:164)
> 	at junit.framework.TestCase.runBare(TestCase.java:130)
> 	at junit.framework.TestResult$1.protect(TestResult.java:106)
> 	at junit.framework.TestResult.runProtected(TestResult.java:124)
> 	at junit.framework.TestResult.run(TestResult.java:109)
> 	at junit.framework.TestCase.run(TestCase.java:120)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
> 	at junit.framework.TestSuite.run(TestSuite.java:225)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:230)
> 	at junit.framework.TestSuite.run(TestSuite.java:225)
> 	at aQute.junit.Activator.test(Activator.java:226)
> 	at aQute.junit.Activator.automatic(Activator.java:118)
> 	at aQute.junit.Activator.run(Activator.java:59)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)