C D I M N

C

ClassMatchers - Class in com.atlassian.hamcrest
Matchers useful when dealing with Classes.
ClassMatchers() - Constructor for class com.atlassian.hamcrest.ClassMatchers
 
com.atlassian.hamcrest - package com.atlassian.hamcrest
 

D

DeepIsEqual<T> - Class in com.atlassian.hamcrest
A matcher that does a deep equals comparison of objects using reflection.
deeplyEqualTo(T) - Static method in class com.atlassian.hamcrest.DeepIsEqual
Returns a Matcher which compares two objects reflectively.
deeplyEqualTo(T, Map<Matcher<Class<?>>, MatcherFactory>) - Static method in class com.atlassian.hamcrest.DeepIsEqual
Returns a Matcher which compares 2 objects reflectively and uses the custom MatcherFactorys to determine how to match certain types of fields.
describeTo(Description) - Method in class com.atlassian.hamcrest.DeepIsEqual
 

I

isArray() - Static method in class com.atlassian.hamcrest.ClassMatchers
Creates and returns a Matcher which checks if the type being passed in is an array.
isAssignableTo(Class<?>) - Static method in class com.atlassian.hamcrest.ClassMatchers
Returns a Matcher which will match any class that is assignable to the given type.
isEqual() - Static method in class com.atlassian.hamcrest.MatcherFactories
A MatcherFactory which always creates and returns the Hamcrest Matcher corresponding to is(equalTo(expected)).

M

MatcherFactories - Class in com.atlassian.hamcrest
Utility MatcherFactorys.
MatcherFactories() - Constructor for class com.atlassian.hamcrest.MatcherFactories
 
MatcherFactory - Interface in com.atlassian.hamcrest
Used when creating Matchers for the object fields being compared.
matches(Object, Description) - Method in class com.atlassian.hamcrest.DeepIsEqual
Checks that the type of actual matches the type of the expected value and then that the composite object values are equal.

N

newEqualMatcher(T, MatcherFactory) - Method in interface com.atlassian.hamcrest.MatcherFactory
Creates and returns a Matcher to be used for the expected value.

C D I M N

Copyright © 2009 Atlassian. All Rights Reserved.