Home
last modified time | relevance | path

Searched refs:nonMockableReason (Results 1 – 9 of 9) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DSubclassByteBuddyMockMakerTest.java28 assertThat(mockable.nonMockableReason()).contains("final"); in is_type_mockable_excludes_primitive_wrapper_classes()
35 assertThat(mockable.nonMockableReason()).contains("primitive"); in is_type_mockable_excludes_primitive_classes()
45 assertThat(mockable.nonMockableReason()).contains(""); in is_type_mockable_allow_anonymous()
52 assertThat(mockable.nonMockableReason()).isEqualTo(""); in is_type_mockable_give_empty_reason_if_type_is_mockable()
DInlineByteBuddyMockMakerTest.java209 …assertThat(mockable.nonMockableReason()).isEqualTo("Cannot mock wrapper types, String.class or Cla… in should_provide_reason_for_wrapper_class()
215 …assertThat(mockable.nonMockableReason()).isEqualTo("VM does not not support modification of given … in should_provide_reason_for_vm_unsupported()
229 …assertThat(mockable.nonMockableReason()).contains("Cannot mock wrapper types, String.class or Clas… in is_type_mockable_excludes_String()
236 …assertThat(mockable.nonMockableReason()).contains("Cannot mock wrapper types, String.class or Clas… in is_type_mockable_excludes_Class()
243 assertThat(mockable.nonMockableReason()).contains("primitive"); in is_type_mockable_excludes_primitive_classes()
255 assertThat(mockable.nonMockableReason()).contains(""); in is_type_mockable_allows_anonymous()
262 assertThat(mockable.nonMockableReason()).isEqualTo(""); in is_type_mockable_give_empty_reason_if_type_is_mockable()
269 assertThat(mockable.nonMockableReason()).isEqualTo(""); in is_type_mockable_give_allow_final_mockable_from_JDK()
/external/mockito/src/main/java/org/mockito/plugins/
DMockMaker.java133 String nonMockableReason(); in nonMockableReason() method
/external/mockito/src/main/java/org/mockito/internal/util/
DMockCreationValidator.java24 throw cannotMockClass(classToMock, typeMockability.nonMockableReason()); in validateType()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassByteBuddyMockMaker.java152 public String nonMockableReason() { in isTypeMockable() method in SubclassByteBuddyMockMaker
DInlineByteBuddyMockMaker.java298 public String nonMockableReason() { in isTypeMockable() method in InlineByteBuddyMockMaker
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/
DInlineStaticMockMaker.java195 public String nonMockableReason() { in isTypeMockable() method
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DDexmakerMockMaker.java141 public String nonMockableReason() { in isTypeMockable() method in DexmakerMockMaker
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DInlineDexmakerMockMaker.java336 public String nonMockableReason() { in isTypeMockable() method in InlineDexmakerMockMaker