/external/mockito/src/main/java/org/mockito/internal/util/ |
D | MockUtil.java | 47 MockCreationSettings settings = oldHandler.getMockSettings(); in resetMock() 70 … return isMock(mock) && getMockSettings(mock).getDefaultAnswer() == Mockito.CALLS_REAL_METHODS; in isSpy() 85 return getMockHandler(mock).getMockSettings().getMockName(); in getMockName() 91 MockCreationSettings mockSettings = getMockHandler(mock).getMockSettings(); in maybeRedefineMockName() 97 public static MockCreationSettings getMockSettings(Object mock) { in getMockSettings() method in MockUtil 98 return getMockHandler(mock).getMockSettings(); in getMockSettings()
|
D | DefaultMockingDetails.java | 52 return mockHandler().getMockSettings(); in getMockCreationSettings()
|
/external/mockito/src/main/java/org/mockito/internal/handler/ |
D | NullResultGuardian.java | 39 public MockCreationSettings<T> getMockSettings() { in getMockSettings() method in NullResultGuardian 40 return delegate.getMockSettings(); in getMockSettings()
|
D | InvocationNotifierHandler.java | 65 public MockCreationSettings<T> getMockSettings() { in getMockSettings() method in InvocationNotifierHandler 66 return mockHandler.getMockSettings(); in getMockSettings()
|
D | MockHandlerImpl.java | 116 public MockCreationSettings<T> getMockSettings() { in getMockSettings() method in MockHandlerImpl
|
/external/mockito/src/test/java/org/mockito/internal/handler/ |
D | InvocationNotifierHandlerTest.java | 122 notifier.getMockSettings(); in should_delegate_all_MockHandlerInterface_to_the_parameterized_MockHandler() 125 verify(mockHandler).getMockSettings(); in should_delegate_all_MockHandlerInterface_to_the_parameterized_MockHandler()
|
D | MockHandlerImplTest.java | 112 … given(handler.getMockSettings().getInvocationListeners()).willReturn(Arrays.asList(listener)); in create_handler_with_listeners()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ReturnsDeepStubs.java | 95 MockCreationSettings parentMockSettings = MockUtil.getMockSettings(parentMock); in newDeepStubMock() 125 …CreationSettings mockSettings = (CreationSettings) MockUtil.getMockHandler(mock).getMockSettings(); in actualParameterizedType()
|
D | TriesToReturnSelf.java | 20 Class<?> mockType = MockUtil.getMockHandler(mock).getMockSettings().getTypeToMock(); in answer()
|
D | ReturnsEmptyValues.java | 62 …return "Mock for " + MockUtil.getMockSettings(mock).getTypeToMock().getSimpleName() + ", hashCode:… in answer()
|
/external/mockito/src/main/java/org/mockito/internal/listeners/ |
D | StubbingLookupEvent.java | 35 MockCreationSettings getMockSettings(); in getMockSettings() method
|
D | StubbingLookupNotifier.java | 61 public MockCreationSettings getMockSettings() { in getMockSettings() method in StubbingLookupNotifier.Event
|
/external/mockito/src/main/java/org/mockito/invocation/ |
D | MockHandler.java | 48 MockCreationSettings<T> getMockSettings(); in getMockSettings() method
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | ByteBuddyCrossClassLoaderSerializationSupport.java | 118 … String mockedType = MockUtil.getMockSettings(mockitoMock).getTypeToMock().getCanonicalName(); in writeReplace() 182 MockCreationSettings<?> mockSettings = MockUtil.getMockSettings(mockitoMock); in CrossClassLoaderSerializationProxy()
|
/external/mockito/src/main/java/org/mockito/internal/junit/ |
D | DefaultStubbingLookupListener.java | 35 …tualStrictness = determineStrictness(event.getStubbingFound(), event.getMockSettings(), currentStr… in onStubbingLookup()
|
/external/mockito/src/test/java/org/mockito/internal/listeners/ |
D | StubbingLookupNotifierTest.java | 66 creationSettings == argument.getMockSettings(); in matches()
|
/external/mockito/src/main/java/org/mockito/internal/ |
D | MockitoCore.java | 95 if (handler.getMockSettings().isStubOnly()) { in verify() 99 handler.getMockSettings().getVerificationStartedListeners(), mockingDetails); in verify()
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | MockUtilTest.java | 44 assertNotNull(MockUtil.getMockSettings(mock)); in should_get_mock_settings()
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | AbstractByteBuddyMockMakerTest.java | 190 public MockCreationSettings<Object> getMockSettings() { return null; } in getMockSettings() method in AbstractByteBuddyMockMakerTest.DummyMockHandler
|