A B C D E F G H I M N O P R S T V W

A

anElement(Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Combines a group of matchers for matching an Element.
apply(Field) - Method in class org.testinfected.hamcrest.jpa.PersistentFieldPredicate
 

B

being(Object) - Static method in class org.testinfected.hamcrest.core.StringMatchers
Checks that a string is equal to the string representation of an expected value.

C

componentEqualTo(T) - Static method in class org.testinfected.hamcrest.jpa.IsComponentEqual
 
componentEqualTo(T) - Static method in class org.testinfected.hamcrest.jpa.PersistenceMatchers
Checks that a component (aka value object) is equal to another given component.
containsAttribute(String) - Static method in class org.testinfected.hamcrest.spring.HasAttribute
 
containsAttribute(String) - Static method in class org.testinfected.hamcrest.spring.SpringMatchers
Checks that a web Model contains some non-null value stored under a specific key.

D

describeTo(Description) - Method in class org.testinfected.hamcrest.core.IsBlankString
 
describeTo(Description) - Method in class org.testinfected.hamcrest.dom.HasAttribute
 
describeTo(Description) - Method in class org.testinfected.hamcrest.dom.HasNoSelector
 
describeTo(Description) - Method in class org.testinfected.hamcrest.dom.HasSelector
 
describeTo(Description) - Method in class org.testinfected.hamcrest.dom.HasUniqueSelector
 
describeTo(Description) - Method in class org.testinfected.hamcrest.jpa.HasFieldWithValue
 
describeTo(Description) - Method in class org.testinfected.hamcrest.jpa.IsComponentEqual
 
describeTo(Description) - Method in class org.testinfected.hamcrest.jpa.SamePersistentFieldsAs
 
describeTo(Description) - Method in class org.testinfected.hamcrest.jpa.SamePersistentFieldsAs.FieldMatcher
 
describeTo(Description) - Method in class org.testinfected.hamcrest.validation.HasNodesAlongPath
 
DomMatchers - Class in org.testinfected.hamcrest.dom
A collection of hamcrest matchers to validate DOM elements (objects of type Element).

E

ExceptionImposter - Exception in org.testinfected.hamcrest
 
ExceptionImposter(Exception) - Constructor for exception org.testinfected.hamcrest.ExceptionImposter
 

F

fails() - Static method in class org.testinfected.hamcrest.validation.ViolationMatchers
Checks that validation fails, i.e.
featureValueOf(Element) - Method in class org.testinfected.hamcrest.dom.HasAttributeValue
 
featureValueOf(Element) - Method in class org.testinfected.hamcrest.dom.HasChildren
 
featureValueOf(Element) - Method in class org.testinfected.hamcrest.dom.HasContentText
 
featureValueOf(Element) - Method in class org.testinfected.hamcrest.dom.HasTag
 
featureValueOf(Model) - Method in class org.testinfected.hamcrest.spring.HasAttribute
 
fieldsOf(Object, Predicate<Field>) - Static method in class org.testinfected.hamcrest.jpa.Reflection
 
fieldsOf(Class<?>, Predicate<Field>) - Static method in class org.testinfected.hamcrest.jpa.Reflection
 

G

getRealException() - Method in exception org.testinfected.hamcrest.ExceptionImposter
 

H

hasAttribute(String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks for the presence of the specified attribute on an Element.
hasAttribute(String, String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element has an attribute with the specified value.
hasAttribute(String, Matcher<? super String>) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element has an attribute whose value matches the specified matcher.
HasAttribute - Class in org.testinfected.hamcrest.dom
 
HasAttribute(String) - Constructor for class org.testinfected.hamcrest.dom.HasAttribute
 
hasAttribute(String) - Static method in class org.testinfected.hamcrest.dom.HasAttribute
 
hasAttribute(String, String) - Static method in class org.testinfected.hamcrest.dom.HasAttributeValue
 
hasAttribute(String, Matcher<? super String>) - Static method in class org.testinfected.hamcrest.dom.HasAttributeValue
 
HasAttribute<T> - Class in org.testinfected.hamcrest.spring
 
HasAttribute(String, Matcher<? super T>) - Constructor for class org.testinfected.hamcrest.spring.HasAttribute
 
hasAttribute(String, T) - Static method in class org.testinfected.hamcrest.spring.HasAttribute
 
hasAttribute(String, T) - Static method in class org.testinfected.hamcrest.spring.SpringMatchers
Checks that a web Model contains a given key-value pair.
HasAttributeValue - Class in org.testinfected.hamcrest.dom
 
HasAttributeValue(String, Matcher<? super String>) - Constructor for class org.testinfected.hamcrest.dom.HasAttributeValue
 
hasAttributeValue(String, Matcher<? super T>) - Static method in class org.testinfected.hamcrest.spring.HasAttribute
 
hasAttributeValue(String, Matcher<? super T>) - Static method in class org.testinfected.hamcrest.spring.SpringMatchers
Checks that a web Model contains a given key-value pair.
hasBlankContent() - Static method in class org.testinfected.hamcrest.dom.HasContentText
 
hasBlankText() - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element content contains only blank characters.
hasChild(Matcher<? super Element>) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that at least one child of an Element is matched against the given matcher.
hasChild(Matcher<? super Element>) - Static method in class org.testinfected.hamcrest.dom.HasChildren
 
hasChildren(Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that children of an Element match in order the specified matchers.
hasChildren(Matcher<Iterable<Element>>) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that children of an Element match in order the specified matchers.
HasChildren - Class in org.testinfected.hamcrest.dom
 
HasChildren(Matcher<Iterable<Element>>) - Constructor for class org.testinfected.hamcrest.dom.HasChildren
 
hasChildren(Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.HasChildren
 
hasChildren(Matcher<Iterable<Element>>) - Static method in class org.testinfected.hamcrest.dom.HasChildren
 
hasClassName(String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element has the specified CSS class.
hasClassName(String) - Static method in class org.testinfected.hamcrest.dom.HasAttributeValue
 
hasContent(String) - Static method in class org.testinfected.hamcrest.dom.HasContentText
 
hasContent(Matcher<? super String>) - Static method in class org.testinfected.hamcrest.dom.HasContentText
 
HasContentText - Class in org.testinfected.hamcrest.dom
 
HasContentText(Matcher<? super String>) - Constructor for class org.testinfected.hamcrest.dom.HasContentText
 
hasField(String, Matcher<? super U>) - Static method in class org.testinfected.hamcrest.jpa.HasFieldWithValue
 
hasField(String) - Static method in class org.testinfected.hamcrest.jpa.HasFieldWithValue
 
hasField(String, Matcher<U>) - Static method in class org.testinfected.hamcrest.jpa.PersistenceMatchers
Checks that an entity has a field with a value that is matched by the provided matcher.
hasField(String) - Static method in class org.testinfected.hamcrest.jpa.PersistenceMatchers
Checks that an entity has a given field, whatever its value.
HasFieldWithValue<T,U> - Class in org.testinfected.hamcrest.jpa
 
HasFieldWithValue(String, Matcher<? super U>) - Constructor for class org.testinfected.hamcrest.jpa.HasFieldWithValue
 
hasId(String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element has an id attribute with the specified value.
hasId(String) - Static method in class org.testinfected.hamcrest.dom.HasAttributeValue
 
hasName(String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element has the specified name attribute.
hasName(String) - Static method in class org.testinfected.hamcrest.dom.HasAttributeValue
 
HasNodesAlongPath - Class in org.testinfected.hamcrest.validation
 
HasNodesAlongPath(Matcher<? super Path.Node>...) - Constructor for class org.testinfected.hamcrest.validation.HasNodesAlongPath
 
HasNodesAlongPath(List<Matcher<? super Path.Node>>) - Constructor for class org.testinfected.hamcrest.validation.HasNodesAlongPath
 
hasNoSelector(String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element is not matched by the specified CSS3 selector expression.
HasNoSelector - Class in org.testinfected.hamcrest.dom
 
HasNoSelector(String) - Constructor for class org.testinfected.hamcrest.dom.HasNoSelector
 
hasNoSelector(String) - Static method in class org.testinfected.hamcrest.dom.HasNoSelector
 
hasSelector(String, Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element matches a CSS3 selector with the specified matchers matching the subjects of the selector in any order.
hasSelector(String, Matcher<Iterable<Element>>) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element matches a CSS3 selector with the specified matchers matching the subjects of the selector.
HasSelector - Class in org.testinfected.hamcrest.dom
 
HasSelector(String) - Constructor for class org.testinfected.hamcrest.dom.HasSelector
 
HasSelector(String, Matcher<Iterable<Element>>) - Constructor for class org.testinfected.hamcrest.dom.HasSelector
 
hasSelector(String) - Static method in class org.testinfected.hamcrest.dom.HasSelector
 
hasSelector(String, Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.HasSelector
 
hasSelector(String, Matcher<Iterable<Element>>) - Static method in class org.testinfected.hamcrest.dom.HasSelector
 
hasSize(int) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that a collection of Elementa is of a specified size.
hasTag(String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element has the specified tag.
HasTag - Class in org.testinfected.hamcrest.dom
 
HasTag(Matcher<? super String>) - Constructor for class org.testinfected.hamcrest.dom.HasTag
 
hasTag(String) - Static method in class org.testinfected.hamcrest.dom.HasTag
 
hasTag(Matcher<? super String>) - Static method in class org.testinfected.hamcrest.dom.HasTag
 
hasText(String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element content is equal to the specified text.
hasText(Matcher<? super String>) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element content text matches the specified matcher.
hasUniqueSelector(String) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element matches a CSS3 selector and that the selector represents a single child element.
hasUniqueSelector(String, Matcher<? super Element>) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element matches a CSS3 selector with the specified matcher matching the only subject of the selector.
hasUniqueSelector(String, Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that an Element matches a CSS3 selector and that the single element represented by the selector is matched by all specified matchers.
HasUniqueSelector - Class in org.testinfected.hamcrest.dom
 
HasUniqueSelector(String, Matcher<? super Element>) - Constructor for class org.testinfected.hamcrest.dom.HasUniqueSelector
 
hasUniqueSelector(String) - Static method in class org.testinfected.hamcrest.dom.HasUniqueSelector
 
hasUniqueSelector(String, Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.HasUniqueSelector
 
hasUniqueSelector(String, Matcher<? super Element>) - Static method in class org.testinfected.hamcrest.dom.HasUniqueSelector
 

I

imposterize(Exception) - Static method in exception org.testinfected.hamcrest.ExceptionImposter
 
includes(Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that a collection of Elements contains, in any order, at least one matched element for each specified matcher.
isBlank() - Static method in class org.testinfected.hamcrest.core.IsBlankString
 
isBlank() - Static method in class org.testinfected.hamcrest.core.StringMatchers
Checks that a string is empty or contains only blank characters.
IsBlankString - Class in org.testinfected.hamcrest.core
 
IsBlankString() - Constructor for class org.testinfected.hamcrest.core.IsBlankString
 
isChecked() - Static method in class org.testinfected.hamcrest.dom.HasAttribute
 
IsComponentEqual<T> - Class in org.testinfected.hamcrest.jpa
 
IsComponentEqual(T) - Constructor for class org.testinfected.hamcrest.jpa.IsComponentEqual
 
isDisabled() - Static method in class org.testinfected.hamcrest.dom.HasAttribute
 
isReadOnly() - Static method in class org.testinfected.hamcrest.dom.HasAttribute
 
isRedirectedTo(String) - Static method in class org.testinfected.hamcrest.spring.SpringMatchers
Checks that a view indicates an HTTP redirection to a given location.
isSelected() - Static method in class org.testinfected.hamcrest.dom.HasAttribute
 
isStatic(Field) - Static method in class org.testinfected.hamcrest.jpa.Reflection
 
isTransient(Field) - Static method in class org.testinfected.hamcrest.jpa.Reflection
 

M

matches(Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that a collection contains Elements that are matched in order by the specified matchers.
matches(List<Matcher<? super Element>>) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that a collection contains Elements that are matched in order by the specified list of matchers.
matches(Object, Description) - Method in class org.testinfected.hamcrest.jpa.IsComponentEqual
 
matchesInAnyOrder(Matcher<? super Element>...) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that a collection contains Elements that are matched in any order by the specified matchers.
matchesInAnyOrder(List<Matcher<? super Element>>) - Static method in class org.testinfected.hamcrest.dom.DomMatchers
Checks that a collection contains Elements that are matched in any order by the specified list of matchers.
matchesSafely(String, Description) - Method in class org.testinfected.hamcrest.core.IsBlankString
 
matchesSafely(Element, Description) - Method in class org.testinfected.hamcrest.dom.HasAttribute
 
matchesSafely(Element, Description) - Method in class org.testinfected.hamcrest.dom.HasNoSelector
 
matchesSafely(Element, Description) - Method in class org.testinfected.hamcrest.dom.HasSelector
 
matchesSafely(Element, Description) - Method in class org.testinfected.hamcrest.dom.HasUniqueSelector
 
matchesSafely(T, Description) - Method in class org.testinfected.hamcrest.jpa.HasFieldWithValue
 
matchesSafely(T, Description) - Method in class org.testinfected.hamcrest.jpa.SamePersistentFieldsAs.FieldMatcher
 
matchesSafely(T, Description) - Method in class org.testinfected.hamcrest.jpa.SamePersistentFieldsAs
 
matchesSafely(Path) - Method in class org.testinfected.hamcrest.validation.HasNodesAlongPath
 

N

nodeWithName(String) - Static method in class org.testinfected.hamcrest.validation.HasNodesAlongPath
 
nodeWithName(Matcher<? super String>) - Static method in class org.testinfected.hamcrest.validation.HasNodesAlongPath
 

O

on(String) - Static method in class org.testinfected.hamcrest.validation.ViolationMatchers
Checks that a violation occurs on a given property.
org.testinfected.hamcrest - package org.testinfected.hamcrest
 
org.testinfected.hamcrest.core - package org.testinfected.hamcrest.core
 
org.testinfected.hamcrest.dom - package org.testinfected.hamcrest.dom
 
org.testinfected.hamcrest.jpa - package org.testinfected.hamcrest.jpa
 
org.testinfected.hamcrest.spring - package org.testinfected.hamcrest.spring
 
org.testinfected.hamcrest.validation - package org.testinfected.hamcrest.validation
 

P

path(String) - Static method in class org.testinfected.hamcrest.validation.HasNodesAlongPath
 
PersistenceMatchers - Class in org.testinfected.hamcrest.jpa
A collection of hamcrest matchers to validate field values of persistent objects.
PersistentFieldPredicate - Class in org.testinfected.hamcrest.jpa
 
PersistentFieldPredicate() - Constructor for class org.testinfected.hamcrest.jpa.PersistentFieldPredicate
 
persistentFieldsOf(Object) - Static method in class org.testinfected.hamcrest.jpa.PersistentFieldPredicate
 

R

readField(Object, Field) - Static method in class org.testinfected.hamcrest.jpa.Reflection
 
Reflection - Class in org.testinfected.hamcrest.jpa
 

S

samePersistentFieldsAs(T) - Static method in class org.testinfected.hamcrest.jpa.PersistenceMatchers
Checks that an entity has the same persistent field values than another entity.
SamePersistentFieldsAs<T> - Class in org.testinfected.hamcrest.jpa
 
SamePersistentFieldsAs(T) - Constructor for class org.testinfected.hamcrest.jpa.SamePersistentFieldsAs
 
samePersistentFieldsAs(T) - Static method in class org.testinfected.hamcrest.jpa.SamePersistentFieldsAs
 
SamePersistentFieldsAs.FieldMatcher<T> - Class in org.testinfected.hamcrest.jpa
 
SamePersistentFieldsAs.FieldMatcher(Field, Matcher<?>) - Constructor for class org.testinfected.hamcrest.jpa.SamePersistentFieldsAs.FieldMatcher
 
SpringMatchers - Class in org.testinfected.hamcrest.spring
 
StringMatchers - Class in org.testinfected.hamcrest.core
A collection of matchers for Strings.
StringMatchers() - Constructor for class org.testinfected.hamcrest.core.StringMatchers
 
succeeds() - Static method in class org.testinfected.hamcrest.validation.ViolationMatchers
Checks that violation succeeds, i.e.

T

toString() - Method in exception org.testinfected.hamcrest.ExceptionImposter
 

V

violates(Matcher<? super ConstraintViolation<T>>...) - Static method in class org.testinfected.hamcrest.validation.ViolationMatchers
Checks that a collection of violations contains at least one violation and that each of the given matchers matches at least one of its elements.
violates(Collection<Matcher<? super ConstraintViolation<T>>>) - Static method in class org.testinfected.hamcrest.validation.ViolationMatchers
Checks that a collection of violations contains at least one violation and that each of the given matchers matches at least one of its elements.
violation(Matcher<? super ConstraintViolation<T>>...) - Static method in class org.testinfected.hamcrest.validation.ViolationMatchers
Checks that a violation satisfies a set of conditions.
violation(Collection<Matcher<? super ConstraintViolation<T>>>) - Static method in class org.testinfected.hamcrest.validation.ViolationMatchers
Checks that a violation satisfies a set of conditions.
ViolationMatchers - Class in org.testinfected.hamcrest.validation
A collection of hamcrest matchers to validate JSR-303 ConstraintViolations.
ViolationMatchers() - Constructor for class org.testinfected.hamcrest.validation.ViolationMatchers
 

W

withError(String) - Static method in class org.testinfected.hamcrest.validation.ViolationMatchers
Checks that a violation's error message template contains a given string.

A B C D E F G H I M N O P R S T V W