You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2023/04/14 07:53:00 UTC
[jira] [Resolved] (SLING-3448) Please implement MockProperty's isMultiple method
[ https://issues.apache.org/jira/browse/SLING-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-3448.
-------------------------------------
Resolution: Won't Fix
> Please implement MockProperty's isMultiple method
> -------------------------------------------------
>
> Key: SLING-3448
> URL: https://issues.apache.org/jira/browse/SLING-3448
> Project: Sling
> Issue Type: Bug
> Reporter: Ben Swanson
> Priority: Minor
>
> org.apache.sling.commons.testing.jcr.MockProperty
> isMultiple method always returns false.
> This makes it impossible to test clients that use multiple values.
> This method should return values.length > 1
> Many of the other methods already use this expression to determine that they are single valued.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)