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

Add ResourceBuilder Support to sling-mock

    XMLWordPrintableJSON

Details

    Description

      we want to provide the Sling ResourceBuilder as alternative way in sling mock to simply create test resources.

      currently sling mocks supports it's own "ContentBuilder" via the create() method on the context.
      a new method build() should be added which provides a preconfigred ResourceBuilder instance for the current resource resolver.

      alternatively the ResourceResolverFactory service can be accessed directly form the test code.

      Attachments

        Issue Links

          Activity

            People

              sseifert Stefan Seifert
              sseifert Stefan Seifert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: