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

ASF GitHub Bot commented on SLING-4024:
---------------------------------------

GitHub user mcdan opened a pull request:

    https://github.com/apache/sling/pull/30

    SLING-4024 - Creates a new MockResourceResolverBuilder class

    * This class is capable of creating a resource resolver based
    on JSON data that can be retrieved from sling's .json selector
    * Includes test that cover its function
    * Had to add org.apache.sling.commons.json to the pom to enable
    parsing

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mcdan/sling people/mcweeney/SLING-4024

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/sling/pull/30.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #30
    
----
commit d161c9e83d344293414217297f88051197716407
Author: mcdan <mcwee...@adobe.com>
Date:   2014-10-09T21:35:55Z

    SLING-4024 - Creates a new MockResourceResolverBuilder class
    * This class is capable of creating a resource resolver based
    on JSON data that can be retrieved from sling's .json selector
    * Includes test that cover its function
    * Had to add org.apache.sling.commons.json to the pom to enable
    parsing

----


> 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)

Reply via email to