MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / testAttachments

Function testAttachments

tests/test-all.cpp:479–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479static void testAttachments()
480{
481 mailcore::Attachment *attachment = mailcore::Attachment::attachmentWithText(MCSTR("Hello World"));
482 attachment->setCharset(NULL);
483 mailcore::String * str = attachment->decodedString();
484 MCLog("%s", MCUTF8DESC(str));
485}
486
487void testAll()
488{

Callers

nothing calls this directly

Calls 2

setCharsetMethod · 0.45
decodedStringMethod · 0.45

Tested by

no test coverage detected