Commit 6248e12c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up

parent a19ba4d1
......@@ -313,6 +313,8 @@ void MessageFactoryTest::testCreateRedirect()
QCOMPARE(rdir->subject()->asUnicodeString(), QStringLiteral("Test Email Subject"));
QCOMPARE_OR_DIFF(rdir->encodedContent(), baseline.toLatin1());
delete identMan;
QDir dir(QDir::homePath() + QStringLiteral("/.qttest/"));
dir.removeRecursively();
}
void MessageFactoryTest::testCreateResend()
......@@ -366,6 +368,8 @@ void MessageFactoryTest::testCreateResend()
QCOMPARE(rdir->subject()->asUnicodeString(), QStringLiteral("Test Email Subject"));
QCOMPARE_OR_DIFF(rdir->encodedContent(), baseline.toLatin1());
delete identMan;
QDir dir(QDir::homePath() + QStringLiteral("/.qttest/"));
dir.removeRecursively();
}
void MessageFactoryTest::testCreateMDN()
......@@ -493,5 +497,7 @@ void MessageFactoryTest::test_multipartAlternative()
QCOMPARE(reply.msg->subject()->asUnicodeString(), QLatin1String("Re: Plain Message Test"));
QCOMPARE(reply.msg->contents().at(contentAt)->encodedBody().data(), expected.toLatin1().data());
delete identMan;
QDir dir(QDir::homePath() + QStringLiteral("/.qttest/"));
dir.removeRecursively();
}
Supports Markdown
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