Alphabetical Index

A B C E F G H I J L M N O P R S T U V W Z

A

AbstractMatcher - class org.easymock.AbstractMatcher
A convenience implementation of ArgumentsMatcher.
add(Result,Range) - method in class org.easymock.internal.Results
addActual(Invocation) - method in class org.easymock.internal.IMocksBehavior
addActual(Invocation) - method in class org.easymock.internal.MocksBehavior
addActual(Invocation) - method in class org.easymock.internal.UnorderedBehavior
addExpected(ExpectedInvocation,Result,Range) - method in class org.easymock.internal.IMocksBehavior
addExpected(ExpectedInvocation,Result,Range) - method in class org.easymock.internal.MocksBehavior
addExpected(ExpectedInvocation,Result,Range) - method in class org.easymock.internal.UnorderedBehavior
addStub(ExpectedInvocation,Result) - method in class org.easymock.internal.IMocksBehavior
addStub(ExpectedInvocation,Result) - method in class org.easymock.internal.MocksBehavior
ALWAYS_MATCHER - static field in class org.easymock.MockControl<T>
Matches always.
AlwaysMatcher - class org.easymock.internal.AlwaysMatcher
And - class org.easymock.internal.matchers.And
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(List) - constructor for class org.easymock.internal.matchers.And
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.
andAnswer(IAnswer) - method in class org.easymock.internal.IMocksControlState
andAnswer(IAnswer) - method in class org.easymock.internal.MocksControl
andAnswer(IAnswer) - method in class org.easymock.internal.RecordState
andAnswer(IAnswer) - method in class org.easymock.internal.ReplayState
andAnswer(IAnswer) - method in class org.easymock.IExpectationSetters<T>
Sets an object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).
andReturn(Object) - method in class org.easymock.internal.IMocksControlState
andReturn(Object) - method in class org.easymock.internal.MocksControl
andReturn(Object) - method in class org.easymock.internal.RecordState
andReturn(Object) - method in class org.easymock.internal.ReplayState
andReturn(T) - method in class org.easymock.IExpectationSetters<T>
Sets a return value that will be returned for the expected invocation.
andStubAnswer(IAnswer) - method in class org.easymock.internal.IMocksControlState
andStubAnswer(IAnswer) - method in class org.easymock.internal.MocksControl
andStubAnswer(IAnswer) - method in class org.easymock.internal.RecordState
andStubAnswer(IAnswer) - method in class org.easymock.internal.ReplayState
andStubAnswer(IAnswer) - method in class org.easymock.IExpectationSetters<T>
Sets a stub object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).
andStubReturn(Object) - method in class org.easymock.IExpectationSetters<T>
Sets a stub return value that will be returned for the expected invocation.
andStubReturn(Object) - method in class org.easymock.internal.IMocksControlState
andStubReturn(Object) - method in class org.easymock.internal.MocksControl
andStubReturn(Object) - method in class org.easymock.internal.RecordState
andStubReturn(Object) - method in class org.easymock.internal.ReplayState
andStubThrow(Throwable) - method in class org.easymock.IExpectationSetters<T>
Sets a stub throwable that will be thrown for the expected invocation.
andStubThrow(Throwable) - method in class org.easymock.internal.IMocksControlState
andStubThrow(Throwable) - method in class org.easymock.internal.MocksControl
andStubThrow(Throwable) - method in class org.easymock.internal.RecordState
andStubThrow(Throwable) - method in class org.easymock.internal.ReplayState
andThrow(Throwable) - method in class org.easymock.IExpectationSetters<T>
Sets a throwable that will be thrown for the expected invocation.
andThrow(Throwable) - method in class org.easymock.internal.IMocksControlState
andThrow(Throwable) - method in class org.easymock.internal.MocksControl
andThrow(Throwable) - method in class org.easymock.internal.RecordState
andThrow(Throwable) - method in class org.easymock.internal.ReplayState
answer() - method in class org.easymock.IAnswer<T>
is called by EasyMock to answer an expected call.
answer() - method in class org.easymock.internal.Result
ANY - static field in class org.easymock.internal.matchers.Any
Any - class org.easymock.internal.matchers.Any
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 class org.easymock.IExpectationSetters<T>
Expect the last invocation any times.
anyTimes() - method in class org.easymock.internal.MocksControl
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.And
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Any
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.ArrayEquals
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Compare<T>
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.CompareTo<T,extends,Comparable,T>
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Contains
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.EndsWith
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Equals
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.EqualsWithDelta
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Find
appendTo(StringBuffer) - method in class org.easymock.IArgumentMatcher
Appends a string representation of this matcher to the given buffer.
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.InstanceOf
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Matches
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Not
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.NotNull
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Null
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Or
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.Same
appendTo(StringBuffer) - method in class org.easymock.internal.matchers.StartsWith
argumentMatches(Object,Object) - method in class org.easymock.AbstractMatcher
Checks whether an expected argument matches an actual argument; the method is used by AbstractMatcher.matches(Object[], Object[]).
argumentMatches(Object,Object) - method in class org.easymock.internal.ArrayMatcher
ArgumentsMatcher - interface org.easymock.ArgumentsMatcher
A comparison function that is used to match arguments.
argumentToString(Object) - method in class org.easymock.AbstractMatcher
Converts an argument to a String, used by AbstractMatcher.toString(Object[]).
argumentToString(Object) - method in class org.easymock.internal.AlwaysMatcher
argumentToString(Object) - method in class org.easymock.internal.ArrayMatcher
ARRAY_MATCHER - static field in class org.easymock.MockControl<T>
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.
ArrayEquals - class org.easymock.internal.matchers.ArrayEquals
ArrayEquals(Object) - constructor for class org.easymock.internal.matchers.ArrayEquals
ArrayMatcher - class org.easymock.internal.ArrayMatcher
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.
AssertionErrorWrapper - class org.easymock.internal.AssertionErrorWrapper
AssertionErrorWrapper(AssertionError) - constructor for class org.easymock.internal.AssertionErrorWrapper
assertRecordState() - method in class org.easymock.internal.IMocksControlState
assertRecordState() - method in class org.easymock.internal.RecordState
assertRecordState() - method in class org.easymock.internal.ReplayState
asStub() - method in class org.easymock.IExpectationSetters<T>
Sets stub behavior for the expected invocation (this is needed for void methods).
asStub() - method in class org.easymock.internal.IMocksControlState
asStub() - method in class org.easymock.internal.MocksControl
asStub() - method in class org.easymock.internal.RecordState
asStub() - method in class org.easymock.internal.ReplayState
AT_LEAST_ONCE - static field in class org.easymock.internal.MocksControl
One or more calls.
atLeastOnce() - method in class org.easymock.IExpectationSetters<T>
Expect the last invocation at least once.
atLeastOnce() - method in class org.easymock.internal.MocksControl

