osgi / bugzilla-archive

Archive of OSGi Alliance Specification Bugzilla bugs. The Specification Bugzilla system was decommissioned with the move to GitHub. The issues in this repository are imported from the Specification Bugzilla system for archival purposes.
0 stars 1 forks source link

[framework] there is no CT test which covers a "normal bundle requiring capability provided by a framework extension" #2951

Open bjhargrave opened 6 years ago

bjhargrave commented 6 years ago

Original bug ID: BZ#3083 From: @rotty3000 Reported version: R7

bjhargrave commented 6 years ago

Comment author: @rotty3000

There is no CT test which covers a "bundle requiring capability provided by a framework extension".

bjhargrave commented 6 years ago

Comment author: @tjwatson

Note that there is this test:

org.osgi.test.cases.framework.launch.junit.ExtensionDependencyTests.testRequireCapabilityFromExtension()

This is a bit of a corner case where it tests that one extension can require the capability of another extension. We may be missing a test where a normal bundle requires a capability from an extension. This existing testcase could be easily updated to include a normal bundle which also requires the extension capability.

bjhargrave commented 6 years ago

Comment author: @rotty3000

(In reply to Thomas Watson from comment BZ#1)

We may be missing a test where a normal bundle requires a capability from an extension.

That's exactly what I'm referring to. This is precisely the edge case that someone inadvertently stumbled over.

bjhargrave commented 4 years ago

Comment author: @bjhargrave

CPEG call: Assigned to Anjum to add a new test case.