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-signed-broken.mbox         | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-signed-broken.mbox

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

diff --git a/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-signed-broken.mbox b/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-signed-broken.mbox
new file mode 100644
index 00000000..fc0d2df9
--- /dev/null
+++ b/framework/src/domain/mime/mimetreeparser/autotests/data/openpgp-inline-signed-broken.mbox
@@ -0,0 +1,26 @@
+From: test <[email-masked]>
+To: [email-masked]
+Subject: test
+Date: Tue, 25 Aug 2015 16:47:10 +0200
+Message-ID: <1662097.O9NVKTC5pT@11b508545ba2>
+X-KMail-Identity: 1428848833
+User-Agent: KMail/4.13.0.3 (Linux/4.1.0-rc5-siduction-amd64; KDE/4.14.3; x86_64; git-7c86098; 2015-08-23)
+MIME-Version: 1.0
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain; charset="iso-8859-1"
+
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+ohno break it =F6=E4=FC
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEcBAEBCAAGBQJV3H/vAAoJEI2YYMWPJG3mEZQH/2mbCDa60risTUsomEecasc7
+kIc8Ch+OjZwlEQWKEiFbpLCMVjMwf0oGFcpc/dqnIyIqeVvF6Em+v7iqKuyAaihu
+7ZxxC816tDDI7UIpmyWu39McqGB/2hoA/q+QAMgBiaIuMwYJK9Aw08hXzoCds6O7
+Uor2Y6kMSwEiRnTSYvQHdoaZY3F9SFTLPgjvwfSu7scvp7xvH7bAVIqGGfkLjXpP
+OFkDhEqUI7ORwD5cvvzEu57XmbGB7Nj5LRCGcTq6IlaGeN6Pw5+hOdd6MQ4iISwy
+870msP9NvktURnfXYC3fYnJaK/eUln7LYCBl/k04Z/3Um6dMYyQGh63oGv/2qxQ=3D
+=3D4ctb
+-----END PGP SIGNATURE-----
-- 
cgit v1.2.3