C D H M N O P R 
All Classes All Packages

C

containsChildren(String...) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches resources which have exactly the children with the names given in children.
containsChildrenInAnyOrder(String...) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches resources which have exactly the children with the names given in children.

D

describeMismatchSafely(Collection<Resource>, Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceCollectionPathMatcher
 
describeMismatchSafely(Iterator<Resource>, Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceIteratorPathMatcher
 
describeMismatchSafely(Resource, Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceChildrenMatcher
 
describeMismatchSafely(Resource, Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceNameMatcher
 
describeMismatchSafely(Resource, Description) - Method in class org.apache.sling.hamcrest.matchers.ResourcePathMatcher
 
describeMismatchSafely(Resource, Description) - Method in class org.apache.sling.hamcrest.matchers.ResourcePropertiesMatcher
 
describeMismatchSafely(Resource, Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceTypeMatcher
 
describeTo(Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceChildrenMatcher
 
describeTo(Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceCollectionPathMatcher
 
describeTo(Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceIteratorPathMatcher
 
describeTo(Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceNameMatcher
 
describeTo(Description) - Method in class org.apache.sling.hamcrest.matchers.ResourcePathMatcher
 
describeTo(Description) - Method in class org.apache.sling.hamcrest.matchers.ResourcePropertiesMatcher
 
describeTo(Description) - Method in class org.apache.sling.hamcrest.matchers.ResourceTypeMatcher
 

H

hasChildren(String...) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches resources which have amongst their children the specified children.

M

matchesSafely(Collection<Resource>) - Method in class org.apache.sling.hamcrest.matchers.ResourceCollectionPathMatcher
 
matchesSafely(Iterator<Resource>) - Method in class org.apache.sling.hamcrest.matchers.ResourceIteratorPathMatcher
 
matchesSafely(Resource) - Method in class org.apache.sling.hamcrest.matchers.ResourceChildrenMatcher
 
matchesSafely(Resource) - Method in class org.apache.sling.hamcrest.matchers.ResourceNameMatcher
 
matchesSafely(Resource) - Method in class org.apache.sling.hamcrest.matchers.ResourcePathMatcher
 
matchesSafely(Resource) - Method in class org.apache.sling.hamcrest.matchers.ResourcePropertiesMatcher
 
matchesSafely(Resource) - Method in class org.apache.sling.hamcrest.matchers.ResourceTypeMatcher
 

N

name(String) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches only if the resource has the given name
nameAndProps(String, Object...) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches resources which has the given name and at least the specified properties defined with matching values
nameAndProps(String, Map<String, Object>) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches resources which has the given name and at least the specified properties defined with matching values

O

org.apache.sling.hamcrest - package org.apache.sling.hamcrest
 
org.apache.sling.hamcrest.matchers - package org.apache.sling.hamcrest.matchers
 

P

path(String) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches only if the resource has the given path
paths(String...) - Static method in class org.apache.sling.hamcrest.ResourceCollectionMatchers
Asserts that the given resource collection has resources with exactly the given paths in the given order.
paths(String...) - Static method in class org.apache.sling.hamcrest.ResourceIteratorMatchers
Asserts that the given resource collection has resources with exactly the given paths in the given order.
props(Object...) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches resources which has at least the specified properties defined with matching values
props(Map<String, Object>) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches resources which has at least the specified properties defined with matching values

R

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 (exactly).
ResourceTypeMatcher - Class in org.apache.sling.hamcrest.matchers
Matcher which matches whenever the type of the given resource is equal to the type in the constructor (optionally allowing also sub types).
ResourceTypeMatcher(String, boolean) - Constructor for class org.apache.sling.hamcrest.matchers.ResourceTypeMatcher
 
resourceTypeOrDerived(String) - Static method in class org.apache.sling.hamcrest.ResourceMatchers
Matches resources with a resource type set to the specified resourceType or one of its sub types.
C D H M N O P R 
All Classes All Packages