A C E G I M O R V W

A

addMockedMethod(Method) - Method in interface org.easymock.classextension.IMockBuilder
Adds a method to be mocked in the testing class.
addMockedMethod(String) - Method in interface org.easymock.classextension.IMockBuilder
Adds a method to be mocked in the testing class.
addMockedMethod(String, Class<?>...) - Method in interface org.easymock.classextension.IMockBuilder
Adds a method to be mocked in the testing class.
addMockedMethods(String...) - Method in interface org.easymock.classextension.IMockBuilder
Adds methods to be mocked in the testing class.
addMockedMethods(Method...) - Method in interface org.easymock.classextension.IMockBuilder
Adds methods to be mocked in the testing class.

C

checkOrder(Object, boolean) - Static method in class org.easymock.classextension.EasyMock
 
ConstructorArgs - Class in org.easymock.classextension
 
ConstructorArgs(Constructor<?>, Object...) - Constructor for class org.easymock.classextension.ConstructorArgs
 
createControl() - Static method in class org.easymock.classextension.EasyMock
 
createControl() - Method in class org.easymock.classextension.EasyMockSupport
 
createControl(Class<T>) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. Creates a mock control object for the specified class or interface.
createControl(Class<T>, Method...) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. Same as MockClassControl.createControl(Class)but allows to pass a list of methods to mock.
createControl(Class<T>, Class<?>[], Object[]) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. No need to pick a constructor anymore. Constructor arguments are now ignored. Just use MockClassControl.createControl(Class)
createControl(Class<T>, Class<?>[], Object[], Method[]) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. No need to pick a constructor anymore. Constructor arguments are now ignored. Just use MockClassControl.createControl(Class, Method[])
createMock(Class<T>) - Static method in class org.easymock.classextension.EasyMock
 
createMock(String, Class<T>) - Static method in class org.easymock.classextension.EasyMock
 
