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

sling-mock: Dynamically resolve SlingBindings properties

    XMLWordPrintableJSON

Details

    Description

      currently, the SlingBindings object is initialized statically when the mock context is created.

      but some properties - especially the current resource - may change during the testing code, but should nevertheless always point to the correct result.

      we should resolve the SlingBindings properties dynamically to the current mock context, and also allow this for subclasses of SlingContextImpl.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: