Hi,
In my android project, I have a class which creates a Parselable
object (in my case, MyData).
public static final Parcelable.Creator<MyData> MYDATA_CREATOR = new
Parcelable.Creator<MyData>() {
public MyData createFromParcel(Parcel in) {
return new MyData(in);
}
}
My question is how can I create a mock Parcel object to pass in the
'createFromParcel()' for unit testing purposes in order to test the
constructor 'MyData(Parcel in)'?
Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---