createMock(Class<T>, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createMock(String, Class<T>, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createMock(String, Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createMock(Class<T>, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createMock(String, Class<T>, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createMock(Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createMock(String, Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createMock() - Method in interface org.easymock.classextension.IMockBuilder
Create a default mock from this builder.
createMock(IMocksControl) - Method in interface org.easymock.classextension.IMockBuilder
Create mock from the provided mock control using the arguments passed to the builder.
createMock(String) - Method in interface org.easymock.classextension.IMockBuilder
Create named mock from the provided mock control using the arguments passed to the builder.
createMock(String, IMocksControl) - Method in interface org.easymock.classextension.IMockBuilder
Create named mock from the provided mock control using the arguments passed to the builder.
createMock(Class<T>, Method...) - Method in interface org.easymock.classextension.IMocksControl
 
createMock(Class<T>, ConstructorArgs, Method...) - Method in interface org.easymock.classextension.IMocksControl
 
createMock(String, Class<T>, Method...) - Method in interface org.easymock.classextension.IMocksControl
 
createMock(String, Class<T>, ConstructorArgs, Method...) - Method in interface org.easymock.classextension.IMocksControl
 
createMockBuilder(Class<T>) - Static method in class org.easymock.classextension.EasyMock
 
createMockBuilder(Class<T>) - Method in class org.easymock.classextension.EasyMockSupport
 
createNiceControl() - Static method in class org.easymock.classextension.EasyMock
 
createNiceControl() - Method in class org.easymock.classextension.EasyMockSupport
 
createNiceControl(Class<T>) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. Creates a mock control object for the specified class or interface.
createNiceControl(Class<T>, Method...) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. Same as MockClassControl.createNiceControl(Class, Method[])but allows to pass a list of methods to mock.
createNiceControl(Class<T>, Class<?>[], Object[]) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. No need to pick a constructor anymore. Constructor arguments are now ignored. Just use MockClassControl.createNiceControl(Class)
createNiceControl(Class<T>, Class<?>[], Object[], Method...) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. No need to pick a constructor anymore. Constructor arguments are now ignored. Just use MockClassControl.createNiceControl(Class, Method[])
createNiceMock(Class<T>) - Static method in class org.easymock.classextension.EasyMock
 
createNiceMock(String, Class<T>) - Static method in class org.easymock.classextension.EasyMock
 
createNiceMock(Class<T>, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createNiceMock(String, Class<T>, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createNiceMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createNiceMock(String, Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createNiceMock(Class<T>, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createNiceMock(String, Class<T>, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createNiceMock(Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createNiceMock(String, Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createNiceMock() - Method in interface org.easymock.classextension.IMockBuilder
Create a nice mock from this builder.
createNiceMock(String) - Method in interface org.easymock.classextension.IMockBuilder
Create a named nice mock from this builder.
createStrictControl() - Static method in class org.easymock.classextension.EasyMock
 
createStrictControl() - Method in class org.easymock.classextension.EasyMockSupport
 
createStrictControl(Class<T>) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. Creates a mock control object for the specified class or interface.
createStrictControl(Class<T>, Method...) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. Same as MockClassControl.createStrictControl(Class)but allows to pass a list of methods to mock.
createStrictControl(Class<T>, Class<?>[], Object[]) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. No need to pick a constructor anymore. Constructor arguments are now ignored. Just use MockClassControl.createStrictControl(Class)
createStrictControl(Class<T>, Class<?>[], Object[], Method...) - Static method in class org.easymock.classextension.MockClassControl
Deprecated. No need to pick a constructor anymore. Constructor arguments are now ignored. Just use MockClassControl.createStrictControl(Class, Method[])
createStrictMock(Class<T>) - Static method in class org.easymock.classextension.EasyMock
 
createStrictMock(String, Class<T>) - Static method in class org.easymock.classextension.EasyMock
 
createStrictMock(Class<T>, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createStrictMock(String, Class<T>, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createStrictMock(Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createStrictMock(String, Class<T>, ConstructorArgs, Method...) - Static method in class org.easymock.classextension.EasyMock
Deprecated. Use EasyMock.createMockBuilder(Class) instead
createStrictMock(Class<T>, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createStrictMock(String, Class<T>, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createStrictMock(Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createStrictMock(String, Class<T>, ConstructorArgs, Method...) - Method in class org.easymock.classextension.EasyMockSupport
Deprecated. Use EasyMockSupport.createMockBuilder(Class) instead
createStrictMock() - Method in interface org.easymock.classextension.IMockBuilder
Create a strict mock from this builder.
createStrictMock(String) - Method in interface org.easymock.classextension.IMockBuilder
Create a named strict mock from this builder.

E

EasyMock - Class in org.easymock.classextension
 
EasyMock() - Constructor for class org.easymock.classextension.EasyMock
Prevent instantiation but allow inheritance
EasyMockSupport - Class in org.easymock.classextension
Helper class to be used to keep tracks of mocks easily.
EasyMockSupport() - Constructor for class org.easymock.classextension.EasyMockSupport
 

G

getConstructor() - Method in class org.easymock.classextension.ConstructorArgs
 
getInitArgs() - Method in class org.easymock.classextension.ConstructorArgs
 

I

IMockBuilder<T> - Interface in org.easymock.classextension
Helps the creation of partial mocks with EasyMock.
IMocksControl - Interface in org.easymock.classextension
 

M

makeThreadSafe(Object, boolean) - Static method in class org.easymock.classextension.EasyMock
 
MockClassControl<T> - Class in org.easymock.classextension
Deprecated. Use org.easymock.classextension.EasyMock instead

O

org.easymock.classextension - package org.easymock.classextension
 

R

replay(Object...) - Static method in class org.easymock.classextension.EasyMock
 
reset(Object...) - Static method in class org.easymock.classextension.EasyMock
 
resetToDefault(Object...) - Static method in class org.easymock.classextension.EasyMock
 
resetToNice(Object...) - Static method in class org.easymock.classextension.EasyMock
 
resetToStrict(Object...) - Static method in class org.easymock.classextension.EasyMock
 

V

verify(Object...) - Static method in class org.easymock.classextension.EasyMock
 

W

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

A C E G I M O R V W

Copyright © 2003-2009 OFFIS, Henri Tremblay. This documentation is provided under the terms of the MIT licence.