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

Function testAll

tests/test-all.cpp:487–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487void testAll()
488{
489 mailcore::setICUDataDirectory(MCSTR("/usr/local/share/icu"));
490
491 email = MCSTR("email@gmail.com");
492 password = MCSTR("MyP4ssw0rd");
493 displayName = MCSTR("My Email");
494
495#if __linux__ && !defined(ANDROID) && !defined(__ANDROID__)
496 s_main_loop = g_main_loop_new (NULL, FALSE);
497#endif
498
499 mailcore::AutoreleasePool * pool = new mailcore::AutoreleasePool();
500 MCLogEnabled = 1;
501
502 //mailcore::Data * data = testMessageBuilder();
503 //testMessageParser(data);
504 //testSMTP(data);
505 //testSendingMessageFromFileViaSMTP(data);
506 //testIMAP();
507 //testIMAPMove();
508 //testIMAPCapability();
509 //testPOP();
510 //testNNTP();
511 //testAsyncSMTP(data);
512 //testAsyncSendMessageFromFileViaSMTP(data);
513 //testAsyncIMAP();
514 //testAsyncPOP();
515 //testAddresses();
516 //testAttachments();
517
518 pool->release();
519}

Callers 1

mainFunction · 0.85

Calls 1

releaseMethod · 0.80

Tested by

no test coverage detected