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/19 03:13:11 UTC

[jira] [Created] (SLING-4434) Sling Mock: MockModelAdapterFactory not compatible with latest Sling Models Impl

Stefan Seifert created SLING-4434:
-------------------------------------

             Summary: 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
            Assignee: Stefan Seifert
            Priority: Minor
             Fix For: Testing Sling Mock 1.1.4


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)