Index (EasyMock 3.0 API)
Date: 2010-05-08

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

A C D E F G H I L M N O R S T V W

## A

addMockedMethod(Method) - Method in interface org.easymock.IMockBuilder
  Adds a method to be mocked in the testing class.
addMockedMethod(String) - Method in interface org.easymock.IMockBuilder
  Adds a method to be mocked in the testing class.
addMockedMethod(String, Class<?>...) - Method in interface org.easymock.IMockBuilder
  Adds a method to be mocked in the testing class.
addMockedMethods(String...) - Method in interface org.easymock.IMockBuilder
  Adds methods to be mocked in the testing class.
addMockedMethods(Method...) - Method in interface org.easymock.IMockBuilder
  Adds methods to be mocked in the testing class.
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.
andAnswer(IAnswer<? extends T>) - Method in interface org.easymock.IExpectationSetters
  Sets an object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).
andDelegateTo(Object) - Method in interface org.easymock.IExpectationSetters
  Sets an object implementing the same interface as the mock.
andReturn(T) - Method in interface org.easymock.IExpectationSetters
  Sets a return value that will be returned for the expected invocation.
andStubAnswer(IAnswer<? extends T>) - Method in interface org.easymock.IExpectationSetters
  Sets a stub object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).
andStubDelegateTo(Object) - Method in interface org.easymock.IExpectationSetters
  Sets a stub object implementing the same interface as the mock.
andStubReturn(T) - Method in interface org.easymock.IExpectationSetters
  Sets a stub return value that will be returned for the expected invocation.
andStubThrow(Throwable) - Method in interface org.easymock.IExpectationSetters
  Sets a stub throwable that will be thrown for the expected invocation.
andThrow(Throwable) - Method in interface org.easymock.IExpectationSetters
  Sets a throwable that will be thrown for the expected invocation.
answer() - Method in interface org.easymock.IAnswer
  Is called by EasyMock to answer an expected call.
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.
anyObject(Class<T>) - 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.
aryEq(boolean[]) - Static method in class org.easymock.EasyMock
  Expects a boolean array that is equal to the given array, i.e. it has to have the same length, and each element has to be equal.
aryEq(byte[]) - Static method in class org.easymock.EasyMock
  Expects a byte array that is equal to the given array, i.e. it has to have the same length, and each element has to be equal.
aryEq(char[]) - Static method in class org.easymock.EasyMock
  Expects a char array that is equal to the given array, i.e. it has to have the same length, and each element has to be equal.
aryEq(double[]) - Static method in class org.easymock.EasyMock
  Expects a double array that is equal to the given array, i.e. it has to have the same length, and each element has to be equal.
aryEq(float[]) - Static method in class org.easymock.EasyMock
  Expects a float array that is equal to the given array, i.e. it has to have the same length, and each element has to be equal.
aryEq(int[]) - Static method in class org.easymock.EasyMock
  Expects an int array that is equal to the given array, i.e. it has to have the same length, and each element has to be equal.
aryEq(long[]) - Static method in class org.easymock.EasyMock
  Expects a long array that is equal to the given array, i.e. it has to have the same length, and each element has to be equal.
aryEq(short[]) - Static method in class org.easymock.EasyMock
  Expects a short array that is equal to the given array, i.e. it has to have the same length, and each element has to be equal.
aryEq(T[]) - Static method in class org.easymock.EasyMock
  Expects an Object array that is equal to the given array, i.e. it has to have the same type, length, and each element has to be equal.
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.

## C

Capture<T> - Class in org.easymock
  Will contain what was captured by the `capture()` matcher.
Capture() - Constructor for class org.easymock.Capture
  Default constructor.
Capture(CaptureType) - Constructor for class org.easymock.Capture
  Constructor allowing to select the capture type
capture(Capture<T>) - Static method in class org.easymock.EasyMock
  Expect any object but captures it for later use.
capture(Capture<Boolean>) - Static method in class org.easymock.EasyMock
  Expect any boolean but captures it for later use.
capture(Capture<Integer>) - Static method in class org.easymock.EasyMock
  Expect any int but captures it for later use.
