Searched refs:getTypeToMock (Results 1 – 11 of 11) sorted by relevance
/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() 85 Class<T> typeToMock = settings.getTypeToMock(); in ensureMockIsAssignableToMockedType() 90 if (mockFeatures.getTypeToMock().isArray()) { in prettifyFailure() 92 "Mockito cannot mock arrays: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 96 if (Modifier.isPrivate(mockFeatures.getTypeToMock().getModifiers())) { in prettifyFailure() 98 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 104 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure()
|
D | InlineByteBuddyMockMaker.java | 202 settings.getTypeToMock(), in createMockType() 212 if (mockFeatures.getTypeToMock().isArray()) { in prettifyFailure() 214 "Arrays cannot be mocked: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 218 if (Modifier.isFinal(mockFeatures.getTypeToMock().getModifiers())) { in prettifyFailure() 220 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 231 if (Modifier.isPrivate(mockFeatures.getTypeToMock().getModifiers())) { in prettifyFailure() 233 "Mockito cannot mock this class: " + mockFeatures.getTypeToMock() + ".", in prettifyFailure() 242 "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 | DefaultMockingDetailsTest.java | 93 assertEquals(Foo.class, mockingDetails(foo).getMockCreationSettings().getTypeToMock()); in provides_mock_creation_settings() 94 assertEquals(Bar.class, mockingDetails(bar).getMockCreationSettings().getTypeToMock()); in provides_mock_creation_settings()
|
/external/mockito/src/main/java/org/mockito/mock/ |
D | MockCreationSettings.java | 23 Class<T> getTypeToMock(); in getTypeToMock() method
|
/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 | 63 …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/internal/creation/settings/ |
D | CreationSettings.java | 53 public Class<T> getTypeToMock() { in getTypeToMock() method in CreationSettings
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | DexmakerMockMaker.java | 40 Class<T> typeToMock = settings.getTypeToMock(); in createMock()
|
/external/mockito/src/main/java/org/mockito/internal/creation/ |
D | MockSettingsImpl.java | 157 public Class<T> getTypeToMock() { in getTypeToMock() method in MockSettingsImpl
|