You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/07/23 23:58:04 UTC

[jira] [Resolved] (SLING-4901) osgi-mock: Add support for ComponentContext.getUsingBundle()

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

Stefan Seifert resolved SLING-4901.
-----------------------------------
    Resolution: Fixed

Completed: At revision: 1692452  


> osgi-mock: Add support for ComponentContext.getUsingBundle()
> ------------------------------------------------------------
>
>                 Key: SLING-4901
>                 URL: https://issues.apache.org/jira/browse/SLING-4901
>             Project: Sling
>          Issue Type: New Feature
>          Components: Testing
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Minor
>              Labels: mocks
>             Fix For: Testing OSGi Mock 1.4.0
>
>
> the method throws UnsupportedOperationException.
> it should return null if no using bundle is set. optionally it should be possible to set a using bundle for a mocked component context to simulate bundle-scoped services.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)