capture(Capture<Long>) - Static method in class org.easymock.EasyMock
  Expect any long but captures it for later use.
capture(Capture<Float>) - Static method in class org.easymock.EasyMock
  Expect any float but captures it for later use.
capture(Capture<Double>) - Static method in class org.easymock.EasyMock
  Expect any double but captures it for later use.
capture(Capture<Byte>) - Static method in class org.easymock.EasyMock
  Expect any byte but captures it for later use.
capture(Capture<Character>) - Static method in class org.easymock.EasyMock
  Expect any char but captures it for later use.
CaptureType - Enum in org.easymock
  Defines how arguments will be captured by a `Capture` object
checkIsUsedInOneThread(Object, boolean) - Static method in class org.easymock.EasyMock
  Tell that the mock should be used in only one thread.
checkIsUsedInOneThread(boolean) - Method in interface org.easymock.IMocksControl
  Check that the mock is called from only one thread
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.
cmp(T, Comparator<? super T>, LogicalOperator) - Static method in class org.easymock.EasyMock
  Expects an argument that will be compared using the provided comparator.
cmpEq(Comparable<T>) - Static method in class org.easymock.EasyMock
  Expects a comparable argument equals to the given value according to their compareTo method.
ConstructorArgs - Class in org.easymock
  Class wrapping arguments to create a partial class mock that gets instantiated by calling one of its constructors
ConstructorArgs(Constructor<?>, Object...) - Constructor for class org.easymock.ConstructorArgs
contains(String) - Static method in class org.easymock.EasyMock
  Expects a string that contains the given substring.
controls - Variable in class org.easymock.EasyMockSupport
  List of all controls created
createControl() - Static method in class org.easymock.EasyMock
  Creates a control, order checking is disabled by default.
