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

Carsten Ziegeler closed SLING-5508.
-----------------------------------

> Provide additional Hamcrest matchers
> ------------------------------------
>
>                 Key: SLING-5508
>                 URL: https://issues.apache.org/jira/browse/SLING-5508
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Testing Hamcrest 1.0.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>             Fix For: Testing Hamcrest 1.0.0
>
>
> Currently the Hamcrest matchers provided in SLING-5063 only can match for 
> some of the child names. An exact match is missing. Desired would be methods 
> like 
> # {{ResourceMatchers.containsChildren}}
> # {{ResourceMatchers.containsChildrenInAnyOrder}}
> similar to {{Matcher.contains}} and {{Matchers.containsInAnyOrder}}
> In addition it would be good to have a matcher on just a single resource for 
> a given name like {{ResourceMatchers.resourceWithName}} and also a 
> combination of the name matcher with the property matcher 
> ({{ResourceMatchers.resourceWithNameAndProps}})



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to