B

boolean equals(Object) - method in class org.easymock.internal.matchers.Equals
boolean matchResult(int) - method in class org.easymock.internal.matchers.CompareEqual<T,extends,Comparable,T>
boolean matchResult(int) - method in class org.easymock.internal.matchers.GreaterOrEqual<T,extends,Comparable,T>
boolean matchResult(int) - method in class org.easymock.internal.matchers.GreaterThan<T,extends,Comparable,T>
boolean matchResult(int) - method in class org.easymock.internal.matchers.LessOrEqual<T,extends,Comparable,T>
boolean matchResult(int) - method in class org.easymock.internal.matchers.LessThan<T,extends,Comparable,T>

C

callback(Runnable) - method in class org.easymock.internal.ReplayState
checkOrder(boolean) - method in class org.easymock.internal.IMocksBehavior
checkOrder(boolean) - method in class org.easymock.IMocksControl
Switches order checking on and off.
checkOrder(boolean) - method in class org.easymock.internal.IMocksControlState
checkOrder(boolean) - method in class org.easymock.internal.MocksBehavior
checkOrder(boolean) - method in class org.easymock.internal.MocksControl
checkOrder(boolean) - method in class org.easymock.internal.RecordState
checkOrder(boolean) - method in class org.easymock.internal.ReplayState
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.
Compare<T> - class org.easymock.internal.matchers.Compare<T>
Compare(T,Comparator,LogicalOperator) - constructor for class org.easymock.internal.matchers.Compare<T>
CompareEqual(Comparable) - constructor for class org.easymock.internal.matchers.CompareEqual<T,extends,Comparable,T>
CompareTo(Comparable) - constructor for class org.easymock.internal.matchers.CompareTo<T,extends,Comparable,T>
Contains - class org.easymock.internal.matchers.Contains
contains(int) - method in class org.easymock.internal.Range
Contains(String) - constructor for class org.easymock.internal.matchers.Contains
contains(String) - static method in class org.easymock.EasyMock
Expects a string that contains the given substring.
createAnswerResult(IAnswer) - static method in class org.easymock.internal.Result
createControl() - static method in class org.easymock.EasyMock
Creates a control, order checking is disabled by default.
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.
createObjectArray(Object) - static method in class org.easymock.internal.matchers.ArrayEquals
createProxy(Class,InvocationHandler) - method in class org.easymock.internal.IProxyFactory<T>
createProxy(Class,InvocationHandler) - method in class org.easymock.internal.JavaProxyFactory<T>
createReturnResult(Object) - static method in class org.easymock.internal.Result
createStrictControl() - static method in class org.easymock.EasyMock
Creates a control, order checking is enabled by default.
createThrowResult(Throwable) - static method in class org.easymock.internal.Result

E

EasyMock - class org.easymock.EasyMock
emptyReturnValueFor(Class) - static method in class org.easymock.internal.RecordState
EndsWith - class org.easymock.internal.matchers.EndsWith
endsWith(String) - static method in class org.easymock.EasyMock
Expects a string that ends with the given suffix.
EndsWith(String) - constructor for class org.easymock.internal.matchers.EndsWith
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(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) - static method in class org.easymock.EasyMock
Expects a float that is equal to the given value.
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.
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.
Equals - class org.easymock.internal.matchers.Equals
Equals(Object) - constructor for class org.easymock.internal.matchers.Equals
equals(Object) - method in class org.easymock.internal.ExpectedInvocation
equals(Object) - method in class org.easymock.internal.Invocation
EQUALS_MATCHER - static field in class org.easymock.MockControl<T>
Matches if each expected argument is equal to the corresponding actual argument.
EqualsMatcher - class org.easymock.internal.EqualsMatcher
EqualsWithDelta - class org.easymock.internal.matchers.EqualsWithDelta
EqualsWithDelta(Number,Number) - constructor for class org.easymock.internal.matchers.EqualsWithDelta
Same as MockControl.setDefaultThrowable(Throwable).
expectAndReturn(int,int) - method in class org.easymock.MockControl<T>
expectAndReturn(int,int,int) - method in class org.easymock.MockControl<T>
expectAndReturn(int,int,int,int) - method in class org.easymock.MockControl<T>
expectAndReturn(int,int,Range) - method in class org.easymock.MockControl<T>
expectAndThrow(Object,Throwable) - method in class org.easymock.MockControl<T>
Same as MockControl.setThrowable(Throwable).
Same as MockControl.setThrowable(Throwable, int).
Same as MockControl.setThrowable(Throwable, int, int).
Same as MockControl.setThrowable(Throwable, Range).
expectedAndActual(int) - method in class org.easymock.internal.Range
ExpectedInvocation - class org.easymock.internal.ExpectedInvocation
ExpectedInvocation(Invocation,List) - constructor for class org.easymock.internal.ExpectedInvocation
extends Comparable> T cmpEq(Comparable) - static method in class org.easymock.EasyMock
Expects a comparable argument equals to the given value according to their compareTo method.
extends Comparable> T geq(Comparable) - static method in class org.easymock.EasyMock
Expects a comparable argument greater than or equal the given value.
extends Comparable> T gt(Comparable) - static method in class org.easymock.EasyMock
Expects a comparable argument greater than the given value.
extends Comparable> T leq(Comparable) - static method in class org.easymock.EasyMock
Expects a comparable argument less than or equal the given value.
extends Comparable> T lt(Comparable) - static method in class org.easymock.EasyMock
Expects a comparable argument less than the given value.

F

Find - class org.easymock.internal.matchers.Find
find(String) - static method in class org.easymock.EasyMock
Expects a string that contains a substring that matches the given regular expression.
Find(String) - constructor for class org.easymock.internal.matchers.Find

G

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.
getArguments() - method in class org.easymock.internal.Invocation
getAssertionError() - method in class org.easymock.internal.AssertionErrorWrapper
getCallCount() - method in class org.easymock.internal.Results
getControl() - method in class org.easymock.internal.MockInvocationHandler
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.
getCurrentArguments() - static method in class org.easymock.internal.LastControl
getDelegate() - method in class org.easymock.internal.ObjectMethodsFilter
getExpected() - method in class org.easymock.internal.matchers.Equals
getExpectedInvocation() - method in class org.easymock.internal.ExpectedInvocationAndResult
getExpectedInvocation() - method in class org.easymock.internal.ExpectedInvocationAndResults
getLegacyMatcherProvider() - method in class org.easymock.internal.MocksBehavior
getMatcher(Method) - method in class org.easymock.internal.LegacyMatcherProvider
getMaximum() - method in class org.easymock.internal.Range
getMethod() - method in class org.easymock.internal.ExpectedInvocation
getMethod() - method in class org.easymock.internal.Invocation
getMinimum() - method in class org.easymock.internal.Range
getMock() - method in class org.easymock.internal.Invocation
getMock() - method in class org.easymock.MockControl<T>
Returns the mock object.
getMockAndMethodName() - method in class org.easymock.internal.Invocation
getName() - method in class org.easymock.internal.matchers.CompareTo<T,extends,Comparable,T>
getResult() - method in class org.easymock.internal.ExpectedInvocationAndResult
getResults() - method in class org.easymock.internal.ExpectedInvocationAndResults
getRuntimeException() - method in class org.easymock.internal.RuntimeExceptionWrapper
getState() - method in class org.easymock.internal.MocksControl
getThrowable() - method in class org.easymock.internal.ThrowableWrapper
GreaterOrEqual(Comparable) - constructor for class org.easymock.internal.matchers.GreaterOrEqual<T,extends,Comparable,T>
GreaterThan(Comparable) - constructor for class org.easymock.internal.matchers.GreaterThan<T,extends,Comparable,T>
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

hasFixedCount() - method in class org.easymock.internal.Range
hashCode() - method in class org.easymock.internal.ExpectedInvocation
hashCode() - method in class org.easymock.internal.Invocation
hasOpenCount() - method in class org.easymock.internal.Range
hasValidCallCount() - method in class org.easymock.internal.Results

I

IAnswer<T> - interface org.easymock.IAnswer<T>
Used to answer expected calls.
IArgumentMatcher - interface org.easymock.IArgumentMatcher
Decides whether an actual argument is accepted.
Allows setting expectations for an associated expected invocation.
ILegacyMatcherMethods - interface org.easymock.internal.ILegacyMatcherMethods
ILegacyMethods - interface org.easymock.internal.ILegacyMethods
IMocksBehavior - interface org.easymock.internal.IMocksBehavior
IMocksControl - interface org.easymock.IMocksControl
Controls all the mock objects created by it.
IMocksControlState - interface org.easymock.internal.IMocksControlState
InstanceOf - class org.easymock.internal.matchers.InstanceOf
InstanceOf(Class) - constructor for class org.easymock.internal.matchers.InstanceOf
int hashCode() - method in class org.easymock.internal.matchers.Equals
Invocation - class org.easymock.internal.Invocation
Invocation(Object,Method,Object[]) - constructor for class org.easymock.internal.Invocation
invoke(Invocation) - method in class org.easymock.internal.IMocksControlState
invoke(Invocation) - method in class org.easymock.internal.RecordState
invoke(Invocation) - method in class org.easymock.internal.ReplayState
invoke(Object,Method,Object[]) - method in class org.easymock.internal.MockInvocationHandler
invoke(Object,Method,Object[]) - method in class org.easymock.internal.ObjectMethodsFilter
IProxyFactory<T> - interface org.easymock.internal.IProxyFactory<T>
IProxyFactory createProxyFactory(Class) - method in class org.easymock.internal.MocksControl
isJavaIdentifier(String) - static method in class org.easymock.internal.Invocation
isNull() - static method in class org.easymock.EasyMock
Expects null.

