[ 
https://issues.apache.org/jira/browse/SLING-3889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seifert closed SLING-3889.
---------------------------------
    Assignee:     (was: Stefan Seifert)

> resourceresolver-mock: Make compatible to JCR resource
> ------------------------------------------------------
>
>                 Key: SLING-3889
>                 URL: https://issues.apache.org/jira/browse/SLING-3889
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing ResourceResolver Mock 0.2.0
>            Reporter: Stefan Seifert
>             Fix For: Testing ResourceResolver Mock 0.3.0
>
>         Attachments: 140827_SLING-3889_resourceresolvermock.patch
>
>
> the attached patch enhances the resourceresolver-mock implementation with 
> this features that are missing to make it behave JCR-like:
> * support resources for properties
> * support converting Date objects to Calendar and vice versa
> * support storing and retrieving binary data using InputStream.class
> * return value of property jcr:primaryType as resource type when no resource 
> type is defined
> and it adds unit tests for the whole sling CRUD behavior and these 
> specialities.



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

Reply via email to