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 2014/12/10 00:17:13 UTC
[jira] [Closed] (SLING-4202) OSGi Mock: Fail-fast when mandatory
references cannot be injected
[ https://issues.apache.org/jira/browse/SLING-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-4202.
---------------------------------
Assignee: (was: Stefan Seifert)
> OSGi Mock: Fail-fast when mandatory references cannot be injected
> -----------------------------------------------------------------
>
> Key: SLING-4202
> URL: https://issues.apache.org/jira/browse/SLING-4202
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: Testing OSGi Mock 1.0.0
> Reporter: Stefan Seifert
> Priority: Minor
> Labels: mocks
> Fix For: Testing OSGi Mock 1.1.0
>
>
> currently only WARN messages are logged when mandory service references cannot be injected, or more than one reference exists for an unary reference.
> the injectServices methods should throw an exception in this case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)