J

JavaProxyFactory<T> - class org.easymock.internal.JavaProxyFactory<T>

L

LastControl - class org.easymock.internal.LastControl
lastControl() - static method in class org.easymock.internal.LastControl
LegacyMatcherProvider - class org.easymock.internal.LegacyMatcherProvider
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.
LessOrEqual(Comparable) - constructor for class org.easymock.internal.matchers.LessOrEqual<T,extends,Comparable,T>
LessThan(Comparable) - constructor for class org.easymock.internal.matchers.LessThan<T,extends,Comparable,T>
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

Matches - class org.easymock.internal.matchers.Matches
matches(Invocation) - method in class org.easymock.internal.ExpectedInvocation
matches(Invocation,ArgumentsMatcher) - method in class org.easymock.internal.Invocation
matches(Object) - method in class org.easymock.internal.matchers.And
matches(Object) - method in class org.easymock.internal.matchers.Any
matches(Object) - method in class org.easymock.internal.matchers.ArrayEquals
matches(Object) - method in class org.easymock.internal.matchers.Contains
matches(Object) - method in class org.easymock.internal.matchers.EndsWith
matches(Object) - method in class org.easymock.internal.matchers.Equals
matches(Object) - method in class org.easymock.internal.matchers.EqualsWithDelta
matches(Object) - method in class org.easymock.internal.matchers.Find
matches(Object) - method in class org.easymock.IArgumentMatcher
Returns whether this matcher accepts the given argument.
matches(Object) - method in class org.easymock.internal.matchers.InstanceOf
matches(Object) - method in class org.easymock.internal.matchers.Matches
matches(Object) - method in class org.easymock.internal.matchers.Not
matches(Object) - method in class org.easymock.internal.matchers.NotNull
matches(Object) - method in class org.easymock.internal.matchers.Null
matches(Object) - method in class org.easymock.internal.matchers.Or
matches(Object) - method in class org.easymock.internal.matchers.Same
matches(Object) - method in class org.easymock.internal.matchers.StartsWith
matches(Object[],Object[]) - method in class org.easymock.AbstractMatcher
Checks whether an expected argument array matches an actual argument array.
matches(Object[],Object[]) - method in class org.easymock.internal.AlwaysMatcher
matches(Object[],Object[]) - method in class org.easymock.ArgumentsMatcher
Matches two arrays of arguments.
matches(String) - static method in class org.easymock.EasyMock
Expects a string that matches the given regular expression.
Matches(String) - constructor for class org.easymock.internal.matchers.Matches
matchResult(int) - method in class org.easymock.internal.matchers.CompareTo<T,extends,Comparable,T>
MockControl<T> - class org.easymock.MockControl<T>
A MockControl object controls the behavior of its associated mock object.
MockControl(MocksControl,Class) - constructor for class org.easymock.MockControl<T>
MockControl createControl(Class) - static method in class org.easymock.MockControl<T>
Creates a mock control object for the specified interface.
MockControl createNiceControl(Class) - static method in class org.easymock.MockControl<T>
Creates a mock control object for the specified interface.
MockControl createStrictControl(Class) - static method in class org.easymock.MockControl<T>
Creates a mock control object for the specified interface.
MockInvocationHandler - class org.easymock.internal.MockInvocationHandler
MockInvocationHandler(MocksControl) - constructor for class org.easymock.internal.MockInvocationHandler
MocksBehavior - class org.easymock.internal.MocksBehavior
MocksBehavior(boolean) - constructor for class org.easymock.internal.MocksBehavior
MocksControl - class org.easymock.internal.MocksControl
MocksControl(org.easymock.internal.MocksControl.MockType) - constructor for class org.easymock.internal.MocksControl

