Searched refs:isAssignableFromWrapper (Results 1 – 3 of 3) sorted by relevance
/external/mockito/src/test/java/org/mockito/internal/util/ |
D | PrimitivesTest.java | 72 assertThat(Primitives.isAssignableFromWrapper(int.class, Integer.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 73 assertThat(Primitives.isAssignableFromWrapper(Integer.class, Integer.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 74 assertThat(Primitives.isAssignableFromWrapper(long.class, Long.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 75 assertThat(Primitives.isAssignableFromWrapper(Long.class, Long.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 76 assertThat(Primitives.isAssignableFromWrapper(double.class, Double.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 77 assertThat(Primitives.isAssignableFromWrapper(Double.class, Double.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 78 assertThat(Primitives.isAssignableFromWrapper(float.class, Float.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 79 assertThat(Primitives.isAssignableFromWrapper(Float.class, Float.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 80 assertThat(Primitives.isAssignableFromWrapper(char.class, Character.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() 81 assertThat(Primitives.isAssignableFromWrapper(Character.class, Character.class)).isTrue(); in should_check_that_value_type_is_assignable_to_wrapper_reference() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
D | InstanceOf.java | 30 (Primitives.isAssignableFromWrapper(actual.getClass(), clazz) in matches()
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | Primitives.java | 45 public static boolean isAssignableFromWrapper(Class<?> valueClass, Class<?> referenceType) { in isAssignableFromWrapper() method in Primitives
|