Home
last modified time | relevance | path

Searched refs:isTypeMockable (Results 1 – 18 of 18) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DSubclassByteBuddyMockMakerTest.java26 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in is_type_mockable_excludes_primitive_wrapper_classes()
33 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes()
43 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allow_anonymous()
50 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()
DInlineByteBuddyMockMakerTest.java204 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in should_provide_reason_for_wrapper_class()
210 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int[].class); in should_provide_reason_for_vm_unsupported()
223 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(String.class); in is_type_mockable_excludes_String()
230 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Class.class); in is_type_mockable_excludes_Class()
237 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes()
249 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allows_anonymous()
256 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(SomeClass.class); in is_type_mockable_give_empty_reason_if_type_is_mockable()
263 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Pattern.class); in is_type_mockable_give_allow_final_mockable_from_JDK()
DByteBuddyMockMakerTest.java32 mockMaker.isTypeMockable(Object.class); in should_delegate_call()
38 verify(delegate).isTypeMockable(Object.class); in should_delegate_call()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyMockMaker.java45 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable() method in ByteBuddyMockMaker
46 return defaultByteBuddyMockMaker.isTypeMockable(type); in isTypeMockable()
DSubclassByteBuddyMockMaker.java144 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable() method in SubclassByteBuddyMockMaker
DInlineByteBuddyMockMaker.java279 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable() method in InlineByteBuddyMockMaker
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/
DAndroidByteBuddyMockMaker.java53 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable() method in AndroidByteBuddyMockMaker
54 return delegate.isTypeMockable(type); in isTypeMockable()
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DMockMakerMultiplexer.java95 public TypeMockability isTypeMockable(Class<?> type) { in isTypeMockable() method in MockMakerMultiplexer
97 TypeMockability mockability = mockMaker.isTypeMockable(type); in isTypeMockable()
DInlineDexmakerMockMaker.java326 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable() method in InlineDexmakerMockMaker
/external/mockito/src/main/java/org/mockito/plugins/
DMockMaker.java116 TypeMockability isTypeMockable(Class<?> type); in isTypeMockable() method
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsMocks.java30 if (!mockitoCore.isTypeMockable(clazz)) { in returnValueFor()
DReturnsDeepStubs.java52 if (!mockitoCore().isTypeMockable(rawType)) { in answer()
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/
DReturnsMocksTest.java41 assumeFalse(Plugins.getMockMaker().isTypeMockable(Baz.class).mockable()); in should_return_null_for_final_class_if_unsupported()
/external/mockito/src/test/java/org/mockito/internal/util/
DMockUtilTest.java87 .isEqualTo(Plugins.getMockMaker().isTypeMockable(FinalClass.class).mockable()); in should_know_if_type_is_mockable()
/external/mockito/src/main/java/org/mockito/internal/util/
DMockUtil.java29 return mockMaker.isTypeMockable(type); in typeMockabilityOf()
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DDexmakerMockMaker.java133 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable() method in DexmakerMockMaker
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/
DInlineStaticMockMaker.java184 public TypeMockability isTypeMockable(final Class<?> type) { in isTypeMockable() method in InlineStaticMockMaker
/external/mockito/src/main/java/org/mockito/internal/
DMockitoCore.java59 public boolean isTypeMockable(Class<?> typeToMock) { in isTypeMockable() method in MockitoCore