Konrad Windszus created SLING-5508:
--------------------------------------

             Summary: 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: Apache Sling Testing Hamcrest 1.0.0
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus


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