[
https://issues.apache.org/jira/browse/SLING-6416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu updated SLING-6416:
--------------------------------
Description:
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.
was:
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.
> 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
>
> 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)