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

Function testMessageParser

tests/test-all.cpp:129–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129static void testMessageParser(mailcore::Data * data)
130{
131 mailcore::MessageParser * parser = mailcore::MessageParser::messageParserWithData(data);
132 MCLog("%s", MCUTF8DESC(parser));
133 MCLog("HTML rendering");
134 MCLog("%s", MCUTF8(parser->htmlRendering()));
135 MCLog("%s", MCUTF8(parser->plainTextBodyRendering(true)));
136 MCLog("%s", MCUTF8(parser->plainTextBodyRendering(false)));
137}
138
139static void testIMAP()
140{

Callers

nothing calls this directly

Calls 2

htmlRenderingMethod · 0.45

Tested by

no test coverage detected