- ResourceChildrenMatcher - Class in org.apache.sling.hamcrest.matchers
-
A matcher which matches if the given resource has at least the child resources with the names given in the constructor.
- ResourceChildrenMatcher(List<String>, boolean, boolean) - Constructor for class org.apache.sling.hamcrest.matchers.ResourceChildrenMatcher
-
- ResourceCollectionMatchers - Class in org.apache.sling.hamcrest
-
A collection of Matchers for resource collections.
- ResourceCollectionPathMatcher - Class in org.apache.sling.hamcrest.matchers
-
Ensures a collection of resources has exactly the given list of paths in the given order.
- ResourceCollectionPathMatcher(List<String>) - Constructor for class org.apache.sling.hamcrest.matchers.ResourceCollectionPathMatcher
-
- ResourceIteratorMatchers - Class in org.apache.sling.hamcrest
-
A collection of Matchers for resource iterators.
- ResourceIteratorPathMatcher - Class in org.apache.sling.hamcrest.matchers
-
Ensures an iterator of resources has exactly the given list of paths in the given order.
- ResourceIteratorPathMatcher(List<String>) - Constructor for class org.apache.sling.hamcrest.matchers.ResourceIteratorPathMatcher
-
- ResourceMatchers - Class in org.apache.sling.hamcrest
-
A collection of Matchers that work on the Resource API level
- ResourceNameMatcher - Class in org.apache.sling.hamcrest.matchers
-
Matcher which matches whenever the name of the given resource is equal to the name given in the constructor.
- ResourceNameMatcher(String) - Constructor for class org.apache.sling.hamcrest.matchers.ResourceNameMatcher
-
- ResourcePathMatcher - Class in org.apache.sling.hamcrest.matchers
-
Matcher which matches whenever the path of the given resource is equal to the path given in the constructor.
- ResourcePathMatcher(String) - Constructor for class org.apache.sling.hamcrest.matchers.ResourcePathMatcher
-
- ResourcePropertiesMatcher - Class in org.apache.sling.hamcrest.matchers
-
- ResourcePropertiesMatcher(Map<String, Object>) - Constructor for class org.apache.sling.hamcrest.matchers.ResourcePropertiesMatcher
-
- resourceType(String) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
-
Matches resources with a resource type set to the specified resourceType
assertThat(resource, resourceOfType('my/app'));