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/05/22 21:51:18 UTC

[jira] [Closed] (SLING-4472) MockBundleContent.getProperty should return null

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

Stefan Seifert closed SLING-4472.
---------------------------------

> MockBundleContent.getProperty should return null
> ------------------------------------------------
>
>                 Key: SLING-4472
>                 URL: https://issues.apache.org/jira/browse/SLING-4472
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing OSGi Mock 1.2.0
>            Reporter: Chetan Mehrotra
>            Assignee: Stefan Seifert
>            Priority: Minor
>             Fix For: Testing OSGi Mock 1.3.0
>
>
> {{MockBundleContext.getProperty}} currently throws {{UnsupportedOperationException}}. Instead if it can return null that would allow some scenarios to be tested where logic checks for Framework properties.
> Or if possible allow passing of Properties to represent Framework properties say why delegating to System property to passing an explicit set of properties while instantiate {{MockBundleContext}}



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