|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.easymock.EasyMockSupport
org.easymock.classextension.EasyMockSupport
EasyMockSupport even for class
mocking
@Deprecated public class EasyMockSupport
This class is provided solely to allow an easier transition to EasyMock 3.0.
You should now use EasyMockSupport for classes and
interfaces mocking.
| Field Summary |
|---|
| Fields inherited from class org.easymock.EasyMockSupport |
|---|
controls |
| Constructor Summary | |
|---|---|
EasyMockSupport()
Deprecated. |
|
| Methods inherited from class org.easymock.EasyMockSupport |
|---|
createMock, createMock, createMock, createMock, createMockBuilder, createNiceMock, createNiceMock, createNiceMock, createNiceMock, createStrictMock, createStrictMock, createStrictMock, createStrictMock, replayAll, resetAll, resetAllToDefault, resetAllToNice, resetAllToStrict, verifyAll |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EasyMockSupport()
| Method Detail |
|---|
@Deprecated
public <T> T createStrictMock(Class<T> toMock,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
createStrictMock in class EasyMockSupportT - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createStrictMock(String name,
Class<T> toMock,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
createStrictMock in class EasyMockSupportT - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createStrictMock(Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
T - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createStrictMock(String name,
Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
T - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createMock(Class<T> toMock,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
createMock in class EasyMockSupportT - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createMock(String name,
Class<T> toMock,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
createMock in class EasyMockSupportT - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createMock(Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
T - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createMock(String name,
Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
T - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createNiceMock(Class<T> toMock,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
0,
null or false for unexpected invocations.
createNiceMock in class EasyMockSupportT - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createNiceMock(String name,
Class<T> toMock,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
0,
null or false for unexpected invocations.
createNiceMock in class EasyMockSupportT - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createNiceMock(Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
0,
null or false for unexpected invocations.
T - the interface that the mock object should implement.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally
@Deprecated
public <T> T createNiceMock(String name,
Class<T> toMock,
ConstructorArgs constructorArgs,
Method... mockedMethods)
EasyMockSupport.createMockBuilder(Class) instead
0,
null or false for unexpected invocations.
T - the interface that the mock object should implement.name - the name of the mock object.toMock - the class of the interface that the mock object should
implement.constructorArgs - constructor and parameters used to instantiate the mock.mockedMethods - methods that will be mocked, other methods will behave
normally
public IMocksControl createStrictControl()
createStrictControl in class EasyMockSupportpublic IMocksControl createControl()
createControl in class EasyMockSupportpublic IMocksControl createNiceControl()
createNiceControl in class EasyMockSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||