createControl() - Method in class org.easymock.EasyMockSupport
  Creates a control, order checking is disabled by default.
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(String, 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...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createMock(String, Class<T>, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createMock(String, Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createMock(Class<T>, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createMock(String, Class<T>, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createMock(Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createMock(String, Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createMock(Class<T>) - Method in class org.easymock.EasyMockSupport
  Creates a mock object that implements the given interface, order checking is disabled by default.
createMock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
  Creates a mock object that implements the given interface, order checking is disabled by default.
createMock() - Method in interface org.easymock.IMockBuilder
  Create a default mock from this builder.
createMock(IMocksControl) - Method in interface org.easymock.IMockBuilder
  Create mock from the provided mock control using the arguments passed to the builder.
createMock(String) - Method in interface org.easymock.IMockBuilder
  Create named mock from the provided mock control using the arguments passed to the builder.
createMock(String, IMocksControl) - Method in interface org.easymock.IMockBuilder
  Create named mock from the provided mock control using the arguments passed to the builder.
createMock(Class<T>) - Method in interface org.easymock.IMocksControl
  Creates a mock object that implements the given interface.
createMock(String, Class<T>) - Method in interface org.easymock.IMocksControl
  Creates a mock object that implements the given interface.
createMock(Class<T>, Method...) - Method in interface org.easymock.IMocksControl
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createMock(Class<T>, ConstructorArgs, Method...) - Method in interface org.easymock.IMocksControl
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createMock(String, Class<T>, Method...) - Method in interface org.easymock.IMocksControl
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createMock(String, Class<T>, ConstructorArgs, Method...) - Method in interface org.easymock.IMocksControl
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createMockBuilder(Class<T>) - Static method in class org.easymock.EasyMock
  Create a mock builder allowing to create a partial mock for the given class or interface.
createMockBuilder(Class<T>) - Method in class org.easymock.EasyMockSupport
  Create a mock builder allowing to create a partial mock for the given class or 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() - Method in class org.easymock.EasyMockSupport
  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.
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.
createNiceMock(String, 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.
createNiceMock(Class<T>, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createNiceMock(String, Class<T>, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createNiceMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createNiceMock(String, Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createNiceMock(Class<T>, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createNiceMock(String, Class<T>, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createNiceMock(Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createNiceMock(String, Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createNiceMock(Class<T>) - Method in class org.easymock.EasyMockSupport
  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.
createNiceMock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
  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.
createNiceMock() - Method in interface org.easymock.IMockBuilder
  Create a nice mock from this builder.
createNiceMock(String) - Method in interface org.easymock.IMockBuilder
  Create a named nice mock from this builder.
createStrictControl() - Static method in class org.easymock.EasyMock
  Creates a control, order checking is enabled by default.
createStrictControl() - Method in class org.easymock.EasyMockSupport
  Creates a control, order checking is enabled by default.
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.
createStrictMock(String, Class<T>) - Static method in class org.easymock.EasyMock
  Creates a mock object that implements the given interface, order checking is enabled by default.
createStrictMock(Class<T>, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createStrictMock(String, Class<T>, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createStrictMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createStrictMock(String, Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.EasyMock
  Deprecated. Use `EasyMock.createMockBuilder(Class)` instead
createStrictMock(Class<T>, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createStrictMock(String, Class<T>, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createStrictMock(Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createStrictMock(String, Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.EasyMockSupport
  Deprecated. Use `EasyMockSupport.createMockBuilder(Class)` instead
createStrictMock(Class<T>) - Method in class org.easymock.EasyMockSupport
  Creates a mock object that implements the given interface, order checking is enabled by default.
createStrictMock(String, Class<T>) - Method in class org.easymock.EasyMockSupport
  Creates a mock object that implements the given interface, order checking is enabled by default.
createStrictMock() - Method in interface org.easymock.IMockBuilder
  Create a strict mock from this builder.
createStrictMock(String) - Method in interface org.easymock.IMockBuilder
  Create a named strict mock from this builder.

## D

DISABLE_CLASS_MOCKING - Static variable in class org.easymock.EasyMock
  Since EasyMock 3.0, EasyMock can perform class mocking directly without using the class extension.

## E

EasyMock - Class in org.easymock
  Main EasyMock class.
EasyMock() - Constructor for class org.easymock.EasyMock
EasyMockSupport - Class in org.easymock
  Helper class to be used to keep tracks of mocks easily.
EasyMockSupport() - Constructor for class org.easymock.EasyMockSupport
ENABLE_THREAD_SAFETY_CHECK_BY_DEFAULT - Static variable in class org.easymock.EasyMock
  Since EasyMock 2.4, by default, a mock wasn't allowed to be called in multiple threads unless it was made thread-safe (See `EasyMock.makeThreadSafe(Object, boolean)` method).
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.
expect(T) - Static method in class org.easymock.EasyMock
  Returns the expectation setter for the last expected invocation in the current thread.
expectLastCall() - Static method in class org.easymock.EasyMock
  Returns the expectation setter for the last expected invocation in the current thread.

## F

find(String) - Static method in class org.easymock.EasyMock
  Expects a string that contains a substring that matches the given regular expression.

## G

geq(Comparable<T>) - Static method in class org.easymock.EasyMock
  Expects a comparable argument greater than or equal the given value.
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.
getConstructor() - Method in class org.easymock.ConstructorArgs
getCurrentArguments() - Static method in class org.easymock.EasyMock
  Returns the arguments of the current mock method call, if inside an `IAnswer` callback - be careful here, reordering parameters of method changes the semantics of your tests.
getEasyMockProperty(String) - Static method in class org.easymock.EasyMock
  Get the current value for an EasyMock property
getInitArgs() - Method in class org.easymock.ConstructorArgs
getSymbol() - Method in enum org.easymock.LogicalOperator
getValue() - Method in class org.easymock.Capture
  Return captured value
getValues() - Method in class org.easymock.Capture
  Return all captured values.
gt(Comparable<T>) - Static method in class org.easymock.EasyMock
  Expects a comparable argument greater than the given value.
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.

## H

hasCaptured() - Method in class org.easymock.Capture

## I

IAnswer<T> - Interface in org.easymock
  Used to answer expected calls.
IArgumentMatcher - Interface in org.easymock
  Decides whether an actual argument is accepted.
IExpectationSetters<T> - Interface in org.easymock
  Allows setting expectations for an associated expected invocation.
IMockBuilder<T> - Interface in org.easymock
  Helps the creation of partial mocks with `EasyMock`.
IMocksControl - Interface in org.easymock
  Controls all the mock objects created by it.
isA(Class<T>) - Static method in class org.easymock.EasyMock
  Expects an object implementing the given class.
isNull() - Static method in class org.easymock.EasyMock
  Expects null.
isNull(Class<T>) - Static method in class org.easymock.EasyMock
  Expects null.

## L

leq(Comparable<T>) - Static method in class org.easymock.EasyMock
  Expects a comparable argument less than or equal 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.
LogicalOperator - Enum in org.easymock
  See `EasyMock.cmp(T, java.util.Comparator, org.easymock.LogicalOperator)`
lt(Comparable<T>) - Static method in class org.easymock.EasyMock
  Expects a comparable argument less than 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.

## M

makeThreadSafe(Object, boolean) - Static method in class org.easymock.EasyMock
  By default, a mock is thread safe (unless `EasyMock.NOT_THREAD_SAFE_BY_DEFAULT` is set).
makeThreadSafe(boolean) - Method in interface org.easymock.IMocksControl
  Makes the mock thread safe.
matches(String) - Static method in class org.easymock.EasyMock
  Expects a string that matches the given regular expression.
matches(Object) - Method in interface org.easymock.IArgumentMatcher
  Returns whether this matcher accepts the given argument.
matchResult(int) - Method in enum org.easymock.LogicalOperator

## N

not(boolean) - Static method in class org.easymock.EasyMock
  Expects a boolean that does not match the given expectation.
not(byte) - Static method in class org.easymock.EasyMock
  Expects a byte that does not match the given expectation.
not(char) - Static method in class org.easymock.EasyMock
  Expects a char that does not match the given expectation.
not(double) - Static method in class org.easymock.EasyMock
  Expects a double that does not match the given expectation.
not(float) - Static method in class org.easymock.EasyMock
  Expects a float that does not match the given expectation.
not(int) - Static method in class org.easymock.EasyMock
  Expects an int that does not match the given expectation.
not(long) - Static method in class org.easymock.EasyMock
  Expects a long that does not match the given expectation.
not(short) - Static method in class org.easymock.EasyMock
  Expects a short that does not match the given expectation.
not(T) - Static method in class org.easymock.EasyMock
  Expects an Object that does not match the given expectation.
NOT_THREAD_SAFE_BY_DEFAULT - Static variable in class org.easymock.EasyMock
  Since EasyMock 2.5, by default a mock is thread-safe.
notNull() - Static method in class org.easymock.EasyMock
  Expects not null.
notNull(Class<T>) - Static method in class org.easymock.EasyMock
  Expects not null.

## O

once() - Method in interface org.easymock.IExpectationSetters
  Expect the last invocation once.
or(boolean, boolean) - Static method in class org.easymock.EasyMock
  Expects a boolean that matches one of the given expectations.
or(byte, byte) - Static method in class org.easymock.EasyMock
  Expects a byte that matches one of the given expectations.
or(char, char) - Static method in class org.easymock.EasyMock
  Expects a char that matches one of the given expectations.
or(double, double) - Static method in class org.easymock.EasyMock
  Expects a double that matches one of the given expectations.
or(float, float) - Static method in class org.easymock.EasyMock
  Expects a float that matches one of the given expectations.
or(int, int) - Static method in class org.easymock.EasyMock
  Expects an int that matches one of the given expectations.
or(long, long) - Static method in class org.easymock.EasyMock
  Expects a long that matches one of the given expectations.
or(short, short) - Static method in class org.easymock.EasyMock
  Expects a short that matches one of the given expectations.
or(T, T) - Static method in class org.easymock.EasyMock
  Expects an Object that matches one of the given expectations.
org.easymock - package org.easymock

## R

replay(Object...) - Static method in class org.easymock.EasyMock
  Switches the given mock objects (more exactly: the controls of the mock objects) to replay mode.
replay() - Method in interface org.easymock.IMocksControl
  Switches the control from record mode to replay mode.
replayAll() - Method in class org.easymock.EasyMockSupport
  Switches all registered mock objects (more exactly: the controls of the mock objects) to replay mode.
reportMatcher(IArgumentMatcher) - Static method in class org.easymock.EasyMock
  Reports an argument matcher.
reset() - Method in class org.easymock.Capture
  Will reset capture to a "nothing captured yet" state
reset(Object...) - Static method in class org.easymock.EasyMock
  Resets the given mock objects (more exactly: the controls of the mock objects).
reset() - Method in interface org.easymock.IMocksControl
  Removes all expectations for the mock objects of this control.
resetAll() - Method in class org.easymock.EasyMockSupport
  Resets all registered mock objects (more exactly: the controls of the mock objects).
resetAllToDefault() - Method in class org.easymock.EasyMockSupport
  Resets all registered mock objects (more exactly: the controls of the mock objects) and turn them to a mock with default behavior.
resetAllToNice() - Method in class org.easymock.EasyMockSupport
  Resets all registered mock objects (more exactly: the controls of the mock objects) and turn them to a mock with nice behavior.
resetAllToStrict() - Method in class org.easymock.EasyMockSupport
  Resets all registered mock objects (more exactly: the controls of the mock objects) and turn them to a mock with strict behavior.
resetToDefault(Object...) - Static method in class org.easymock.EasyMock
  Resets the given mock objects (more exactly: the controls of the mock objects) and turn them to a mock with default behavior.
resetToDefault() - Method in interface org.easymock.IMocksControl
  Removes all expectations for the mock objects of this control and turn them to default mocks.
resetToNice(Object...) - Static method in class org.easymock.EasyMock
  Resets the given mock objects (more exactly: the controls of the mock objects) and turn them to a mock with nice behavior.
resetToNice() - Method in interface org.easymock.IMocksControl
  Removes all expectations for the mock objects of this control and turn them to nice mocks.
resetToStrict(Object...) - Static method in class org.easymock.EasyMock
  Resets the given mock objects (more exactly: the controls of the mock objects) and turn them to a mock with strict behavior.
resetToStrict() - Method in interface org.easymock.IMocksControl
  Removes all expectations for the mock objects of this control and turn them to strict mocks.

## S

same(T) - Static method in class org.easymock.EasyMock
  Expects an Object that is the same as the given value.
setEasyMockProperty(String, String) - Static method in class org.easymock.EasyMock
  Set a property to modify the default EasyMock behavior.
setValue(T) - Method in class org.easymock.Capture
  Used internally by the EasyMock framework to add a new captured value
startsWith(String) - Static method in class org.easymock.EasyMock
  Expects a string that starts with the given prefix.

## T

times(int) - Method in interface org.easymock.IExpectationSetters
  Expect the last invocation `count` times.
times(int, int) - Method in interface org.easymock.IExpectationSetters
  Expect the last invocation between `min` and `max` times.
toString() - Method in class org.easymock.Capture

## V

valueOf(String) - Static method in enum org.easymock.CaptureType
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.easymock.LogicalOperator
  Returns the enum constant of this type with the specified name.
values() - Static method in enum org.easymock.CaptureType
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.easymock.LogicalOperator
  Returns an array containing the constants of this enum type, in the order they are declared.
verify(Object...) - Static method in class org.easymock.EasyMock
  Verifies the given mock objects (more exactly: the controls of the mock objects).
verify() - Method in interface org.easymock.IMocksControl
  Verifies that all expectations were met.
verifyAll() - Method in class org.easymock.EasyMockSupport
  Verifies all registered mock objects (more exactly: the controls of the mock objects).

## W

withArgs(Object...) - Method in interface org.easymock.IMockBuilder
  Defines the arguments to be passed to the constructor of the class.
withConstructor(Constructor<?>) - Method in interface org.easymock.IMockBuilder
  Defines the constructor to use to instantiate the mock.
withConstructor() - Method in interface org.easymock.IMockBuilder
  Defines the empty constructor should be called.
withConstructor(Object...) - Method in interface org.easymock.IMockBuilder
  Defines the constructor parameters for the mocked class.
withConstructor(Class<?>...) - Method in interface org.easymock.IMockBuilder
  Defines the exact argument types for the constructor to use.

A C D E F G H I L M N O R S T V W

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2010 OFFIS, Tammo Freese, Henri Tremblay. This documentation is provided under the terms of the Apache 2 licence.