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

B

BeanMatchers - Class in org.exparity.hamcrest
Static factory for creating Matcher instances for testing properties of objects whose properties follow the Java beans standard
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.
compareProperty(String, TheSameAs.PropertyComparator) - Method in class org.exparity.hamcrest.beans.TheSameAs
Override the PropertyComparator used for a property.
compareType(Class<?>, TheSameAs.PropertyComparator) - Method in class org.exparity.hamcrest.beans.TheSameAs
Override the PropertyComparator used for a type.

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 - 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

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 - 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 - 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(Object, Object) - Method in class org.exparity.hamcrest.beans.comparators.Excluded
 
matches(Object, Object) - Method in class org.exparity.hamcrest.beans.comparators.HasPattern
 
matches(Object, Object) - Method in class org.exparity.hamcrest.beans.comparators.IsComparable
 
matches(Object, Object) - Method in class org.exparity.hamcrest.beans.comparators.IsEquals
 
matches(Object, Object) - Method in class org.exparity.hamcrest.beans.comparators.IsEqualsIgnoreCase
 
matches(Object, Object) - 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.
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.
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, String) - 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

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 - Interface in org.exparity.hamcrest.beans
Interface to be implemented by classes which can compare two property values to confirm if they're equivalent
B C D E H I M O T 
Skip navigation links

Copyright © 2015. All rights reserved.