Stefan Seifert created SLING-6363:
-------------------------------------

             Summary: sling-mock: Automatically register Sling Models from 
Classpath
                 Key: SLING-6363
                 URL: https://issues.apache.org/jira/browse/SLING-6363
             Project: Sling
          Issue Type: New Feature
          Components: Testing
            Reporter: Stefan Seifert
            Assignee: Stefan Seifert
             Fix For: Testing Sling Mock 1.9.0, Testing Sling Mock 2.2.0


up to this version sling models in unit tests only worked when registered 
beforehand with the addModelsForPackage(...) method.

when running unit test with sling mocks existing bundle headers in MANIFEST 
files in the class path should be scanned for {{Sling-Model-Packages}} and 
{{Sling-Model-Classes}} entries, and those should be registered automatically.



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

Reply via email to