@Test public void testToString() { GuidanceNextManeuverData data = new GuidanceNextManeuverData(ICON_ID, DISTANCE, STREET_NAME); String inputStr = "GuidanceNextManeuverData(mIconId=1, mDistance=1, mStreetName=SomeStreet)"; assertThat(data.toString(), is(inputStr)); }
@Override public String toString() { return "GuidanceNextManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mStreetName=" + this.mStreetName + ")"; }
GuidanceNextManeuverData implements Parcelable { @Override public String toString() { return "GuidanceNextManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mStreetName=" + this.mStreetName + ")"; } }
GuidanceNextManeuverData implements Parcelable { @Override public String toString() { return "GuidanceNextManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mStreetName=" + this.mStreetName + ")"; } GuidanceNextManeuverData(Integer iconId, Long distance, String streetName); protected  GuidanceNextManeuverData(Parcel in); }
GuidanceNextManeuverData implements Parcelable { @Override public String toString() { return "GuidanceNextManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mStreetName=" + this.mStreetName + ")"; } GuidanceNextManeuverData(Integer iconId, Long distance, String streetName); protected  GuidanceNextManeuverData(Parcel in); @Override void writeToParcel(Parcel dest, int flags); @Override int describeContents(); Integer getIconId(); Long getDistance(); String getStreetName(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj1); }
GuidanceNextManeuverData implements Parcelable { @Override public String toString() { return "GuidanceNextManeuverData(mIconId=" + this.mIconId + ", mDistance=" + this.mDistance + ", mStreetName=" + this.mStreetName + ")"; } GuidanceNextManeuverData(Integer iconId, Long distance, String streetName); protected  GuidanceNextManeuverData(Parcel in); @Override void writeToParcel(Parcel dest, int flags); @Override int describeContents(); Integer getIconId(); Long getDistance(); String getStreetName(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj1); static final Creator<GuidanceNextManeuverData> CREATOR; }