aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-07-31 23:35:08 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2013-07-31 23:35:08 -0700
commit85a26f97fefac157bb3d310f444f7c86a8b07204 (patch)
treee8fd7d161b72b4b425b9f1dfaee80c0205602903 /tests
parenta722d215582e295d9e8fe5fb876d61a7a93cf494 (diff)
Serialization of IMAP data. Implemented base64.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-all.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-all.mm b/tests/test-all.mm
index 552ffe8e..255e518a 100644
--- a/tests/test-all.mm
+++ b/tests/test-all.mm
@@ -56,7 +56,7 @@ static mailcore::Data * testMessageBuilder()
to->release();
bcc->release();
MCAssert(msg->header()->allExtraHeadersNames()->count() == 0);
- msg->header()->addHeader(MCSTR("X-Custom-Header"), MCSTR("Custom Header Value"));
+ msg->header()->setExtraHeader(MCSTR("X-Custom-Header"), MCSTR("Custom Header Value"));
msg->header()->setSubject(MCSTR("Mon projet d'été"));
msg->setHTMLBody(MCSTR("<div>Hello <img src=\"cid:1234\"></div>"));
msg->addAttachment(mailcore::Attachment::attachmentWithContentsOfFile(MCSTR("first-filename")));