diff options
author | DINH Viet Hoa <dinh.viet.hoa@gmail.com> | 2013-02-02 22:01:27 -0800 |
---|---|---|
committer | DINH Viet Hoa <dinh.viet.hoa@gmail.com> | 2013-02-02 22:01:27 -0800 |
commit | 61e978ca00aab50aed44c82aaf5d98177629e82c (patch) | |
tree | 2e17fc6405052696674621e2a19891da3f0f876d /tests | |
parent | 3cd80f4960a340008d83a63b5259238cbed8576c (diff) |
Added example of HTML renderer.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.mm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/main.mm b/tests/main.mm index d7c527b9..8157408c 100644 --- a/tests/main.mm +++ b/tests/main.mm @@ -12,7 +12,6 @@ #include <unicode/uclean.h> #include <unicode/ucnv.h> #include <mailcore/mailcore.h> -#import "MCOFetchFoldersOperation.h" extern "C" { extern int mailstream_debug; @@ -76,7 +75,9 @@ static mailcore::Data * testMessageBuilder() static void testMessageParser(mailcore::Data * data) { mailcore::MessageParser * parser = mailcore::MessageParser::messageParserWithData(data); - MCLog("%s", MCUTF8(parser->description())); + MCLog("%s", MCUTF8DESC(parser)); + MCLog("HTML rendering"); + MCLog("%s", MCUTF8(parser->htmlRendering())); } static void testIMAP() |