Skip navigation links
B C D E H I M O T V 

B

BeanMatchers - Class in org.exparity.hamcrest
Static factory for creating Matcher instances for testing properties of objects whose properties follow the Java beans standards.
BeanMatchers() - Constructor for class org.exparity.hamcrest.BeanMatchers
 

C

comparePath(String, TheSameAs.PropertyComparator<?>) - Method in class org.exparity.hamcrest.beans.TheSameAs
Override the PropertyComparator used for a path.
comparePath(String, Matcher<P>) - Method in class org.exparity.hamcrest.beans.TheSameAs
Override the PropertyComparator used for a path to use a hamcrest Matcher.
compareProperty(String, TheSameAs.PropertyComparator<?>) - Method in class org.exparity.hamcrest.beans.TheSameAs
Override the PropertyComparator used for a property.
compareProperty(String, Matcher<P>) - Method in class org.exparity.hamcrest.beans.TheSameAs
Override the PropertyComparator used for a property to use a hamcrest matcher.
compareType(Class<P>, TheSameAs.PropertyComparator<P>) - Method in class org.exparity.hamcrest.beans.TheSameAs
Override the PropertyComparator used for a type.
compareType(Class<P>, Matcher<P>) - Method in class org.exparity.hamcrest.beans.TheSameAs
Override the PropertyComparator used for a type to use a hamcrest Matcher.

D

describeTo(Description) - Method in class org.exparity.hamcrest.beans.HasPath
 
describeTo(Description) - Method in class org.exparity.hamcrest.beans.HasProperty
 
describeTo(Description) - Method in class org.exparity.hamcrest.beans.TheSameAs
 

E

Excluded<T> - Class in org.exparity.hamcrest.beans.comparators
Implementation of a TheSameAs.PropertyComparator which matches a properties regardless
Excluded() - Constructor for class org.exparity.hamcrest.beans.comparators.Excluded
 
excludePath(String) - Method in class org.exparity.hamcrest.beans.TheSameAs
Exclude a property path from the comparison.
excludeProperty(String) - Method in class org.exparity.hamcrest.beans.TheSameAs
Exclude a property from the comparison.
excludeType(Class<?>) - Method in class org.exparity.hamcrest.beans.TheSameAs
Exclude a type from the comparison.

H

HamcrestComparator<T> - Class in org.exparity.hamcrest.beans.comparators
Implementation of a PropertyComparator which uses a hamcrest Matcher to test each value
HamcrestComparator(Matcher<T>) - Constructor for class org.exparity.hamcrest.beans.comparators.HamcrestComparator
 
hasPath(String, Matcher<?>) - Static method in class org.exparity.hamcrest.BeanMatchers
Return an instance of a Matcher which will test if an object has a named path with the given value.
HasPath<T> - Class in org.exparity.hamcrest.beans
 
HasPath(String, Matcher<?>) - Constructor for class org.exparity.hamcrest.beans.HasPath
 
hasPath(String, Matcher<?>) - Static method in class org.exparity.hamcrest.beans.HasPath
Creates a matcher that matches if the object being tested has a property at the given path and it matches the Matcher

For example:

HasPattern - Class in org.exparity.hamcrest.beans.comparators
Implementation of a TheSameAs.PropertyComparator which matches a string property against a regular expression
HasPattern(String) - Constructor for class org.exparity.hamcrest.beans.comparators.HasPattern
 
hasProperty(String, Matcher<?>) - Static method in class org.exparity.hamcrest.BeanMatchers
Return an instance of a Matcher which will test if an object has a named property with the given value.
HasProperty<T> - Class in org.exparity.hamcrest.beans
 
HasProperty(String, Matcher<?>) - Constructor for class org.exparity.hamcrest.beans.HasProperty
 
hasProperty(String, Matcher<?>) - Static method in class org.exparity.hamcrest.beans.HasProperty
Creates a matcher that matches if the object being tested has a property anywhere in it's graph and it matches the Matcher

For example:

I

IsComparable<T extends Comparable<T>> - Class in org.exparity.hamcrest.beans.comparators
Implementation of a TheSameAs.PropertyComparator which matches a string property regardless of case
IsComparable() - Constructor for class org.exparity.hamcrest.beans.comparators.IsComparable
 
IsEquals<T> - Class in org.exparity.hamcrest.beans.comparators
Implementation of a TheSameAs.PropertyComparator which matches a string property regardless of case
IsEquals() - Constructor for class org.exparity.hamcrest.beans.comparators.IsEquals
 
IsEqualsIgnoreCase - Class in org.exparity.hamcrest.beans.comparators
Implementation of a TheSameAs.PropertyComparator which matches a string property regardless of case
IsEqualsIgnoreCase() - Constructor for class org.exparity.hamcrest.beans.comparators.IsEqualsIgnoreCase
 

M

matches(T, T) - Method in class org.exparity.hamcrest.beans.comparators.Excluded
 
matches(T, T) - Method in class org.exparity.hamcrest.beans.comparators.HamcrestComparator
 
matches(String, String) - Method in class org.exparity.hamcrest.beans.comparators.HasPattern
 
matches(T, T) - Method in class org.exparity.hamcrest.beans.comparators.IsComparable
 
matches(T, T) - Method in class org.exparity.hamcrest.beans.comparators.IsEquals
 
matches(String, String) - Method in class org.exparity.hamcrest.beans.comparators.IsEqualsIgnoreCase
 
matches(T, T) - Method in interface org.exparity.hamcrest.beans.TheSameAs.PropertyComparator
Return true if the actual value matches the expected value
matchesSafely(T, Description) - Method in class org.exparity.hamcrest.beans.HasPath
 
matchesSafely(T, Description) - Method in class org.exparity.hamcrest.beans.HasProperty
 
matchesSafely(T, Description) - Method in class org.exparity.hamcrest.beans.TheSameAs
 

O

org.exparity.hamcrest - package org.exparity.hamcrest
 
org.exparity.hamcrest.beans - package org.exparity.hamcrest.beans
 
org.exparity.hamcrest.beans.comparators - package org.exparity.hamcrest.beans.comparators
 

T

theSameAs(T) - Static method in class org.exparity.hamcrest.BeanMatchers
Return an instance of a Matcher which will perform a deep comparison of the two objects by invoking all getter style properties.
theSameAs(T, TheSameAs.PropertyType) - Static method in class org.exparity.hamcrest.BeanMatchers
theSameAs(T, String) - Static method in class org.exparity.hamcrest.BeanMatchers
Return an instance of a Matcher which will perform a deep comparison of the two objects by invoking all getter style properties.
theSameAs(T, String, TheSameAs.PropertyType) - Static method in class org.exparity.hamcrest.BeanMatchers
TheSameAs<T> - Class in org.exparity.hamcrest.beans
Implementation of a Matcher for performing a deep comparison of two objects by testing getters which start with get, is, or has are the same on each instances.
TheSameAs(T) - Constructor for class org.exparity.hamcrest.beans.TheSameAs
 
TheSameAs(T, TheSameAs.PropertyType) - Constructor for class org.exparity.hamcrest.beans.TheSameAs
 
TheSameAs(T, String, TheSameAs.PropertyType) - Constructor for class org.exparity.hamcrest.beans.TheSameAs
 
theSameAs(T) - Static method in class org.exparity.hamcrest.beans.TheSameAs
Creates a matcher that matches the full object graph for the given instance against another instance by comparing all getter properties

For example:

theSameAs(T, String) - Static method in class org.exparity.hamcrest.beans.TheSameAs
Creates a matcher that matches the full object graph for the given instance against another instance

For example:

TheSameAs.PropertyComparator<T> - Interface in org.exparity.hamcrest.beans
Interface to be implemented by classes which can compare two property values to confirm if they're equivalent
TheSameAs.PropertyType - Enum in org.exparity.hamcrest.beans
Enumeration of the types of properties the matcher will check.
theSameBeanAs(T) - Static method in class org.exparity.hamcrest.BeanMatchers
Return an instance of a Matcher which will perform a deep comparison of the two objects by invoking all bean style properties where both a getter and setter exists.
theSameBeanAs(T, String) - Static method in class org.exparity.hamcrest.BeanMatchers
Return an instance of a Matcher which will perform a deep comparison of the two objects by invoking all bean style properties where both a getter and setter exists.
theSameBeanAs(T) - Static method in class org.exparity.hamcrest.beans.TheSameAs
Creates a matcher that matches the full object graph for the given instance against another instance by comparing bean properties i.e.
theSameBeanAs(T, String) - Static method in class org.exparity.hamcrest.beans.TheSameAs
Creates a matcher that matches the full object graph for the given instance against another instance by comparing bean properties i.e.

V

valueOf(String) - Static method in enum org.exparity.hamcrest.beans.TheSameAs.PropertyType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.exparity.hamcrest.beans.TheSameAs.PropertyType
Returns an array containing the constants of this enum type, in the order they are declared.
B C D E H I M O T V 
Skip navigation links

Copyright © 2015. All rights reserved.