N

next() - method in class org.easymock.internal.Results
Not - class org.easymock.internal.matchers.Not
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(IArgumentMatcher) - constructor for class org.easymock.internal.matchers.Not
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_NULL - static field in class org.easymock.internal.matchers.NotNull
NotNull - class org.easymock.internal.matchers.NotNull
notNull() - static method in class org.easymock.EasyMock
Expects not null.
NULL - static field in class org.easymock.internal.matchers.Null
Null - class org.easymock.internal.matchers.Null

O

ObjectMethodsFilter - class org.easymock.internal.ObjectMethodsFilter
ONCE - static field in class org.easymock.internal.MocksControl
Exactly one call.
once() - method in class org.easymock.IExpectationSetters<T>
Expect the last invocation once.
once() - method in class org.easymock.internal.MocksControl
ONE - static field in class org.easymock.MockControl<T>
Exactly one call.
ONE_OR_MORE - static field in class org.easymock.MockControl<T>
One or more calls.
Or - class org.easymock.internal.matchers.Or
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(List) - constructor for class org.easymock.internal.matchers.Or
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.

P

popCurrentArguments() - static method in class org.easymock.internal.LastControl
pullMatchers() - static method in class org.easymock.internal.LastControl
pushCurrentArguments(Object[]) - static method in class org.easymock.internal.LastControl

R

Range - class org.easymock.internal.Range
Range(int) - constructor for class org.easymock.internal.Range
Range(int,int) - constructor for class org.easymock.internal.Range
RecordState - class org.easymock.internal.RecordState
RecordState(IMocksBehavior) - constructor for class org.easymock.internal.RecordState
replay() - method in class org.easymock.IMocksControl
Switches the control from record mode to replay mode.
replay() - method in class org.easymock.internal.IMocksControlState
replay() - method in class org.easymock.MockControl<T>
Switches the mock object from record state to replay state.
replay() - method in class org.easymock.internal.MocksControl
replay() - method in class org.easymock.internal.RecordState
replay() - method in class org.easymock.internal.ReplayState
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.
ReplayState - class org.easymock.internal.ReplayState
ReplayState(IMocksBehavior) - constructor for class org.easymock.internal.ReplayState
reportAnd(int) - static method in class org.easymock.internal.LastControl
reportLastControl(MocksControl) - static method in class org.easymock.internal.LastControl
reportMatcher(IArgumentMatcher) - static method in class org.easymock.EasyMock
Reports an argument matcher.
reportMatcher(IArgumentMatcher) - static method in class org.easymock.internal.LastControl
reportNot() - static method in class org.easymock.internal.LastControl
reportOr(int) - static method in class org.easymock.internal.LastControl
reset() - method in class org.easymock.IMocksControl
Removes all expectations for the mock objects of this control.
reset() - method in class org.easymock.MockControl<T>
Resets the mock control and the mock object to the state directly after creation.
reset() - method in class org.easymock.internal.MocksControl
reset(Object...) - static method in class org.easymock.EasyMock
Resets the given mock objects (more exactly: the controls of the mock objects).
Result - class org.easymock.internal.Result
Results - class org.easymock.internal.Results
RuntimeExceptionWrapper - class org.easymock.internal.RuntimeExceptionWrapper
RuntimeExceptionWrapper(RuntimeException) - constructor for class org.easymock.internal.RuntimeExceptionWrapper

S

