Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6363

sling-mock: Automatically register Sling Models from Classpath

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sseifert Stefan Seifert
                Reporter:
                sseifert Stefan Seifert
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: