You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "dan mcweeney (JIRA)" <ji...@apache.org> on 2014/10/09 23:46:34 UTC

[jira] [Commented] (SLING-4024) Allow the ResourceResolver Mock Factory to initialize a Resolver via JSON

    [ https://issues.apache.org/jira/browse/SLING-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165809#comment-14165809 ] 

dan mcweeney commented on SLING-4024:
-------------------------------------

A pull request is available that creates this functionality here:  https://github.com/apache/sling/pull/30

> Allow the ResourceResolver Mock Factory to initialize a Resolver via JSON
> -------------------------------------------------------------------------
>
>                 Key: SLING-4024
>                 URL: https://issues.apache.org/jira/browse/SLING-4024
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing ResourceResolver Mock 0.3.0
>            Reporter: dan mcweeney
>
> Sling can easily produce JSON for a tree of nodes. It would make things much easier to be able to initialize the Resource Resolvers produced from the MockResourceResolverFactory with this JSON. It will allow people to create test fixtures based off real data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)