|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Matcher to act as an
EasyMock IArgumentMatcher and
report it to EasyMock so it can be kept track of.
Matcher to act as an
jMock Constraint.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
String.
String.
String.
SelfDescribing value to this description.
SelfDescribing objects
to the description.
length of the array
satisfies the specified matcher.
length of the array
equals the specified size.
length of the array
satisfies the specified matcher.
length of the array
equals the specified size.
StringDescription.toString(SelfDescribing).
Description that is stored as a string.Doubles that matches when an examined double is equal
to the specified operand, within a range of +/- error.
BigDecimals that matches when an examined BigDecimal is equal
to the specified operand, within a range of +/- error.
BigDecimals that matches when an examined BigDecimal is equal
to the specified operand, within a range of +/- error.
Doubles that matches when an examined double is equal
to the specified operand, within a range of +/- error.
Comparable object that matches when the examined object is
equal to the specified value, as reported by the compareTo method of the
examined object.
Comparable object that matches when the examined object is
equal to the specified value, as reported by the compareTo method of the
examined object.
Iterables that matches when a single pass over the
examined Iterable yields a series of items, each logically equal to the
corresponding item in the specified items.
Iterables that matches when a single pass over the
examined Iterable yields a single item that satisfies the specified matcher.
Iterables that matches when a single pass over the
examined Iterable yields a series of items, each satisfying the corresponding
matcher in the specified matchers.
Iterables that matches when a single pass over the
examined Iterable yields a series of items, each satisfying the corresponding
matcher in the specified list of matchers.
Iterables that matches when a single pass over the
examined Iterable yields a series of items, each satisfying the corresponding
matcher in the specified matchers.
Iterables that matches when a single pass over the
examined Iterable yields a series of items, each logically equal to the
corresponding item in the specified items.
Iterables that matches when a single pass over the
examined Iterable yields a single item that satisfies the specified matcher.
Iterables that matches when a single pass over the
examined Iterable yields a series of items, each satisfying the corresponding
matcher in the specified list of matchers.
Iterables that matches when a single pass over
the examined Iterable yields a series of items, each satisfying one matcher anywhere
in the specified matchers.
Iterables that matches when a single pass over
the examined Iterable yields a series of items, each logically equal to one item
anywhere in the specified items.
Iterables that matches when a single pass over
the examined Iterable yields a series of items, each satisfying one matcher anywhere
in the specified collection of matchers.
Iterables that matches when a single pass over
the examined Iterable yields a series of items, each logically equal to one item
anywhere in the specified items.
Iterables that matches when a single pass over
the examined Iterable yields a series of items, each satisfying one matcher anywhere
in the specified collection of matchers.
Iterables that matches when a single pass over
the examined Iterable yields a series of items, each satisfying one matcher anywhere
in the specified matchers.
String contains the specified
String anywhere.
String contains the specified
String anywhere.
String contains the specified
String anywhere.
Matcher
to act as an EasyMock IArgumentMatcher.Collections matching examined collections whose isEmpty
method returns true.
Collections matching examined collections whose isEmpty
method returns true.
length of the array
is zero.
length of the array
is zero.
Collections matching examined collections whose isEmpty
method returns true.
Collections matching examined collections whose isEmpty
method returns true.
Iterables matching examined iterables that yield no items.
Iterables matching examined iterables that yield no items.
Iterables matching examined iterables that yield no items.
Iterables matching examined iterables that yield no items.
String ends with the specified
String.
String ends with the specified
String.
String ends with the specified
String.
operand, as determined by calling the Object.equals(java.lang.Object) method on
the examined object.
operand, as determined by calling the Object.equals(java.lang.Object) method on
the examined object.
operand, as determined by calling the Object.equals(java.lang.Object) method on
the examined object.
String that matches when the examined string is equal to
the specified expectedString, ignoring case.
String that matches when the examined string is equal to
the specified expectedString, ignoring case.
String that matches when the examined string is equal to
the specified expectedString, when whitespace differences are (mostly) ignored.
String that matches when the examined string is equal to
the specified expectedString, when whitespace differences are (mostly) ignored.
EventObject that matches any object
derived from eventClass announced by source.
EventObject that matches any EventObject
announced by source.
EventObject that matches any object
derived from eventClass announced by source.
EventObject that matches any EventObject
announced by source.
Iterables that only matches when a single pass over the
examined Iterable yields items that are all matched by the specified
itemMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields items that are all matched by the specified
itemMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields items that are all matched by the specified
itemMatcher.
Comparable object that matches when the examined object is
greater than the specified value, as reported by the compareTo method of the
examined object.
Comparable object that matches when the examined object is
greater than the specified value, as reported by the compareTo method of the
examined object.
Comparable object that matches when the examined object is
greater than or equal to the specified value, as reported by the compareTo method
of the examined object.
Comparable object that matches when the examined object is
greater than or equal to the specified value, as reported by the compareTo method
of the examined object.
Maps matching when the examined Map contains
at least one entry whose key satisfies the specified keyMatcher and whose
value satisfies the specified valueMatcher.
Maps matching when the examined Map contains
at least one entry whose key equals the specified key and whose value equals the
specified value.
Maps matching when the examined Map contains
at least one entry whose key equals the specified key and whose value equals the
specified value.
Maps matching when the examined Map contains
at least one entry whose key satisfies the specified keyMatcher and whose
value satisfies the specified valueMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is matched by the specified
itemMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is equal to the specified
item.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is equal to the specified
item.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is matched by the specified
itemMatcher.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is equal to the specified
item.
Iterables that only matches when a single pass over the
examined Iterable yields at least one item that is matched by the specified
itemMatcher.
elementMatcher.
hasItemInArray(equalTo(x)).
hasItemInArray(equalTo(x)).
elementMatcher.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is matched by the corresponding
matcher from the specified itemMatchers.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is equal to the corresponding
item from the specified items.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is equal to the corresponding
item from the specified items.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is matched by the corresponding
matcher from the specified itemMatchers.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is equal to the corresponding
item from the specified items.
Iterables that matches when consecutive passes over the
examined Iterable yield at least one item that is matched by the corresponding
matcher from the specified itemMatchers.
Maps matching when the examined Map contains
at least one key that satisfies the specified matcher.
Maps matching when the examined Map contains
at least one key that is equal to the specified key.
Maps matching when the examined Map contains
at least one key that satisfies the specified matcher.
Maps matching when the examined Map contains
at least one key that is equal to the specified key.
Collections that matches when the size() method returns
a value that satisfies the specified matcher.
Collections that matches when the size() method returns
a value equal to the specified size.
Collections that matches when the size() method returns
a value that satisfies the specified matcher.
Collections that matches when the size() method returns
a value equal to the specified size.
toString method
returns a value that satisfies the specified matcher.
toString method
returns a value equalTo the specified string.
toString method
returns a value that satisfies the specified matcher.
toString method
returns a value equalTo the specified string.
Maps matching when the examined Map contains
at least one value that satisfies the specified valueMatcher.
Maps matching when the examined Map contains
at least one value that is equal to the specified value.
Maps matching when the examined Map contains
at least one value that is equal to the specified value.
Maps matching when the examined Map contains
at least one value that satisfies the specified valueMatcher.
Nodes that matches when the examined node contains a node
at the specified xPath within the specified namespace context, with any content.
Nodes that matches when the examined node contains a node
at the specified xPath, with any content.
Nodes that matches when the examined node has a value at the
specified xPath, within the specified namespaceContext, that satisfies
the specified valueMatcher.
Nodes that matches when the examined node has a value at the
specified xPath that satisfies the specified valueMatcher.
Nodes that matches when the examined node has a value at the
specified xPath that satisfies the specified valueMatcher.
Nodes that matches when the examined node has a value at the
specified xPath, within the specified namespaceContext, that satisfies
the specified valueMatcher.
Nodes that matches when the examined node contains a node
at the specified xPath, with any content.
Nodes that matches when the examined node contains a node
at the specified xPath within the specified namespace context, with any content.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
type,
as determined by calling the Class.isInstance(Object) method on that type, passing the
the examined object.
is(equalTo(x)).
is(equalTo(x)).
is(equalTo(x)).
is(instanceOf(SomeClass.class)).
is(instanceOf(SomeClass.class)).
is(instanceOf(SomeClass.class)).
true.String that matches when the examined string is null, or
has zero length.
String that matches when the examined string is null, or
has zero length.
String that matches when the examined string has zero length.
String that matches when the examined string has zero length.
Object.equals(java.lang.Object) invokedMethod?Iterables that matches when a single pass over the
examined Iterable yields an item count that satisfies the specified
matcher.
Iterables that matches when a single pass over the
examined Iterable yields an item count that is equal to the specified
size argument.
Iterables that matches when a single pass over the
examined Iterable yields an item count that satisfies the specified
matcher.
Iterables that matches when a single pass over the
examined Iterable yields an item count that is equal to the specified
size argument.
assert keyword.Matcher
to act as an jMock1 Constraint.Comparable object that matches when the examined object is
less than the specified value, as reported by the compareTo method of the
examined object.
Comparable object that matches when the examined object is
less than the specified value, as reported by the compareTo method of the
examined object.
Comparable object that matches when the examined object is
less than or equal to the specified value, as reported by the compareTo method
of the examined object.
Comparable object that matches when the examined object is
less than or equal to the specified value, as reported by the compareTo method
of the examined object.
not(equalTo(x)).
not(equalTo(x)).
not(equalTo(x)).
not(nullValue()).
not(nullValue(X.class)).
- notNullValue() -
Static method in class org.hamcrest.CoreMatchers
- A shortcut to the frequently used
not(nullValue()).
- notNullValue(Class<T>) -
Static method in class org.hamcrest.CoreMatchers
- A shortcut to the frequently used
not(nullValue(X.class)).
- notNullValue() -
Static method in class org.hamcrest.Matchers
- A shortcut to the frequently used
not(nullValue()).
- notNullValue(Class<T>) -
Static method in class org.hamcrest.Matchers
- A shortcut to the frequently used
not(nullValue(X.class)).
- nullValue() -
Static method in class org.hamcrest.core.IsNull
- Creates a matcher that matches if examined object is
null.
- nullValue(Class<T>) -
Static method in class org.hamcrest.core.IsNull
- Creates a matcher that matches if examined object is
null.
- nullValue() -
Static method in class org.hamcrest.CoreMatchers
- Creates a matcher that matches if examined object is
null.
- nullValue(Class<T>) -
Static method in class org.hamcrest.CoreMatchers
- Creates a matcher that matches if examined object is
null.
- nullValue() -
Static method in class org.hamcrest.Matchers
- Creates a matcher that matches if examined object is
null.
- nullValue(Class<T>) -
Static method in class org.hamcrest.Matchers
- Creates a matcher that matches if examined object is
null.
String starts with the specified
String.
String starts with the specified
String.
String starts with the specified
String.
String that matches when the examined string contains all of
the specified substrings, regardless of the order of their appearance.
String that matches when the examined string contains all of
the specified substrings, regardless of the order of their appearance.
Description that is stored as a string.SelfDescribing object as a String.
Class that matches when the specified baseType is
assignable from the examined class.
Class that matches when the specified baseType is
assignable from the examined class.
matchesSafely
is not the class that binds <T> to a type.
matchesSafely
is not the class that binds <T> to a type.
matchesSafely
is not the class that binds <T> to a type.
matchesSafely
is not the class that binds <T> to a type.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||