/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | TypedArrayTest.java | 18 private android.content.res.TypedArray typedArray; field in class:TypedArrayTest 22 typedArray = Robolectric.newInstanceOf(android.content.res.TypedArray.class); 32 assertThat(typedArray.getBoolean(0, true), equalTo(true)); 33 assertThat(typedArray.getBoolean(0, false), equalTo(false)); 38 assertThat(typedArray.getInt(0, 15), equalTo(15)); 39 assertThat(typedArray.getInteger(0, 24), equalTo(24)); 44 assertThat(typedArray.getFloat(0, 0.5f), equalTo(0.5f)); 49 assertThat(typedArray.getDimension(0, 0.5f), equalTo(0.5f)); 54 assertThat(typedArray.getDimensionPixelOffset(0, 2), equalTo(2)); 59 assertThat(typedArray [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowTypedArray.java | 30 TypedArray typedArray; 32 typedArray = ReflectionHelpers.callConstructor(TypedArray.class, 34 ReflectionHelpers.setField(typedArray, "mData", data); 35 ReflectionHelpers.setField(typedArray, "mLength", len); 36 ReflectionHelpers.setField(typedArray, "mIndices", indices); 38 typedArray = ReflectionHelpers.callConstructor(TypedArray.class, 45 Shadows.shadowOf(typedArray).stringData = stringData; 46 return typedArray; 69 public static void dump(TypedArray typedArray) { argument 70 int[] data = ReflectionHelpers.getField(typedArray, "mDat [all...] |
/external/mockito/src/main/java/org/mockito/internal/util/collections/ |
H A D | HashCodeAndEqualsSafeSet.java | 110 public <T> T[] toArray(T[] typedArray) { argument 111 T[] array = typedArray.length >= size() ? typedArray : (T[]) newInstance(typedArray.getClass().getComponentType(), size());
|
/external/robolectric/v3/runtime/ |
H A D | shadows-core-3.1-SNAPSHOT-16.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-17.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-18.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-19.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-21.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | shadows-core-3.1-SNAPSHOT-22.jar | META-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |