@Test public void testToString() { GuidanceManeuverData data = new GuidanceManeuverData(ICON_ID, DISTANCE, INFO1, INFO2); String inputStr = "GuidanceManeuverData(mIconId=1, mDistance=1, mInfo1=Info1, mInfo2=Info2, mNextRoadIcon=null)"; assertThat(data.toString(), is(inputStr)); }
@Override public String toString() { return "GuidanceManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mInfo1=" + this.mInfo1 + ", mInfo2=" + this.mInfo2 + ", mNextRoadIcon=" + this.mNextRoadIcon + ")"; }
GuidanceManeuverData implements Parcelable { @Override public String toString() { return "GuidanceManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mInfo1=" + this.mInfo1 + ", mInfo2=" + this.mInfo2 + ", mNextRoadIcon=" + this.mNextRoadIcon + ")"; } }
GuidanceManeuverData implements Parcelable { @Override public String toString() { return "GuidanceManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mInfo1=" + this.mInfo1 + ", mInfo2=" + this.mInfo2 + ", mNextRoadIcon=" + this.mNextRoadIcon + ")"; } GuidanceManeuverData(int iconId, Long distance, String info1, String info2);  GuidanceManeuverData(int iconId, Long distance, String info1, String info2, Bitmap nextRoadIcon);   GuidanceManeuverData(Parcel in); }
GuidanceManeuverData implements Parcelable { @Override public String toString() { return "GuidanceManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mInfo1=" + this.mInfo1 + ", mInfo2=" + this.mInfo2 + ", mNextRoadIcon=" + this.mNextRoadIcon + ")"; } GuidanceManeuverData(int iconId, Long distance, String info1, String info2);  GuidanceManeuverData(int iconId, Long distance, String info1, String info2, Bitmap nextRoadIcon);   GuidanceManeuverData(Parcel in); @Override void writeToParcel(Parcel dest, int flags); @Override int describeContents(); int getIconId(); String getInfo1(); String getInfo2(); Long getDistance(); Bitmap getNextRoadIcon(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj1); }
GuidanceManeuverData implements Parcelable { @Override public String toString() { return "GuidanceManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mInfo1=" + this.mInfo1 + ", mInfo2=" + this.mInfo2 + ", mNextRoadIcon=" + this.mNextRoadIcon + ")"; } GuidanceManeuverData(int iconId, Long distance, String info1, String info2);  GuidanceManeuverData(int iconId, Long distance, String info1, String info2, Bitmap nextRoadIcon);   GuidanceManeuverData(Parcel in); @Override void writeToParcel(Parcel dest, int flags); @Override int describeContents(); int getIconId(); String getInfo1(); String getInfo2(); Long getDistance(); Bitmap getNextRoadIcon(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj1); static final Creator<GuidanceManeuverData> CREATOR; }