Same - class org.easymock.internal.matchers.Same
Same(Object) - constructor for class org.easymock.internal.matchers.Same
setDefaultMatcher(ArgumentsMatcher) - method in class org.easymock.internal.ILegacyMatcherMethods
setDefaultMatcher(ArgumentsMatcher) - method in class org.easymock.internal.LegacyMatcherProvider
Sets the default ArgumentsMatcher for all methods of the mock object.
setDefaultMatcher(ArgumentsMatcher) - method in class org.easymock.internal.MocksBehavior
setDefaultMatcher(ArgumentsMatcher) - method in class org.easymock.internal.RecordState
setDefaultMatcher(ArgumentsMatcher) - method in class org.easymock.internal.ReplayState
setDefaultReturnValue(Object) - method in class org.easymock.internal.ILegacyMethods
setDefaultReturnValue(Object) - method in class org.easymock.MockControl<T>
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.
setDefaultReturnValue(Object) - method in class org.easymock.internal.RecordState
setDefaultReturnValue(Object) - method in class org.easymock.internal.ReplayState
setDefaultThrowable(Throwable) - method in class org.easymock.internal.ILegacyMethods
setDefaultThrowable(Throwable) - method in class org.easymock.MockControl<T>
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.
setDefaultThrowable(Throwable) - method in class org.easymock.internal.RecordState
setDefaultThrowable(Throwable) - method in class org.easymock.internal.ReplayState
setDefaultVoidCallable() - method in class org.easymock.internal.ILegacyMethods
setDefaultVoidCallable() - method in class org.easymock.MockControl<T>
Records that the mock object will by default allow the last method specified by a method call.
setDefaultVoidCallable() - method in class org.easymock.internal.RecordState
setDefaultVoidCallable() - method in class org.easymock.internal.ReplayState
setLegacyDefaultMatcher(ArgumentsMatcher) - method in class org.easymock.internal.MocksControl
setLegacyDefaultReturnValue(Object) - method in class org.easymock.internal.MocksControl
setLegacyDefaultThrowable(Throwable) - method in class org.easymock.internal.MocksControl
setLegacyDefaultVoidCallable() - method in class org.easymock.internal.MocksControl
setLegacyMatcher(ArgumentsMatcher) - method in class org.easymock.internal.MocksControl
setMatcher(ArgumentsMatcher) - method in class org.easymock.MockControl<T>
Sets the ArgumentsMatcher for the last method called on the mock object.
setMatcher(Method,ArgumentsMatcher) - method in class org.easymock.internal.ILegacyMatcherMethods
setMatcher(Method,ArgumentsMatcher) - method in class org.easymock.internal.LegacyMatcherProvider
setMatcher(Method,ArgumentsMatcher) - method in class org.easymock.internal.MocksBehavior
setMatcher(Method,ArgumentsMatcher) - method in class org.easymock.internal.RecordState
setMatcher(Method,ArgumentsMatcher) - method in class org.easymock.internal.ReplayState
setReturnValue(Object) - method in class org.easymock.MockControl<T>
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<T>
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<T>
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.
setReturnValue(Object,Range) - method in class org.easymock.MockControl<T>
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.
setThrowable(Throwable) - method in class org.easymock.MockControl<T>
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<T>
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<T>
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<T>
setVoidCallable() - method in class org.easymock.MockControl<T>
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<T>
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<T>
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<T>
StartsWith - class org.easymock.internal.matchers.StartsWith
startsWith(String) - static method in class org.easymock.EasyMock
Expects a string that starts with the given prefix.
StartsWith(String) - constructor for class org.easymock.internal.matchers.StartsWith
String getName() - method in class org.easymock.internal.matchers.CompareEqual<T,extends,Comparable,T>
String getName() - method in class org.easymock.internal.matchers.GreaterOrEqual<T,extends,Comparable,T>
String getName() - method in class org.easymock.internal.matchers.GreaterThan<T,extends,Comparable,T>
String getName() - method in class org.easymock.internal.matchers.LessOrEqual<T,extends,Comparable,T>
String getName() - method in class org.easymock.internal.matchers.LessThan<T,extends,Comparable,T>
String toString() - method in class org.easymock.internal.ExpectedInvocationAndResults
String toString() - method in class org.easymock.internal.Results
String toString() - method in class org.easymock.internal.UnorderedBehavior

T

