Stefan Seifert created SLING-11839:
--------------------------------------

             Summary: caconfig-mock-plugin: Support writing nested 
configurations and configuration collections
                 Key: SLING-11839
                 URL: https://issues.apache.org/jira/browse/SLING-11839
             Project: Sling
          Issue Type: New Feature
          Components: Testing
            Reporter: Stefan Seifert
            Assignee: Stefan Seifert
             Fix For: Context-Aware Configuration Mock Plugin 1.5.0


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to