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

caconfig-mock-plugin: Support writing nested configurations and configuration collections

    XMLWordPrintableJSON

Details

    Description

      currently it's quite cumbersome to persist nested context-aware configurations in unit tests, as the helper methods in MockContextAwareConfig.writeConfiguration* only support writing single configurations and configurations lists without nested structures.

      without changing the API signatures of those, it should be supported that the maps passed to this helper methods contain:

      • nested maps which are persisted as nested configurations with the given key
      • nested lists with maps with are persisted as nested configuration lists with the given key

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: