Package | Description |
---|---|
org.easymock | |
org.easymock.internal |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMatcher
Deprecated.
Since EasyMock 2.0,
ArgumentsMatcher s are only supported
for the legacy MockControl . For mock objects generated by the methods
on EasyMock , there are per-argument matchers available. For more
information, see the EasyMock documentation. |
Modifier and Type | Field and Description |
---|---|
static ArgumentsMatcher |
MockControl.ALWAYS_MATCHER
Deprecated.
Matches always.
|
static ArgumentsMatcher |
MockControl.ARRAY_MATCHER
Deprecated.
Matches if each expected argument is equal to the corresponding actual
argument for non-array arguments; array arguments are compared with the
appropriate
java.util.Arrays.equals() -method. |
static ArgumentsMatcher |
MockControl.EQUALS_MATCHER
Deprecated.
Matches if each expected argument is equal to the corresponding actual
argument.
|
Modifier and Type | Method and Description |
---|---|
void |
MockControl.setDefaultMatcher(ArgumentsMatcher matcher)
Deprecated.
Sets the default ArgumentsMatcher for all methods of the mock object.
|
void |
MockControl.setMatcher(ArgumentsMatcher matcher)
Deprecated.
Sets the ArgumentsMatcher for the last method called on the mock object.
|
Modifier and Type | Class and Description |
---|---|
class |
AlwaysMatcher |
class |
ArrayMatcher |
class |
EqualsMatcher |
Modifier and Type | Method and Description |
---|---|
ArgumentsMatcher |
LegacyMatcherProvider.getMatcher(java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
boolean |
Invocation.matches(Invocation actual,
ArgumentsMatcher matcher) |
void |
ReplayState.setDefaultMatcher(ArgumentsMatcher matcher) |
void |
RecordState.setDefaultMatcher(ArgumentsMatcher matcher) |
void |
MocksBehavior.setDefaultMatcher(ArgumentsMatcher matcher) |
void |
LegacyMatcherProvider.setDefaultMatcher(ArgumentsMatcher matcher) |
void |
ILegacyMatcherMethods.setDefaultMatcher(ArgumentsMatcher matcher) |
void |
MocksControl.setLegacyDefaultMatcher(ArgumentsMatcher matcher) |
void |
MocksControl.setLegacyMatcher(ArgumentsMatcher matcher) |
void |
ReplayState.setMatcher(java.lang.reflect.Method method,
ArgumentsMatcher matcher) |
void |
RecordState.setMatcher(java.lang.reflect.Method method,
ArgumentsMatcher matcher) |
void |
MocksBehavior.setMatcher(java.lang.reflect.Method method,
ArgumentsMatcher matcher) |
void |
LegacyMatcherProvider.setMatcher(java.lang.reflect.Method method,
ArgumentsMatcher matcher) |
void |
ILegacyMatcherMethods.setMatcher(java.lang.reflect.Method method,
ArgumentsMatcher matcher) |
java.lang.String |
Invocation.toString(ArgumentsMatcher matcher) |
ExpectedInvocation |
ExpectedInvocation.withMatcher(ArgumentsMatcher matcher) |
Copyright © 2001-2009 OFFIS, Tammo Freese, Henri Tremblay. This documentation is provided under the terms of the MIT licence.]]>