T and(T,T) - static method in class org.easymock.EasyMock
Expects an Object that matches both given expectations.
T cmp(T,Comparator,LogicalOperator) - static method in class org.easymock.EasyMock
Expects an argument that will be compared using the provided comparator.
T createMock(Class) - static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default.
T createMock(Class) - method in class org.easymock.IMocksControl
Creates a mock object that implements the given interface.
T createMock(Class) - method in class org.easymock.internal.MocksControl
T createMock(String,Class) - static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is disabled by default.
T createMock(String,Class) - method in class org.easymock.IMocksControl
Creates a mock object that implements the given interface.
T createMock(String,Class) - method in class org.easymock.internal.MocksControl
T createNiceMock(Class) - 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.
T createNiceMock(String,Class) - 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.
T createStrictMock(Class) - static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is enabled by default.
T createStrictMock(String,Class) - static method in class org.easymock.EasyMock
Creates a mock object that implements the given interface, order checking is enabled by default.
T eq(T) - static method in class org.easymock.EasyMock
Expects an Object that is equal to the given value.
T isA(Class) - static method in class org.easymock.EasyMock
Expects an object implementing the given class.
T not(T) - static method in class org.easymock.EasyMock
Expects an Object that does not match the given expectation.
T or(T,T) - static method in class org.easymock.EasyMock
Expects an Object that matches one of the given expectations.
T same(T) - static method in class org.easymock.EasyMock
Expects an Object that is the same as the given value.
T[] aryEq(T[]) - static method in class org.easymock.EasyMock
Expects an Object array that is equal to the given array, i.e.
ThrowableWrapper - class org.easymock.internal.ThrowableWrapper
ThrowableWrapper(Throwable) - constructor for class org.easymock.internal.ThrowableWrapper
times(int) - method in class org.easymock.IExpectationSetters<T>
Expect the last invocation count times.
times(int) - method in class org.easymock.internal.MocksControl
times(int,int) - method in class org.easymock.IExpectationSetters<T>
Expect the last invocation between min and max times.
times(int,int) - method in class org.easymock.internal.MocksControl
times(Range) - method in class org.easymock.internal.IMocksControlState
times(Range) - method in class org.easymock.internal.RecordState
times(Range) - method in class org.easymock.internal.ReplayState
toString() - method in class org.easymock.internal.ExpectedInvocation
toString() - method in class org.easymock.internal.Range
toString(ArgumentsMatcher) - method in class org.easymock.internal.Invocation
toString(Invocation) - method in class org.easymock.internal.UnorderedBehavior
toString(Object[]) - method in class org.easymock.AbstractMatcher
Returns a string representation of the matcher.
toString(Object[]) - method in class org.easymock.ArgumentsMatcher
Returns a string representation of the arguments.

U

UnorderedBehavior - class org.easymock.internal.UnorderedBehavior
UnorderedBehavior(boolean) - constructor for class org.easymock.internal.UnorderedBehavior

V

Same as MockControl.setDefaultReturnValue(Object).
Same as MockControl.setReturnValue(Object).
Same as MockControl.setReturnValue(Object, int).
Same as MockControl.setReturnValue(Object, int, int).
Same as MockControl.setReturnValue(Object, Range).
verify() - method in class org.easymock.internal.IMocksBehavior
verify() - method in class org.easymock.IMocksControl
Verifies that all expectations were met.
verify() - method in class org.easymock.internal.IMocksControlState
verify() - method in class org.easymock.MockControl<T>
Verifies that all expectations have been met.
verify() - method in class org.easymock.internal.MocksBehavior
verify() - method in class org.easymock.internal.MocksControl
verify() - method in class org.easymock.internal.RecordState
verify() - method in class org.easymock.internal.ReplayState
verify() - method in class org.easymock.internal.UnorderedBehavior
verify(Object...) - static method in class org.easymock.EasyMock
Verifies the given mock objects (more exactly: the controls of the mock objects).

W

Z

ZERO_OR_MORE - static field in class org.easymock.MockControl<T>
Zero or more calls.
ZERO_OR_MORE - static field in class org.easymock.internal.MocksControl
Zero or more calls.