Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

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

Open
bjhargrave opened this issue Jul 17, 2018 · 4 comments
Assignees

Comments

@bjhargrave
Copy link
Member

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

@bjhargrave
Copy link
Member Author

Comment author: @rotty3000

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

@bjhargrave
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

Comment author: @bjhargrave

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants