sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sufyan Haroon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-7550) MockBundleContext does not get service references when class is null and filter is non-null
Date Tue, 20 Mar 2018 10:22:00 GMT

    [ https://issues.apache.org/jira/browse/SLING-7550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16406075#comment-16406075
] 

Sufyan Haroon commented on SLING-7550:
--------------------------------------

[~sseifert@pro-vision.de], thanks for merging it. Can you please let me know when can I expect
a release for this component?

> MockBundleContext does not get service references when class is null and filter is non-null
> -------------------------------------------------------------------------------------------
>
>                 Key: SLING-7550
>                 URL: https://issues.apache.org/jira/browse/SLING-7550
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: Testing OSGi Mock 2.3.6
>            Reporter: Sufyan Haroon
>            Assignee: Stefan Seifert
>            Priority: Major
>             Fix For: Testing OSGi Mock 2.3.8
>
>
> When invoking BundleContext [api|https://osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html#getServiceReferences(java.lang.String,
java.lang.String)], when the class parameter is specified as null and filter param is non-null,
it is expected to return reference of all services which satisfy the filter regardless of
their class. 
> When the same api is invoked in MockBundleContext, it does not returns any service references
when class param is null and filter param is non-null. MockBundleContextshould behave is a
way which is similar to original implementation



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message