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/07/24 00:27:04 UTC
[jira] [Resolved] (SLING-4850) MockValueMap should implement
containsKey
[ https://issues.apache.org/jira/browse/SLING-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-4850.
-----------------------------------
Resolution: Fixed
Completed: At revision: 1692454
should be fixed
> MockValueMap should implement containsKey
> -----------------------------------------
>
> Key: SLING-4850
> URL: https://issues.apache.org/jira/browse/SLING-4850
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: Testing ResourceResolver Mock 1.1.6
> Reporter: Markus Heer
> Assignee: Stefan Seifert
> Priority: Minor
> Fix For: Testing ResourceResolver Mock 1.1.8
>
>
> MockValueMap inherits ValueMapDecorator which uses an underlying map.
> Methods using that map do not take care of the deep path features of the MockValueMap.
> Eg. mockValueMap.containsKey("path/property") returns false even when mockValueMap.get("path/property", ... returns the property value.
> MockValueMap should therefore override methods like containsKey.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)