- AbstractMatcher - Class in org.easymock
-
- AbstractMatcher() - Constructor for class org.easymock.AbstractMatcher
-
Deprecated.
- ALWAYS_MATCHER - Static variable in class org.easymock.MockControl
-
Deprecated.
Matches always.
- and(boolean, boolean) - Static method in class org.easymock.EasyMock
-
Expects a boolean that matches both given expectations.
- and(byte, byte) - Static method in class org.easymock.EasyMock
-
Expects a byte that matches both given expectations.
- and(char, char) - Static method in class org.easymock.EasyMock
-
Expects a char that matches both given expectations.
- and(double, double) - Static method in class org.easymock.EasyMock
-
Expects a double that matches both given expectations.
- and(float, float) - Static method in class org.easymock.EasyMock
-
Expects a float that matches both given expectations.
- and(int, int) - Static method in class org.easymock.EasyMock
-
Expects an int that matches both given expectations.
- and(long, long) - Static method in class org.easymock.EasyMock
-
Expects a long that matches both given expectations.
- and(short, short) - Static method in class org.easymock.EasyMock
-
Expects a short that matches both given expectations.
- and(T, T) - Static method in class org.easymock.EasyMock
-
Expects an Object that matches both given expectations.
- andReturn(T) - Method in interface org.easymock.IExpectationSetters
-
Sets a return value that should be returned for the expected invocation.
- andStubReturn(Object) - Method in interface org.easymock.IExpectationSetters
-
Sets a stub return value that should be returned for the expected
invocation.
- andStubThrow(Throwable) - Method in interface org.easymock.IExpectationSetters
-
Sets a stub throwable that should be thrown for the expected invocation.
- andThrow(Throwable) - Method in interface org.easymock.IExpectationSetters
-
Sets a throwable that should be thrown for the expected invocation.
- anyBoolean() - Static method in class org.easymock.EasyMock
-
Expects any boolean argument.
- anyByte() - Static method in class org.easymock.EasyMock
-
Expects any byte argument.
- anyChar() - Static method in class org.easymock.EasyMock
-
Expects any char argument.
- anyDouble() - Static method in class org.easymock.EasyMock
-
Expects any double argument.
- anyFloat() - Static method in class org.easymock.EasyMock
-
Expects any float argument.
- anyInt() - Static method in class org.easymock.EasyMock
-
Expects any int argument.
- anyLong() - Static method in class org.easymock.EasyMock
-
Expects any long argument.
- anyObject() - Static method in class org.easymock.EasyMock
-
Expects any Object argument.
- anyShort() - Static method in class org.easymock.EasyMock
-
Expects any short argument.
- anyTimes() - Method in interface org.easymock.IExpectationSetters
-
Expect the last invocation any times.
- appendTo(StringBuffer) - Method in interface org.easymock.IArgumentMatcher
-
Appends a string representation of this matcher to the given buffer.
- argumentMatches(Object, Object) - Method in class org.easymock.AbstractMatcher
-
Deprecated.
- ArgumentsMatcher - Interface in org.easymock
-
- argumentToString(Object) - Method in class org.easymock.AbstractMatcher
-
Deprecated.
- ARRAY_MATCHER - Static variable in class org.easymock.MockControl
-
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.
- aryEq(boolean[]) - Static method in class org.easymock.EasyMock
-
Expects a boolean array that is equal to the given array, i.e.
- aryEq(byte[]) - Static method in class org.easymock.EasyMock
-
Expects a byte array that is equal to the given array, i.e.
- aryEq(char[]) - Static method in class org.easymock.EasyMock
-
Expects a char array that is equal to the given array, i.e.
- aryEq(double[]) - Static method in class org.easymock.EasyMock
-
Expects a double array that is equal to the given array, i.e.
- aryEq(float[]) - Static method in class org.easymock.EasyMock
-
Expects a float array that is equal to the given array, i.e.
- aryEq(int[]) - Static method in class org.easymock.EasyMock
-
Expects an int array that is equal to the given array, i.e.
- aryEq(long[]) - Static method in class org.easymock.EasyMock
-
Expects a long array that is equal to the given array, i.e.
- aryEq(short[]) - Static method in class org.easymock.EasyMock
-
Expects a short array that is equal to the given array, i.e.
- aryEq(T[]) - Static method in class org.easymock.EasyMock
-
Expects an Object array that is equal to the given array, i.e.
- asStub() - Method in interface org.easymock.IExpectationSetters
-
Sets stub behavior for the expected invocation (this is needed for void
methods).
- atLeastOnce() - Method in interface org.easymock.IExpectationSetters
-
Expect the last invocation at least once.
- callback(Runnable) - Method in interface org.easymock.IExpectationSetters
-
Sets a callback that should be called for the expected invocation.
- checkOrder(Object, boolean) - Static method in class org.easymock.EasyMock
-
Switches order checking of the given mock object (more exactly: the
control of the mock object) the on and off.
- checkOrder(boolean) - Method in interface org.easymock.IMocksControl
-
Switches order checking on and off.
- contains(String) - Static method in class org.easymock.EasyMock
-
Expects a string that contains the given substring.
- createControl() - Static method in class org.easymock.EasyMock
-
Creates a control, order checking is disabled by default.
- createControl(Class<T>) - Static method in class org.easymock.MockControl
-
Deprecated.
Creates a mock control object for the specified interface.
- createMock(Class<T>) - Static method in class org.easymock.EasyMock
-
Creates a mock object that implements the given interface, order checking
is disabled by default.
- createMock(Class<T>) - Method in interface org.easymock.IMocksControl
-
Creates a mock object that implements the given interface.
- createNiceControl() - Static method in class org.easymock.EasyMock
-
Creates a control, order checking is disabled by default, and the mock
objects created by this control will return 0,
null or false for unexpected invocations.
- createNiceControl(Class<T>) - Static method in class org.easymock.MockControl
-
Deprecated.
Creates a mock control object for the specified interface.
- createNiceMock(Class<T>) - Static method in class org.easymock.EasyMock
-
Creates a mock object that implements the given interface, order checking
is disabled by default, and the mock object will return 0,
null or false for unexpected invocations.
- createStrictControl() - Static method in class org.easymock.EasyMock
-
Creates a control, order checking is enabled by default.
- createStrictControl(Class<T>) - Static method in class org.easymock.MockControl
-
Deprecated.
Creates a mock control object for the specified interface.
- createStrictMock(Class<T>) - Static method in class org.easymock.EasyMock
-
Creates a mock object that implements the given interface, order checking
is enabled by default.
- EasyMock - Class in org.easymock
-
- EasyMock() - Constructor for class org.easymock.EasyMock
-
- endsWith(String) - Static method in class org.easymock.EasyMock
-
Expects a string that ends with the given suffix.
- eq(boolean) - Static method in class org.easymock.EasyMock
-
Expects a boolean that is equal to the given value.
- eq(byte) - Static method in class org.easymock.EasyMock
-
Expects a byte that is equal to the given value.
- eq(char) - Static method in class org.easymock.EasyMock
-
Expects a char that is equal to the given value.
- eq(double) - Static method in class org.easymock.EasyMock
-
Expects a double that is equal to the given value.
- eq(float) - Static method in class org.easymock.EasyMock
-
Expects a float that is equal to the given value.
- eq(int) - Static method in class org.easymock.EasyMock
-
Expects an int that is equal to the given value.
- eq(long) - Static method in class org.easymock.EasyMock
-
Expects a long that is equal to the given value.
- eq(short) - Static method in class org.easymock.EasyMock
-
Expects a short that is equal to the given value.
- eq(T) - Static method in class org.easymock.EasyMock
-
Expects an Object that is equal to the given value.
- eq(double, double) - Static method in class org.easymock.EasyMock
-
Expects a double that has an absolute difference to the given value that
is less than the given delta.
- eq(float, float) - Static method in class org.easymock.EasyMock
-
Expects a float that has an absolute difference to the given value that
is less than the given delta.
- EQUALS_MATCHER - Static variable in class org.easymock.MockControl
-
Deprecated.
Matches if each expected argument is equal to the corresponding actual
argument.
- expect(T) - Static method in class org.easymock.EasyMock
-
Returns the expectation setter for the last expected invocation in the
current thread.
- expectAndDefaultReturn(V1, V2) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndDefaultThrow(Object, Throwable) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndReturn(V1, V2) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndReturn(int, int) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndReturn(V1, V2, Range) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndReturn(int, int, Range) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndReturn(V1, V2, int) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndReturn(int, int, int) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndReturn(V1, V2, int, int) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndReturn(int, int, int, int) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndThrow(Object, Throwable) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndThrow(Object, Throwable, Range) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndThrow(Object, Throwable, int) - Method in class org.easymock.MockControl
-
Deprecated.
- expectAndThrow(Object, Throwable, int, int) - Method in class org.easymock.MockControl
-
Deprecated.
- expectLastCall() - Static method in class org.easymock.EasyMock
-
Returns the expectation setter for the last expected invocation in the
current thread.
- geq(byte) - Static method in class org.easymock.EasyMock
-
Expects a byte argument greater than or equal to the given value.
- geq(double) - Static method in class org.easymock.EasyMock
-
Expects a double argument greater than or equal to the given value.
- geq(float) - Static method in class org.easymock.EasyMock
-
Expects a float argument greater than or equal to the given value.
- geq(int) - Static method in class org.easymock.EasyMock
-
Expects an int argument greater than or equal to the given value.
- geq(long) - Static method in class org.easymock.EasyMock
-
Expects a long argument greater than or equal to the given value.
- geq(short) - Static method in class org.easymock.EasyMock
-
Expects a short argument greater than or equal to the given value.
- getMock() - Method in class org.easymock.MockControl
-
Deprecated.
Returns the mock object.
- gt(byte) - Static method in class org.easymock.EasyMock
-
Expects a byte argument greater than the given value.
- gt(double) - Static method in class org.easymock.EasyMock
-
Expects a double argument greater than the given value.
- gt(float) - Static method in class org.easymock.EasyMock
-
Expects a float argument greater than the given value.
- gt(int) - Static method in class org.easymock.EasyMock
-
Expects an int argument greater than the given value.
- gt(long) - Static method in class org.easymock.EasyMock
-
Expects a long argument greater than the given value.
- gt(short) - Static method in class org.easymock.EasyMock
-
Expects a short argument greater than the given value.
- leq(byte) - Static method in class org.easymock.EasyMock
-
Expects a byte argument less than or equal to the given value.
- leq(double) - Static method in class org.easymock.EasyMock
-
Expects a double argument less than or equal to the given value.
- leq(float) - Static method in class org.easymock.EasyMock
-
Expects a float argument less than or equal to the given value.
- leq(int) - Static method in class org.easymock.EasyMock
-
Expects an int argument less than or equal to the given value.
- leq(long) - Static method in class org.easymock.EasyMock
-
Expects a long argument less than or equal to the given value.
- leq(short) - Static method in class org.easymock.EasyMock
-
Expects a short argument less than or equal to the given value.
- lt(byte) - Static method in class org.easymock.EasyMock
-
Expects a byte argument less than the given value.
- lt(double) - Static method in class org.easymock.EasyMock
-
Expects a double argument less than the given value.
- lt(float) - Static method in class org.easymock.EasyMock
-
Expects a float argument less than the given value.
- lt(int) - Static method in class org.easymock.EasyMock
-
Expects an int argument less than the given value.
- lt(long) - Static method in class org.easymock.EasyMock
-
Expects a long argument less than the given value.
- lt(short) - Static method in class org.easymock.EasyMock
-
Expects a short argument less than the given value.
- same(T) - Static method in class org.easymock.EasyMock
-
Expects an Object that is the same as the given value.
- setDefaultMatcher(ArgumentsMatcher) - Method in class org.easymock.MockControl
-
Deprecated.
Sets the default ArgumentsMatcher for all methods of the mock object.
- setDefaultReturnValue(Object) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will by default allow the last method
specified by a method call, and will react by returning the provided
return value.
- setDefaultThrowable(Throwable) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will by default allow the last method
specified by a method call, and will react by throwing the provided
Throwable.
- setDefaultVoidCallable() - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will by default allow the last method
specified by a method call.
- setMatcher(ArgumentsMatcher) - Method in class org.easymock.MockControl
-
Deprecated.
Sets the ArgumentsMatcher for the last method called on the mock object.
- setReturnValue(Object) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call once, and
will react by returning the provided return value.
- setReturnValue(Object, int) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call a fixed
number of times, and will react by returning the provided return value.
- setReturnValue(Object, Range) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call a fixed
number of times, and will react by returning the provided return value.
- setReturnValue(Object, int, int) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call between
minCount and maxCount times, and will react
by returning the provided return value.
- setThrowable(Throwable) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call once, and
will react by throwing the provided Throwable.
- setThrowable(Throwable, int) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call a fixed
number of times, and will react by throwing the provided Throwable.
- setThrowable(Throwable, int, int) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call between
minCount and maxCount times, and will react
by throwing the provided Throwable.
- setThrowable(Throwable, Range) - Method in class org.easymock.MockControl
-
Deprecated.
- setVoidCallable() - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call once, and
will react by returning silently.
- setVoidCallable(int) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call a fixed
number of times, and will react by returning silently.
- setVoidCallable(int, int) - Method in class org.easymock.MockControl
-
Deprecated.
Records that the mock object will expect the last method call between
minCount and maxCount times, and will react
by returning silently.
- setVoidCallable(Range) - Method in class org.easymock.MockControl
-
Deprecated.
- startsWith(String) - Static method in class org.easymock.EasyMock
-
Expects a string that starts with the given prefix.