public class ResourceChildrenMatcher
extends org.hamcrest.TypeSafeMatcher<org.apache.sling.api.resource.Resource>
Constructor and Description |
---|
ResourceChildrenMatcher(List<String> childNames,
boolean exactMatch,
boolean validateOrder) |
Modifier and Type | Method and Description |
---|---|
protected void |
describeMismatchSafely(org.apache.sling.api.resource.Resource item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(org.apache.sling.api.resource.Resource item) |
public void describeTo(org.hamcrest.Description description)
protected boolean matchesSafely(org.apache.sling.api.resource.Resource item)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<org.apache.sling.api.resource.Resource>
protected void describeMismatchSafely(org.apache.sling.api.resource.Resource item, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<org.apache.sling.api.resource.Resource>
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.