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 2016/12/21 14:19:58 UTC
[jira] [Resolved] (SLING-6416) MockValueMap does not permit to get
a BigDecimal value
[ https://issues.apache.org/jira/browse/SLING-6416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert resolved SLING-6416.
-----------------------------------
Resolution: Fixed
Completed: At revision: 1775430
> MockValueMap does not permit to get a BigDecimal value
> ------------------------------------------------------
>
> Key: SLING-6416
> URL: https://issues.apache.org/jira/browse/SLING-6416
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Testing ResourceResolver Mock 1.1.14
> Reporter: Christophe Jelger
> Assignee: Stefan Seifert
>
> The {{get(String name, Class<T> type)}} method in {{MockValueMap.java}} does not support {{BigDecimal}} as a type. This is supported by the {{JcrValueMap}} and {{JcrPropertyMapCacheEntry}} classes, and hence means that it's not possible to test code that reads a {{BigDecimal}} property value from the JCR.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)