aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-31 07:20:22 +0200
committerMontel Laurent <[email protected]>2017-05-31 07:20:22 +0200
commitd2e7284a3992eb3ca89706ae52a8933af765112f (patch)
tree861e3cf80cd0b2e4e93fca5a16bc5db2df78d397
parentada4b4038dda1c6d639f0efa1ed4210d83b1f773 (diff)
Test plain test
-rw-r--r--autotests/contenttest.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/autotests/contenttest.cpp b/autotests/contenttest.cpp
index d2b18fd..001d451 100644
--- a/autotests/contenttest.cpp
+++ b/autotests/contenttest.cpp
@@ -775,6 +775,18 @@ void ContentTest::testContentTypeMimetype_data()
QTest::newRow("multipart") << data << QByteArrayLiteral("multipart/mixed");
+ data =
+ "From: Montel Laurent <[email protected]>\n"
+ "Content-Type: text/plain; charset=\"utf-8\"\n"
+ "MIME-Version: 1.0\n"
+ "Content-Transfer-Encoding: quoted-printable\n"
+ "Subject: [libksieve] src/ksieveui: coding style\n"
+ "Date: Tue, 30 May 2017 19:25:59 +0000\n"
+ "\n"
+ "Git commit 5410a2b3b6eef29ba32d0ac5e363fd38a56f535b by Montel Laurent.\n"
+ "Committed on 30/05/2017 at 19:25.\n";
+ QTest::newRow("text/plain") << data << QByteArrayLiteral("text/plain");
}