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/02/26 12:49:05 UTC
[jira] [Closed] (SLING-4434) Sling Mock: MockModelAdapterFactory
not compatible with latest Sling Models Impl
[ https://issues.apache.org/jira/browse/SLING-4434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert closed SLING-4434.
---------------------------------
Assignee: (was: Stefan Seifert)
> Sling Mock: MockModelAdapterFactory not compatible with latest Sling Models Impl
> --------------------------------------------------------------------------------
>
> Key: SLING-4434
> URL: https://issues.apache.org/jira/browse/SLING-4434
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: Testing Sling Mock 1.1.2
> Reporter: Stefan Seifert
> Priority: Minor
> Labels: mocks
> Fix For: Testing Sling Mock 1.2.0
>
>
> the current sling mock MockModelAdapterFactory implementation is not compatible with the latest sling models implementation because it does not support InjectAnnotationProcessorFactory2 and StaticInjectAnnotationProcessorFactory interfaces.
> a better solution than the current hard-wired mock wiring of injectors would be to enhance the osgi mock and bind/unbind them dynamically, then the new interfaces would be supported as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)