summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-17 06:01:34 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-17 06:01:34 (GMT)
commit6248e12c38ca4beb91e9f8d4bcbba6a73d1283fb (patch)
treeb53f7e20b341c27a1e2dfc2dde6795524f291d5f
parenta19ba4d1ac691a2c24284599f90351ac23dd03f7 (diff)
Clean up
-rw-r--r--messagecomposer/autotests/messagefactorytest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/messagecomposer/autotests/messagefactorytest.cpp b/messagecomposer/autotests/messagefactorytest.cpp
index e91798d..3a36053 100644
--- a/messagecomposer/autotests/messagefactorytest.cpp
+++ b/messagecomposer/autotests/messagefactorytest.cpp
@@ -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();
}