You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mathieu Lirzin (JIRA)" <ji...@apache.org> on 2019/04/22 13:37:00 UTC

[jira] [Updated] (OFBIZ-10941) Use ‘contains’ and ‘containsInAnyOrder’ matchers when possible

     [ https://issues.apache.org/jira/browse/OFBIZ-10941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mathieu Lirzin updated OFBIZ-10941:
-----------------------------------
    Attachment: OFBIZ-10941_0001-Use-containsInAnyOrder-matcher-when-possibl.patch
                OFBIZ-10941_0002-Use-contains-matcher-when-possible.patch

> Use ‘contains’ and ‘containsInAnyOrder’ matchers when possible
> --------------------------------------------------------------
>
>                 Key: OFBIZ-10941
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10941
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10941_0001-Use-containsInAnyOrder-matcher-when-possibl.patch, OFBIZ-10941_0002-Use-contains-matcher-when-possible.patch
>
>
> In unit tests {{hasItems}} and {{size}} matchers are used when {{contains}} or {{containsInAnyOrder}} would be a better match.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)