/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
D | SubclassByteBuddyMockMakerTest.java | 26 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in is_type_mockable_excludes_primitive_wrapper_classes() local 27 assertThat(mockable.mockable()).isFalse(); in is_type_mockable_excludes_primitive_wrapper_classes() 28 assertThat(mockable.nonMockableReason()).contains("final"); in is_type_mockable_excludes_primitive_wrapper_classes() 33 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int.class); in is_type_mockable_excludes_primitive_classes() local 34 assertThat(mockable.mockable()).isFalse(); in is_type_mockable_excludes_primitive_classes() 35 assertThat(mockable.nonMockableReason()).contains("primitive"); in is_type_mockable_excludes_primitive_classes() 43 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(anonymous.getClass()); in is_type_mockable_allow_anonymous() local 44 assertThat(mockable.mockable()).isTrue(); in is_type_mockable_allow_anonymous() 45 assertThat(mockable.nonMockableReason()).contains(""); 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() local [all …]
|
D | InlineByteBuddyMockMakerTest.java | 208 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Integer.class); in should_provide_reason_for_wrapper_class() local 209 …assertThat(mockable.nonMockableReason()).isEqualTo("Cannot mock wrapper types, String.class or Cla… in should_provide_reason_for_wrapper_class() 214 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(int[].class); in should_provide_reason_for_vm_unsupported() local 215 …assertThat(mockable.nonMockableReason()).isEqualTo("VM does not not support modification of given … in should_provide_reason_for_vm_unsupported() 227 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(String.class); in is_type_mockable_excludes_String() local 228 assertThat(mockable.mockable()).isFalse(); in is_type_mockable_excludes_String() 229 …assertThat(mockable.nonMockableReason()).contains("Cannot mock wrapper types, String.class or Clas… in is_type_mockable_excludes_String() 234 MockMaker.TypeMockability mockable = mockMaker.isTypeMockable(Class.class); in is_type_mockable_excludes_Class() local 235 assertThat(mockable.mockable()).isFalse(); in is_type_mockable_excludes_Class() 236 …assertThat(mockable.nonMockableReason()).contains("Cannot mock wrapper types, String.class or Clas… in is_type_mockable_excludes_Class() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | MockUtilTest.java | 86 Assertions.assertThat(MockUtil.typeMockabilityOf(FinalClass.class).mockable()) in should_know_if_type_is_mockable() 87 .isEqualTo(Plugins.getMockMaker().isTypeMockable(FinalClass.class).mockable()); in should_know_if_type_is_mockable() 89 assertFalse(MockUtil.typeMockabilityOf(int.class).mockable()); in should_know_if_type_is_mockable() 91 assertTrue(MockUtil.typeMockabilityOf(SomeClass.class).mockable()); in should_know_if_type_is_mockable() 92 assertTrue(MockUtil.typeMockabilityOf(SomeInterface.class).mockable()); in should_know_if_type_is_mockable()
|
/external/libchrome/libchrome_tools/patches/ |
D | WaitForServiceToBeAvailable.patch | 34 + // This method is not mockable because it takes a move-only argument. To work 36 + // DoWaitForServiceToBeAvailable which is mockable.
|
D | patches | 16 dbus-Make-Bus-is_connected-mockable.patch
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
D | SubclassByteBuddyMockMaker.java | 147 public boolean mockable() { in isTypeMockable() 153 if(mockable()) { in isTypeMockable()
|
D | InlineByteBuddyMockMaker.java | 293 public boolean mockable() { in isTypeMockable() 299 if (mockable()) { in isTypeMockable()
|
/external/mockito/src/main/java/org/mockito/plugins/ |
D | MockMaker.java | 128 boolean mockable(); in mockable() method
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | MockCreationValidator.java | 23 if (!typeMockability.mockable()) { in validateType()
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ReturnsMocksTest.java | 41 assumeFalse(Plugins.getMockMaker().isTypeMockable(Baz.class).mockable()); in should_return_null_for_final_class_if_unsupported()
|
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/ |
D | InlineStaticMockMaker.java | 189 public boolean mockable() { in isTypeMockable()
|
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
D | DexmakerMockMaker.java | 136 public boolean mockable() { in isTypeMockable()
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | FieldInitializer.java | 243 if(MockUtil.typeMockabilityOf(aClass).mockable()){
|
/external/mockito/src/main/java/org/mockito/internal/ |
D | MockitoCore.java | 60 return typeMockabilityOf(typeToMock).mockable(); in isTypeMockable()
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
D | InlineDexmakerMockMaker.java | 331 public boolean mockable() { in isTypeMockable()
|
/external/googletest/docs/ |
D | gmock_cook_book.md | 4354 callback has bigger problems than being mockable. :-)
|
/external/brotli/tests/testdata/ |
D | asyoulik.txt | 1847 behavior of the country is most mockable at the
|
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/ |
D | words.shakespeare.txt.gz |
|
D | ospd.txt.gz |
|