am 71bba443
: Merge change 26224 into eclair
Merge commit '71bba443f2c418df69bb3316f9394b1eda6f751f' into eclair-plus-aosp * commit '71bba443f2c418df69bb3316f9394b1eda6f751f': Fix broken test after changes to Rfc822Output
This commit is contained in:
commit
2fa1eb2796
@ -90,13 +90,13 @@ public class Rfc822OutputTests extends AndroidTestCase {
|
|||||||
msg.save(getContext());
|
msg.save(getContext());
|
||||||
|
|
||||||
String body = Rfc822Output.buildBodyText(getContext(), msg, false);
|
String body = Rfc822Output.buildBodyText(getContext(), msg, false);
|
||||||
assertEquals(TEXT, body);
|
assertEquals(TEXT + REPLY_BODY_SHORT, body);
|
||||||
|
|
||||||
// Save a different message with no reply body (so we reset the id)
|
// Save a different message with no reply body (so we reset the id)
|
||||||
msg.mId = -1;
|
msg.mId = -1;
|
||||||
msg.mTextReply = null;
|
msg.mTextReply = null;
|
||||||
msg.save(getContext());
|
msg.save(getContext());
|
||||||
body = Rfc822Output.buildBodyText(getContext(), msg, false);
|
body = Rfc822Output.buildBodyText(getContext(), msg, false);
|
||||||
assertEquals(TEXT, body);
|
assertEquals(TEXT + REPLY_BODY_SHORT, body);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user