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:
Marc Blank 2009-09-21 13:21:20 -07:00 committed by Android Git Automerger
commit 2fa1eb2796

View File

@ -90,13 +90,13 @@ public class Rfc822OutputTests extends AndroidTestCase {
msg.save(getContext());
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)
msg.mId = -1;
msg.mTextReply = null;
msg.save(getContext());
body = Rfc822Output.buildBodyText(getContext(), msg, false);
assertEquals(TEXT, body);
assertEquals(TEXT + REPLY_BODY_SHORT, body);
}
}