Stefan Seifert created SLING-3889:
-------------------------------------

             Summary: 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


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.2#6252)

Reply via email to