Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
S
T
A
allOf(Matcher<? super T>...)
- Static method in class org.hamcrest.
Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
allOf(Iterable<Matcher<? super T>>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true only if ALL of the passed in matchers evaluate to true.
any(Class<T>)
- Static method in class org.hamcrest.
Matchers
Is the value an instance of a particular type?
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<? super T>...)
- Static method in class org.hamcrest.
Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Matcher<T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anyOf(Iterable<Matcher<? super T>>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true if ANY of the passed in matchers evaluate to true.
anything()
- Static method in class org.hamcrest.
Matchers
This matcher always evaluates to true.
anything(String)
- Static method in class org.hamcrest.
Matchers
This matcher always evaluates to true.
array(Matcher<? super T>...)
- Static method in class org.hamcrest.collection.
IsArray
Evaluates to true only if each matcher[i] is satisfied by array[i].
array(Matcher<? super T>...)
- Static method in class org.hamcrest.
Matchers
Evaluates to true only if each matcher[i] is satisfied by array[i].
arrayContaining(E...)
- Static method in class org.hamcrest.collection.
IsArrayContainingInOrder
arrayContaining(Matcher<? super E>...)
- Static method in class org.hamcrest.collection.
IsArrayContainingInOrder
arrayContaining(List<Matcher<? super E>>)
- Static method in class org.hamcrest.collection.
IsArrayContainingInOrder
arrayContaining(E...)
- Static method in class org.hamcrest.
Matchers
arrayContaining(Matcher<? super E>...)
- Static method in class org.hamcrest.
Matchers
arrayContaining(List<Matcher<? super E>>)
- Static method in class org.hamcrest.
Matchers
arrayContainingInAnyOrder(Matcher<? super E>...)
- Static method in class org.hamcrest.collection.
IsArrayContainingInAnyOrder
arrayContainingInAnyOrder(Collection<Matcher<? super E>>)
- Static method in class org.hamcrest.collection.
IsArrayContainingInAnyOrder
arrayContainingInAnyOrder(E...)
- Static method in class org.hamcrest.collection.
IsArrayContainingInAnyOrder
arrayContainingInAnyOrder(Matcher<? super E>...)
- Static method in class org.hamcrest.
Matchers
arrayContainingInAnyOrder(Collection<Matcher<? super E>>)
- Static method in class org.hamcrest.
Matchers
arrayContainingInAnyOrder(E...)
- Static method in class org.hamcrest.
Matchers
arrayWithSize(Matcher<? super Integer>)
- Static method in class org.hamcrest.collection.
IsArrayWithSize
Does array size satisfy a given matcher?
arrayWithSize(int)
- Static method in class org.hamcrest.collection.
IsArrayWithSize
This is a shortcut to the frequently used arrayWithSize(equalTo(x)).
arrayWithSize(Matcher<? super Integer>)
- Static method in class org.hamcrest.
Matchers
Does array size satisfy a given matcher?
arrayWithSize(int)
- Static method in class org.hamcrest.
Matchers
This is a shortcut to the frequently used arrayWithSize(equalTo(x)).
B
both(Matcher<? super LHS>)
- Static method in class org.hamcrest.
Matchers
This is useful for fluently combining matchers that must both pass.
C
closeTo(double, double)
- Static method in class org.hamcrest.
Matchers
closeTo(double, double)
- Static method in class org.hamcrest.number.
IsCloseTo
comparesEqualTo(T)
- Static method in class org.hamcrest.
Matchers
comparesEqualTo(T)
- Static method in class org.hamcrest.number.
OrderingComparison
contains(E...)
- Static method in class org.hamcrest.collection.
IsIterableContainingInOrder
contains(Matcher<? super E>)
- Static method in class org.hamcrest.collection.
IsIterableContainingInOrder
contains(Matcher<? super E>...)
- Static method in class org.hamcrest.collection.
IsIterableContainingInOrder
contains(List<Matcher<? super E>>)
- Static method in class org.hamcrest.collection.
IsIterableContainingInOrder
contains(Matcher<? super E>)
- Static method in class org.hamcrest.
Matchers
contains(E...)
- Static method in class org.hamcrest.
Matchers
contains(Matcher<? super E>...)
- Static method in class org.hamcrest.
Matchers
contains(List<Matcher<? super E>>)
- Static method in class org.hamcrest.
Matchers
containsInAnyOrder(Matcher<? super E>)
- Static method in class org.hamcrest.collection.
IsIterableContainingInAnyOrder
containsInAnyOrder(Matcher<? super T>...)
- Static method in class org.hamcrest.collection.
IsIterableContainingInAnyOrder
containsInAnyOrder(T...)
- Static method in class org.hamcrest.collection.
IsIterableContainingInAnyOrder
containsInAnyOrder(Collection<Matcher<? super T>>)
- Static method in class org.hamcrest.collection.
IsIterableContainingInAnyOrder
containsInAnyOrder(Matcher<? super T>...)
- Static method in class org.hamcrest.
Matchers
containsInAnyOrder(T...)
- Static method in class org.hamcrest.
Matchers
containsInAnyOrder(Collection<Matcher<? super T>>)
- Static method in class org.hamcrest.
Matchers
containsInAnyOrder(Matcher<? super E>)
- Static method in class org.hamcrest.
Matchers
containsString(String)
- Static method in class org.hamcrest.
Matchers
D
describedAs(String, Matcher<T>, Object...)
- Static method in class org.hamcrest.
Matchers
Wraps an existing matcher and overrides the description when it fails.
describeMismatchSafely(T, Description)
- Method in class org.hamcrest.beans.
HasProperty
describeMismatchSafely(T[], Description)
- Method in class org.hamcrest.collection.
IsArray
describeMismatchSafely(T[], Description)
- Method in class org.hamcrest.collection.
IsArrayContaining
describeMismatchSafely(E[], Description)
- Method in class org.hamcrest.collection.
IsArrayContainingInAnyOrder
describeMismatchSafely(E[], Description)
- Method in class org.hamcrest.collection.
IsArrayContainingInOrder
describeMismatchSafely(Collection<E>, Description)
- Method in class org.hamcrest.collection.
IsEmptyCollection
describeMismatchSafely(Iterable<E>, Description)
- Method in class org.hamcrest.collection.
IsEmptyIterable
describeMismatchSafely(Map<? extends K, ? extends V>, Description)
- Method in class org.hamcrest.collection.
IsMapContaining
describeMismatchSafely(Double, Description)
- Method in class org.hamcrest.number.
IsCloseTo
describeMismatchSafely(T, Description)
- Method in class org.hamcrest.number.
OrderingComparison
describeMismatchSafely(Class<?>, Description)
- Method in class org.hamcrest.object.
IsCompatibleType
describeMismatchSafely(String, Description)
- Method in class org.hamcrest.text.
IsEqualIgnoringCase
describeMismatchSafely(String, Description)
- Method in class org.hamcrest.text.
IsEqualIgnoringWhiteSpace
describeMismatchSafely(String, Description)
- Method in class org.hamcrest.text.
StringContainsInOrder
describeTo(Description)
- Method in class org.hamcrest.beans.
HasProperty
describeTo(Description)
- Method in class org.hamcrest.beans.
HasPropertyWithValue
describeTo(Description)
- Method in class org.hamcrest.beans.
SamePropertyValuesAs
describeTo(Description)
- Method in class org.hamcrest.beans.
SamePropertyValuesAs.PropertyMatcher
describeTo(Description)
- Method in class org.hamcrest.collection.
IsArray
describeTo(Description)
- Method in class org.hamcrest.collection.
IsArrayContaining
describeTo(Description)
- Method in class org.hamcrest.collection.
IsArrayContainingInAnyOrder
describeTo(Description)
- Method in class org.hamcrest.collection.
IsArrayContainingInOrder
describeTo(Description)
- Method in class org.hamcrest.collection.
IsEmptyCollection
describeTo(Description)
- Method in class org.hamcrest.collection.
IsEmptyIterable
describeTo(Description)
- Method in class org.hamcrest.collection.
IsIn
describeTo(Description)
- Method in class org.hamcrest.collection.
IsIterableContainingInAnyOrder
describeTo(Description)
- Method in class org.hamcrest.collection.
IsIterableContainingInOrder
describeTo(Description)
- Method in class org.hamcrest.collection.
IsMapContaining
describeTo(Description)
- Method in class org.hamcrest.number.
IsCloseTo
describeTo(Description)
- Method in class org.hamcrest.number.
OrderingComparison
describeTo(Description)
- Method in class org.hamcrest.object.
IsCompatibleType
describeTo(Description)
- Method in class org.hamcrest.object.
IsEventFrom
describeTo(Description)
- Method in class org.hamcrest.text.
IsEmptyString
describeTo(Description)
- Method in class org.hamcrest.text.
IsEqualIgnoringCase
describeTo(Description)
- Method in class org.hamcrest.text.
IsEqualIgnoringWhiteSpace
describeTo(Description)
- Method in class org.hamcrest.text.
StringContainsInOrder
describeTo(Description)
- Method in class org.hamcrest.xml.
HasXPath
descriptionEnd()
- Method in class org.hamcrest.collection.
IsArray
Returns the string that ends the description.
descriptionSeparator()
- Method in class org.hamcrest.collection.
IsArray
Returns the string that separates the elements in the description.
descriptionStart()
- Method in class org.hamcrest.collection.
IsArray
Returns the string that starts the description.
E
either(Matcher<? super LHS>)
- Static method in class org.hamcrest.
Matchers
This is useful for fluently combining matchers where either may pass, for example: assertThat(string, both(containsString("a")).and(containsString("b")));
empty()
- Static method in class org.hamcrest.collection.
IsEmptyCollection
Matches an empty collection.
empty()
- Static method in class org.hamcrest.
Matchers
Matches an empty collection.
emptyArray()
- Static method in class org.hamcrest.collection.
IsArrayWithSize
Matches an empty array.
emptyArray()
- Static method in class org.hamcrest.
Matchers
Matches an empty array.
emptyIterable()
- Static method in class org.hamcrest.collection.
IsEmptyIterable
Matches an empty iterable.
emptyIterable()
- Static method in class org.hamcrest.
Matchers
Matches an empty iterable.
endsWith(String)
- Static method in class org.hamcrest.
Matchers
equalTo(T)
- Static method in class org.hamcrest.
Matchers
Is the value equal to another value, as tested by the
Object.equals(java.lang.Object)
invokedMethod?
equalToIgnoringCase(String)
- Static method in class org.hamcrest.
Matchers
equalToIgnoringCase(String)
- Static method in class org.hamcrest.text.
IsEqualIgnoringCase
equalToIgnoringWhiteSpace(String)
- Static method in class org.hamcrest.
Matchers
equalToIgnoringWhiteSpace(String)
- Static method in class org.hamcrest.text.
IsEqualIgnoringWhiteSpace
eventFrom(Class<? extends EventObject>, Object)
- Static method in class org.hamcrest.
Matchers
Constructs an IsEventFrom Matcher that returns true for any object derived from
eventClass
announced by
source
.
eventFrom(Object)
- Static method in class org.hamcrest.
Matchers
Constructs an IsEventFrom Matcher that returns true for any object derived from
EventObject
announced by
source
.
eventFrom(Class<? extends EventObject>, Object)
- Static method in class org.hamcrest.object.
IsEventFrom
Constructs an IsEventFrom Matcher that returns true for any object derived from
eventClass
announced by
source
.
eventFrom(Object)
- Static method in class org.hamcrest.object.
IsEventFrom
Constructs an IsEventFrom Matcher that returns true for any object derived from
EventObject
announced by
source
.
everyItem(Matcher<U>)
- Static method in class org.hamcrest.
Matchers
F
featureValueOf(E[])
- Method in class org.hamcrest.collection.
IsArrayWithSize
featureValueOf(Collection<? extends E>)
- Method in class org.hamcrest.collection.
IsCollectionWithSize
featureValueOf(Iterable<E>)
- Method in class org.hamcrest.collection.
IsIterableWithSize
featureValueOf(T)
- Method in class org.hamcrest.object.
HasToString
G
getPropertyDescriptor(String, Object)
- Static method in class org.hamcrest.beans.
PropertyUtil
Returns the description of the property with the provided name on the provided object's interface.
greaterThan(T)
- Static method in class org.hamcrest.
Matchers
Is value > expected?
greaterThan(T)
- Static method in class org.hamcrest.number.
OrderingComparison
Is value > expected?
greaterThanOrEqualTo(T)
- Static method in class org.hamcrest.
Matchers
Is value >= expected?
greaterThanOrEqualTo(T)
- Static method in class org.hamcrest.number.
OrderingComparison
Is value >= expected?
H
hasEntry(Matcher<? super K>, Matcher<? super V>)
- Static method in class org.hamcrest.collection.
IsMapContaining
hasEntry(K, V)
- Static method in class org.hamcrest.collection.
IsMapContaining
hasEntry(Matcher<? super K>, Matcher<? super V>)
- Static method in class org.hamcrest.
Matchers
hasEntry(K, V)
- Static method in class org.hamcrest.
Matchers
hasItem(T)
- Static method in class org.hamcrest.
Matchers
hasItem(Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
hasItemInArray(Matcher<? super T>)
- Static method in class org.hamcrest.collection.
IsArrayContaining
Evaluates to true if any item in an array satisfies the given matcher.
hasItemInArray(T)
- Static method in class org.hamcrest.collection.
IsArrayContaining
This is a shortcut to the frequently used hasItemInArray(equalTo(x)).
hasItemInArray(Matcher<? super T>)
- Static method in class org.hamcrest.
Matchers
Evaluates to true if any item in an array satisfies the given matcher.
hasItemInArray(T)
- Static method in class org.hamcrest.
Matchers
This is a shortcut to the frequently used hasItemInArray(equalTo(x)).
hasItems(Matcher<? super T>...)
- Static method in class org.hamcrest.
Matchers
hasItems(T...)
- Static method in class org.hamcrest.
Matchers
hasKey(Matcher<? super K>)
- Static method in class org.hamcrest.collection.
IsMapContaining
hasKey(K)
- Static method in class org.hamcrest.collection.
IsMapContaining
hasKey(K)
- Static method in class org.hamcrest.
Matchers
hasKey(Matcher<? super K>)
- Static method in class org.hamcrest.
Matchers
HasProperty
<
T
> - Class in
org.hamcrest.beans
Matcher that checks that an object has a JavaBean property with the specified name.
HasProperty(String)
- Constructor for class org.hamcrest.beans.
HasProperty
hasProperty(String)
- Static method in class org.hamcrest.beans.
HasProperty
hasProperty(String, Matcher<?>)
- Static method in class org.hamcrest.beans.
HasPropertyWithValue
hasProperty(String)
- Static method in class org.hamcrest.
Matchers
hasProperty(String, Matcher<?>)
- Static method in class org.hamcrest.
Matchers
HasPropertyWithValue
<
T
> - Class in
org.hamcrest.beans
Matcher that asserts that a JavaBean property on an argument passed to the mock object meets the provided matcher.
HasPropertyWithValue(String, Matcher<?>)
- Constructor for class org.hamcrest.beans.
HasPropertyWithValue
hasSize(Matcher<? super Integer>)
- Static method in class org.hamcrest.collection.
IsCollectionWithSize
Does collection size satisfy a given matcher?
hasSize(int)
- Static method in class org.hamcrest.collection.
IsCollectionWithSize
This is a shortcut to the frequently used hasSize(equalTo(x)).
hasSize(Matcher<? super Integer>)
- Static method in class org.hamcrest.
Matchers
Does collection size satisfy a given matcher?
hasSize(int)
- Static method in class org.hamcrest.
Matchers
This is a shortcut to the frequently used hasSize(equalTo(x)).
hasToString(Matcher<? super String>)
- Static method in class org.hamcrest.
Matchers
Evaluates whether item.toString() satisfies a given matcher.
hasToString(String)
- Static method in class org.hamcrest.
Matchers
This is a shortcut to the frequently used has_string(equalTo(x)).
HasToString
<
T
> - Class in
org.hamcrest.object
HasToString(Matcher<? super String>)
- Constructor for class org.hamcrest.object.
HasToString
hasToString(Matcher<? super String>)
- Static method in class org.hamcrest.object.
HasToString
Evaluates whether item.toString() satisfies a given matcher.
hasToString(String)
- Static method in class org.hamcrest.object.
HasToString
This is a shortcut to the frequently used has_string(equalTo(x)).
hasValue(Matcher<? super V>)
- Static method in class org.hamcrest.collection.
IsMapContaining
hasValue(V)
- Static method in class org.hamcrest.collection.
IsMapContaining
hasValue(Matcher<? super V>)
- Static method in class org.hamcrest.
Matchers
hasValue(V)
- Static method in class org.hamcrest.
Matchers
hasXPath(String, Matcher<? super String>)
- Static method in class org.hamcrest.
Matchers
hasXPath(String, NamespaceContext, Matcher<? super String>)
- Static method in class org.hamcrest.
Matchers
hasXPath(String)
- Static method in class org.hamcrest.
Matchers
hasXPath(String, NamespaceContext)
- Static method in class org.hamcrest.
Matchers
HasXPath
- Class in
org.hamcrest.xml
Applies a Matcher to a given XML Node in an existing XML Node tree, specified by an XPath expression.
HasXPath(String, Matcher<? super String>)
- Constructor for class org.hamcrest.xml.
HasXPath
HasXPath(String, NamespaceContext, Matcher<? super String>)
- Constructor for class org.hamcrest.xml.
HasXPath
hasXPath(String, Matcher<? super String>)
- Static method in class org.hamcrest.xml.
HasXPath
hasXPath(String, NamespaceContext, Matcher<? super String>)
- Static method in class org.hamcrest.xml.
HasXPath
hasXPath(String)
- Static method in class org.hamcrest.xml.
HasXPath
hasXPath(String, NamespaceContext)
- Static method in class org.hamcrest.xml.
HasXPath
I
instanceOf(Class<?>)
- Static method in class org.hamcrest.
Matchers
Is the value an instance of a particular type?
is(Matcher<T>)
- Static method in class org.hamcrest.
Matchers
Decorates another Matcher, retaining the behavior but allowing tests to be slightly more expressive.
is(T)
- Static method in class org.hamcrest.
Matchers
This is a shortcut to the frequently used is(equalTo(x)).
is(Class<T>)
- Static method in class org.hamcrest.
Matchers
Deprecated.
use isA(Class
type) instead.
isA(Class<T>)
- Static method in class org.hamcrest.
Matchers
IsArray
<
T
> - Class in
org.hamcrest.collection
Matcher for array whose elements satisfy a sequence of matchers.
IsArray(Matcher<? super T>[])
- Constructor for class org.hamcrest.collection.
IsArray
IsArrayContaining
<
T
> - Class in
org.hamcrest.collection
Matches if an array contains an item satisfying a nested matcher.
IsArrayContaining(Matcher<? super T>)
- Constructor for class org.hamcrest.collection.
IsArrayContaining
IsArrayContainingInAnyOrder
<
E
> - Class in
org.hamcrest.collection
IsArrayContainingInAnyOrder(Collection<Matcher<? super E>>)
- Constructor for class org.hamcrest.collection.
IsArrayContainingInAnyOrder
IsArrayContainingInOrder
<
E
> - Class in
org.hamcrest.collection
IsArrayContainingInOrder(List<Matcher<? super E>>)
- Constructor for class org.hamcrest.collection.
IsArrayContainingInOrder
IsArrayWithSize
<
E
> - Class in
org.hamcrest.collection
Matches if array size satisfies a nested matcher.
IsArrayWithSize(Matcher<? super Integer>)
- Constructor for class org.hamcrest.collection.
IsArrayWithSize
IsCloseTo
- Class in
org.hamcrest.number
Is the value a number equal to a value within some range of acceptable error?
IsCloseTo(double, double)
- Constructor for class org.hamcrest.number.
IsCloseTo
IsCollectionWithSize
<
E
> - Class in
org.hamcrest.collection
Matches if collection size satisfies a nested matcher.
IsCollectionWithSize(Matcher<? super Integer>)
- Constructor for class org.hamcrest.collection.
IsCollectionWithSize
IsCompatibleType
<
T
> - Class in
org.hamcrest.object
IsCompatibleType(Class<T>)
- Constructor for class org.hamcrest.object.
IsCompatibleType
IsEmptyCollection
<
E
> - Class in
org.hamcrest.collection
Tests if collection is empty.
IsEmptyCollection()
- Constructor for class org.hamcrest.collection.
IsEmptyCollection
IsEmptyIterable
<
E
> - Class in
org.hamcrest.collection
Tests if collection is empty.
IsEmptyIterable()
- Constructor for class org.hamcrest.collection.
IsEmptyIterable
isEmptyOrNullString()
- Static method in class org.hamcrest.text.
IsEmptyString
Matches if value is null or zero-length string.
IsEmptyString
- Class in
org.hamcrest.text
Matches empty Strings (and null).
IsEmptyString()
- Constructor for class org.hamcrest.text.
IsEmptyString
isEmptyString()
- Static method in class org.hamcrest.text.
IsEmptyString
Matches if value is null or zero-length string.
IsEqualIgnoringCase
- Class in
org.hamcrest.text
Tests if a string is equal to another string, regardless of the case.
IsEqualIgnoringCase(String)
- Constructor for class org.hamcrest.text.
IsEqualIgnoringCase
IsEqualIgnoringWhiteSpace
- Class in
org.hamcrest.text
Tests if a string is equal to another string, ignoring any changes in whitespace.
IsEqualIgnoringWhiteSpace(String)
- Constructor for class org.hamcrest.text.
IsEqualIgnoringWhiteSpace
IsEventFrom
- Class in
org.hamcrest.object
Tests if the value is an event announced by a specific object.
IsEventFrom(Class<?>, Object)
- Constructor for class org.hamcrest.object.
IsEventFrom
IsIn
<
T
> - Class in
org.hamcrest.collection
IsIn(Collection<T>)
- Constructor for class org.hamcrest.collection.
IsIn
IsIn(T[])
- Constructor for class org.hamcrest.collection.
IsIn
isIn(Collection<T>)
- Static method in class org.hamcrest.collection.
IsIn
isIn(T[])
- Static method in class org.hamcrest.collection.
IsIn
isIn(Collection<T>)
- Static method in class org.hamcrest.
Matchers
isIn(T[])
- Static method in class org.hamcrest.
Matchers
IsIterableContainingInAnyOrder
<
T
> - Class in
org.hamcrest.collection
IsIterableContainingInAnyOrder(Collection<Matcher<? super T>>)
- Constructor for class org.hamcrest.collection.
IsIterableContainingInAnyOrder
IsIterableContainingInOrder
<
E
> - Class in
org.hamcrest.collection
IsIterableContainingInOrder(List<Matcher<? super E>>)
- Constructor for class org.hamcrest.collection.
IsIterableContainingInOrder
IsIterableWithSize
<
E
> - Class in
org.hamcrest.collection
IsIterableWithSize(Matcher<? super Integer>)
- Constructor for class org.hamcrest.collection.
IsIterableWithSize
IsMapContaining
<
K
,
V
> - Class in
org.hamcrest.collection
IsMapContaining(Matcher<? super K>, Matcher<? super V>)
- Constructor for class org.hamcrest.collection.
IsMapContaining
isOneOf(T...)
- Static method in class org.hamcrest.collection.
IsIn
isOneOf(T...)
- Static method in class org.hamcrest.
Matchers
iterableWithSize(Matcher<? super Integer>)
- Static method in class org.hamcrest.collection.
IsIterableWithSize
iterableWithSize(int)
- Static method in class org.hamcrest.collection.
IsIterableWithSize
iterableWithSize(Matcher<? super Integer>)
- Static method in class org.hamcrest.
Matchers
iterableWithSize(int)
- Static method in class org.hamcrest.
Matchers
L
lessThan(T)
- Static method in class org.hamcrest.
Matchers
Is value < expected?
lessThan(T)
- Static method in class org.hamcrest.number.
OrderingComparison
Is value < expected?
lessThanOrEqualTo(T)
- Static method in class org.hamcrest.
Matchers
Is value <= expected?
lessThanOrEqualTo(T)
- Static method in class org.hamcrest.number.
OrderingComparison
Is value <= expected?
M
Matchers
- Class in
org.hamcrest
Matchers()
- Constructor for class org.hamcrest.
Matchers
matches(Object, Description)
- Method in class org.hamcrest.beans.
SamePropertyValuesAs.PropertyMatcher
matches(Object)
- Method in class org.hamcrest.collection.
IsIn
matches(Object)
- Method in class org.hamcrest.text.
IsEmptyString
matchesSafely(T)
- Method in class org.hamcrest.beans.
HasProperty
matchesSafely(T, Description)
- Method in class org.hamcrest.beans.
HasPropertyWithValue
matchesSafely(T, Description)
- Method in class org.hamcrest.beans.
SamePropertyValuesAs
matchesSafely(T[])
- Method in class org.hamcrest.collection.
IsArray
matchesSafely(T[])
- Method in class org.hamcrest.collection.
IsArrayContaining
matchesSafely(E[])
- Method in class org.hamcrest.collection.
IsArrayContainingInAnyOrder
matchesSafely(E[])
- Method in class org.hamcrest.collection.
IsArrayContainingInOrder
matchesSafely(Collection<E>)
- Method in class org.hamcrest.collection.
IsEmptyCollection
matchesSafely(Iterable<E>)
- Method in class org.hamcrest.collection.
IsEmptyIterable
matchesSafely(Iterable<? extends T>, Description)
- Method in class org.hamcrest.collection.
IsIterableContainingInAnyOrder
matchesSafely(Iterable<? extends E>, Description)
- Method in class org.hamcrest.collection.
IsIterableContainingInOrder
matchesSafely(Map<? extends K, ? extends V>)
- Method in class org.hamcrest.collection.
IsMapContaining
matchesSafely(Double)
- Method in class org.hamcrest.number.
IsCloseTo
matchesSafely(T)
- Method in class org.hamcrest.number.
OrderingComparison
matchesSafely(Class<?>)
- Method in class org.hamcrest.object.
IsCompatibleType
matchesSafely(EventObject, Description)
- Method in class org.hamcrest.object.
IsEventFrom
matchesSafely(String)
- Method in class org.hamcrest.text.
IsEqualIgnoringCase
matchesSafely(String)
- Method in class org.hamcrest.text.
IsEqualIgnoringWhiteSpace
matchesSafely(String)
- Method in class org.hamcrest.text.
StringContainsInOrder
matchesSafely(Node, Description)
- Method in class org.hamcrest.xml.
HasXPath
N
NO_ARGUMENTS
- Static variable in class org.hamcrest.beans.
PropertyUtil
not(Matcher<T>)
- Static method in class org.hamcrest.
Matchers
Inverts the rule.
not(T)
- Static method in class org.hamcrest.
Matchers
This is a shortcut to the frequently used not(equalTo(x)).
notNullValue()
- Static method in class org.hamcrest.
Matchers
Matches if value is not null.
notNullValue(Class<T>)
- Static method in class org.hamcrest.
Matchers
Matches if value is not null.
nullValue()
- Static method in class org.hamcrest.
Matchers
Matches if value is null.
nullValue(Class<T>)
- Static method in class org.hamcrest.
Matchers
Matches if value is null.
O
OrderingComparison
<
T
extends java.lang.Comparable<
T
>> - Class in
org.hamcrest.number
org.hamcrest
- package org.hamcrest
org.hamcrest.beans
- package org.hamcrest.beans
Matchers of Java Bean properties and their values.
org.hamcrest.collection
- package org.hamcrest.collection
Matchers of arrays and collections.
org.hamcrest.number
- package org.hamcrest.number
Matchers that perform numeric comparisons.
org.hamcrest.object
- package org.hamcrest.object
Matchers that inspect objects and classes.
org.hamcrest.text
- package org.hamcrest.text
Matchers that perform text comparisons.
org.hamcrest.xml
- package org.hamcrest.xml
Matchers of XML documents.
P
propertyDescriptorsFor(Object, Class<Object>)
- Static method in class org.hamcrest.beans.
PropertyUtil
Returns all the property descriptors for the class associated with the given object
PropertyUtil
- Class in
org.hamcrest.beans
Utility class for accessing properties on JavaBean objects.
PropertyUtil()
- Constructor for class org.hamcrest.beans.
PropertyUtil
S
sameInstance(T)
- Static method in class org.hamcrest.
Matchers
Creates a new instance of IsSame
SamePropertyValuesAs
<
T
> - Class in
org.hamcrest.beans
SamePropertyValuesAs(T)
- Constructor for class org.hamcrest.beans.
SamePropertyValuesAs
samePropertyValuesAs(T)
- Static method in class org.hamcrest.beans.
SamePropertyValuesAs
samePropertyValuesAs(T)
- Static method in class org.hamcrest.
Matchers
SamePropertyValuesAs.PropertyMatcher
- Class in
org.hamcrest.beans
SamePropertyValuesAs.PropertyMatcher(PropertyDescriptor, Object)
- Constructor for class org.hamcrest.beans.
SamePropertyValuesAs.PropertyMatcher
startsWith(String)
- Static method in class org.hamcrest.
Matchers
StringContainsInOrder
- Class in
org.hamcrest.text
StringContainsInOrder(Iterable<String>)
- Constructor for class org.hamcrest.text.
StringContainsInOrder
stringContainsInOrder(Iterable<String>)
- Static method in class org.hamcrest.text.
StringContainsInOrder
stripSpace(String)
- Method in class org.hamcrest.text.
IsEqualIgnoringWhiteSpace
T
typeCompatibleWith(Class<T>)
- Static method in class org.hamcrest.
Matchers
typeCompatibleWith(Class<T>)
- Static method in class org.hamcrest.object.
IsCompatibleType
A
B
C
D
E
F
G
H
I
L
M
N
O
P
S
T
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010. All Rights Reserved.