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/11/26 23:16:13 UTC
[jira] [Created] (SLING-4202) OSGi Mock: Fail-fast when mandatory
references cannot be injected
Stefan Seifert created SLING-4202:
-------------------------------------
Summary: 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
Assignee: Stefan Seifert
Priority: Minor
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)