[
https://issues.apache.org/jira/browse/SLING-6416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seifert closed SLING-6416.
---------------------------------
> 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
> Labels: mocks
> Fix For: Testing ResourceResolver Mock 1.1.16
>
>
> 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)