Commit 42d70a00 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Debug--

parent 9eccd1de
......@@ -154,21 +154,21 @@ void SkeletonMessageJobTest::testAddresses()
{
QVERIFY(message->from(false));
qDebug() << "From:" << message->from()->asUnicodeString();
//qDebug() << "From:" << message->from()->asUnicodeString();
QCOMPARE(from, message->from()->asUnicodeString());
}
{
QVERIFY(message->replyTo(false));
qDebug() << "Reply-To:" << message->replyTo()->asUnicodeString();
//qDebug() << "Reply-To:" << message->replyTo()->asUnicodeString();
QCOMPARE(replyto.join(QLatin1Char(',')), message->replyTo()->asUnicodeString());
}
{
QVERIFY(message->to(false));
qDebug() << "To:" << message->to()->asUnicodeString();
//qDebug() << "To:" << message->to()->asUnicodeString();
foreach (const auto &addr, message->to()->mailboxes()) {
qDebug() << addr.prettyAddress();
//qDebug() << addr.prettyAddress();
QVERIFY(to.contains(addr.prettyAddress()));
to.removeOne(addr.prettyAddress());
}
......@@ -177,9 +177,9 @@ void SkeletonMessageJobTest::testAddresses()
{
QVERIFY(message->cc(false));
qDebug() << "Cc:" << message->cc()->asUnicodeString();
//qDebug() << "Cc:" << message->cc()->asUnicodeString();
foreach (const auto &addr, message->cc()->mailboxes()) {
qDebug() << addr.prettyAddress();
//qDebug() << addr.prettyAddress();
QVERIFY(cc.contains(addr.prettyAddress()));
cc.removeOne(addr.prettyAddress());
}
......@@ -188,9 +188,9 @@ void SkeletonMessageJobTest::testAddresses()
{
QVERIFY(message->bcc(false));
qDebug() << "Bcc:" << message->bcc()->asUnicodeString();
//qDebug() << "Bcc:" << message->bcc()->asUnicodeString();
foreach (const auto &addr, message->bcc()->mailboxes()) {
qDebug() << addr.prettyAddress();
//qDebug() << addr.prettyAddress();
QVERIFY(bcc.contains(addr.prettyAddress()));
bcc.removeOne(addr.prettyAddress());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment