You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2015/05/22 10:46:17 UTC

[jira] [Resolved] (SLING-4738) MockValueMap should also throw UOE for modification operations

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

Stefan Seifert resolved SLING-4738.
-----------------------------------
    Resolution: Fixed

Completed: At revision: 1681045  


> MockValueMap should also throw UOE for modification operations
> --------------------------------------------------------------
>
>                 Key: SLING-4738
>                 URL: https://issues.apache.org/jira/browse/SLING-4738
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing ResourceResolver Mock 1.1.0
>            Reporter: Konrad Windszus
>            Assignee: Stefan Seifert
>              Labels: mocks
>             Fix For: Testing ResourceResolver Mock 1.1.6
>
>
> To be closer to the original {{org.apache.sling.jcr.resource.JcrPropertyMap}} the {{org.apache.sling.testing.resourceresolver.MockValueMap}} should not be modifiable. All modification methods like put, putAll, clear and remove should throw {{UnsupportedOperationException}}s.



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