Subject: Reduced the messagetreeparser to aproximately what we actually require

From: Christian Mollekopf <[email-masked]>
Date: Mon, 29 May 2017 16:17:04 +0200

While in a much more managable state it's still not pretty.
However, further refactoring can now gradually happen as we need to do
further work on it.

Things that should happen eventually:
* Simplify the logic that creates the messageparts (we don't need the  whole formatter plugin complexity)
* Get rid of the nodehelper (let the parts hold the necessary data)
* Get rid of partmetadata (let the part handleit)
---
 .../data/openpgp-inline-charset-encrypted.mbox     | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-charset-encrypted.mbox

(limited to 'framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-charset-encrypted.mbox')

diff --git a/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-charset-encrypted.mbox b/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-charset-encrypted.mbox
new file mode 100644
index 00000000..8bd06910
--- /dev/null
+++ b/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-charset-encrypted.mbox
@@ -0,0 +1,40 @@
+From [email-masked] Thu, 17 Oct 2013 02:13:03 +0200
+Return-Path: <[email-masked]>
+Delivered-To: [email-masked]
+Received: from localhost (localhost [127.0.0.1])
+	by [email-masked] (Postfix) with ESMTP id B30D8120030
+	for <[email-masked]>; Thu, 17 Oct 2013 02:13:05 +0200 (CEST)
+From: test <[email-masked]>
+To: [email-masked]
+Subject: charset
+Date: Thu, 17 Oct 2013 02:13:03 +0200
+Message-ID: <[email-masked]>
+User-Agent: KMail/4.12 pre (Linux/3.11-4.towo-siduction-amd64; KDE/4.11.2; x86_64; git-f7f14e3; 2013-10-15)
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7Bit
+Content-Type: text/plain; charset="ISO-8859-15"
+
+-----BEGIN PGP MESSAGE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+=bPqu
+-----END PGP MESSAGE-----
+
+
-- 
cgit v1.2.3