/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | SubclassByteBuddyMockMaker.java | 55 " class to mock : " + describeClass(settings.getTypeToMock()), in createMock() 72 settings.getTypeToMock(), in createMockType() 86 Class<T> typeToMock = settings.getTypeToMock(); in ensureMockIsAssignableToMockedType() 91 if (mockFeatures.getTypeToMock().isArray()) { in prettifyFailure() 93 "Mockito cannot mock arrays: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 97 if (Modifier.isPrivate(mockFeatures.getTypeToMock().getModifiers())) { in prettifyFailure() 99 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 105 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure()
|
D | InlineByteBuddyMockMaker.java | 202 settings.getTypeToMock(), in createMockType() 213 if (mockFeatures.getTypeToMock().isArray()) { in prettifyFailure() 215 "Arrays cannot be mocked: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 219 if (Modifier.isFinal(mockFeatures.getTypeToMock().getModifiers())) { in prettifyFailure() 221 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 232 if (Modifier.isPrivate(mockFeatures.getTypeToMock().getModifiers())) { in prettifyFailure() 234 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 243 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure()
|
D | ByteBuddyCrossClassLoaderSerializationSupport.java | 118 … String mockedType = MockUtil.getMockSettings(mockitoMock).getTypeToMock().getCanonicalName(); in writeReplace() 184 this.typeToMock = mockSettings.getTypeToMock(); in CrossClassLoaderSerializationProxy()
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | MockSettingsTest.java | 26 assertEquals(List.class, settings.getTypeToMock()); in public_api_for_creating_settings()
|
D | DefaultMockingDetailsTest.java | 105 assertEquals(Foo.class, mockingDetails(foo).getMockCreationSettings().getTypeToMock()); in provides_mock_creation_settings() 106 assertEquals(Bar.class, mockingDetails(bar).getMockCreationSettings().getTypeToMock()); in provides_mock_creation_settings()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
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()
|
D | ReturnsDeepStubs.java | 126 return GenericMetadataSupport.inferFrom(mockSettings.getTypeToMock()); in actualParameterizedType()
|
/external/mockito/src/main/java/org/mockito/mock/ |
D | MockCreationSettings.java | 28 Class<T> getTypeToMock(); in getTypeToMock() method
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | InlineDexmakerMockMaker.java | 206 Class<?> superClass = settings.getTypeToMock(); in getMethodsToProxy() 220 for (Class<?> i : settings.getTypeToMock().getInterfaces()) { in getMethodsToProxy() 247 Class<T> typeToMock = settings.getTypeToMock(); in createMock()
|
/external/mockito/src/main/java/org/mockito/internal/listeners/ |
D | VerificationStartedNotifier.java | 60 Class originalType = originalSettings.getTypeToMock(); in assertCompatibleTypes()
|
/external/mockito/src/main/java/org/mockito/internal/creation/settings/ |
D | CreationSettings.java | 63 public Class<T> getTypeToMock() { in getTypeToMock() method in CreationSettings
|
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/ |
D | InlineStaticMockMaker.java | 140 Class<T> typeToMock = settings.getTypeToMock(); in createMock()
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | DexmakerMockMaker.java | 84 Class<T> typeToMock = settings.getTypeToMock(); in createMock()
|
/external/mockito/src/main/java/org/mockito/internal/creation/ |
D | MockSettingsImpl.java | 220 public Class<T> getTypeToMock() { in getTypeToMock() method in MockSettingsImpl
|