|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MockCreationSettings | |
|---|---|
| org.mockito.internal | Internal classes, not to be used by clients. |
| org.mockito.internal.creation | Mock object creation. |
| org.mockito.internal.creation.settings | |
| org.mockito.internal.handler | |
| org.mockito.internal.util | Static utils |
| org.mockito.plugins | |
| Uses of MockCreationSettings in org.mockito.internal |
|---|
| Methods in org.mockito.internal that return MockCreationSettings | |
|---|---|
MockCreationSettings |
InternalMockHandler.getMockSettings()
|
| Uses of MockCreationSettings in org.mockito.internal.creation |
|---|
| Classes in org.mockito.internal.creation that implement MockCreationSettings | |
|---|---|
class |
MockSettingsImpl<T>
|
| Methods in org.mockito.internal.creation that return MockCreationSettings | |
|---|---|
MockCreationSettings<T> |
MockSettingsImpl.confirm(java.lang.Class<T> typeToMock)
|
| Methods in org.mockito.internal.creation with parameters of type MockCreationSettings | ||
|---|---|---|
|
CglibMockMaker.createMock(MockCreationSettings<T> settings,
MockHandler handler)
|
|
void |
CglibMockMaker.resetMock(java.lang.Object mock,
MockHandler newHandler,
MockCreationSettings settings)
|
|
| Constructors in org.mockito.internal.creation with parameters of type MockCreationSettings | |
|---|---|
MethodInterceptorFilter(InternalMockHandler handler,
MockCreationSettings mockSettings)
|
|
| Uses of MockCreationSettings in org.mockito.internal.creation.settings |
|---|
| Classes in org.mockito.internal.creation.settings that implement MockCreationSettings | |
|---|---|
class |
CreationSettings<T>
by Szczepan Faber, created at: 4/9/12 |
| Uses of MockCreationSettings in org.mockito.internal.handler |
|---|
| Methods in org.mockito.internal.handler with parameters of type MockCreationSettings | |
|---|---|
InternalMockHandler |
MockHandlerFactory.create(MockCreationSettings settings)
|
| Uses of MockCreationSettings in org.mockito.internal.util |
|---|
| Methods in org.mockito.internal.util with parameters of type MockCreationSettings | ||
|---|---|---|
|
MockUtil.createMock(MockCreationSettings<T> settings)
|
|
| Uses of MockCreationSettings in org.mockito.plugins |
|---|
| Methods in org.mockito.plugins with parameters of type MockCreationSettings | ||
|---|---|---|
|
MockMaker.createMock(MockCreationSettings<T> settings,
MockHandler handler)
If you want to provide your own implementation of MockMaker this method should:
Create a proxy object that implements settings.typeToMock and potentially also settings.extraInterfaces.
You may use the information from settings to create/configure your proxy object.
Your proxy object should carry the handler with it. |
|
void |
MockMaker.resetMock(java.lang.Object mock,
MockHandler newHandler,
MockCreationSettings settings)
Replaces the existing handler on mock with newHandler. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||