OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TestParcelable
(Results
1 - 3
of
3
) sorted by null
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
TestParcelable.java
6
class
TestParcelable
implements Parcelable {
9
public
TestParcelable
(int contents) {
18
public static final Creator<
TestParcelable
> CREATOR =
19
new Creator<
TestParcelable
>() {
21
public
TestParcelable
createFromParcel(Parcel source) {
22
return new
TestParcelable
(source.readInt());
26
public
TestParcelable
[] newArray(int size) {
27
return new
TestParcelable
[0];
ShadowIntentTest.java
124
serializable.add(new
TestParcelable
(12));
133
Parcelable parcelable = new
TestParcelable
(44);
142
Parcelable parcelable = new
TestParcelable
(11);
145
Parcelable[] parcelables = {new
TestParcelable
(12), new
TestParcelable
(13)};
153
Parcelable parcel1 = new
TestParcelable
(22);
154
Parcelable parcel2 = new
TestParcelable
(23);
418
assertThat(intent.putExtra("Parcelable array", new Parcelable[] { new
TestParcelable
(0) }))
425
assertThat(intent.putExtra("Parcelable", new
TestParcelable
(0))).isEqualTo(intent);
ShadowParcelTest.java
439
TestParcelable
normal = new
TestParcelable
(23);
440
ArrayList<
TestParcelable
> normals = new ArrayList<>();
445
List<org.robolectric.shadows.
TestParcelable
> rehydrated = parcel
446
.createTypedArrayList(
TestParcelable
.CREATOR);
478
TestParcelable
normal = new
TestParcelable
(23);
483
TestParcelable
rehydrated = parcel.readParcelable(
TestParcelable
.class.getClassLoader());
Completed in 216 milliseconds