From 2fdddd2f795da4645dc9a48fee4865324143a21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Knau=C3=9F?= Date: Mon, 18 Jul 2016 15:35:07 +0200 Subject: first tests with mimetreeparser interface --- .../domain/mimetreeparser/tests/data/html.mbox | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 framework/domain/mimetreeparser/tests/data/html.mbox (limited to 'framework/domain/mimetreeparser/tests/data/html.mbox') diff --git a/framework/domain/mimetreeparser/tests/data/html.mbox b/framework/domain/mimetreeparser/tests/data/html.mbox new file mode 100644 index 00000000..eebd4283 --- /dev/null +++ b/framework/domain/mimetreeparser/tests/data/html.mbox @@ -0,0 +1,31 @@ +From foo@example.com Thu, 26 May 2011 01:16:54 +0100 +From: Thomas McGuire +Subject: HTML test +Date: Thu, 26 May 2011 01:16:54 +0100 +Message-ID: <1501334.pROlBb7MZF@herrwackelpudding.localhost> +X-KMail-Transport: GMX +X-KMail-Fcc: 28 +X-KMail-Drafts: 7 +X-KMail-Templates: 9 +User-Agent: KMail/4.6 beta5 (Linux/2.6.34.7-0.7-desktop; KDE/4.6.41; x86_64; git-0269848; 2011-04-19) +MIME-Version: 1.0 +Content-Type: multipart/alternative; boundary="nextPart8606278.tpV19BTJKu" +Content-Transfer-Encoding: 7Bit + + +--nextPart8606278.tpV19BTJKu +Content-Transfer-Encoding: 7Bit +Content-Type: text/plain; charset="windows-1252" + +Some HTML text +--nextPart8606278.tpV19BTJKu +Content-Transfer-Encoding: 7Bit +Content-Type: text/html; charset="windows-1252" + + + +

Some HTML text

+--nextPart8606278.tpV19BTJKu-- + -- cgit v1.2.3 From 9516f3b02f74f239ce2776abf7cf1147952065cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Knau=C3=9F?= Date: Tue, 19 Jul 2016 14:46:23 +0200 Subject: new mimetreeparser interface Reviewers: cmollekopf Maniphest Tasks: T3208 Differential Revision: https://phabricator.kde.org/D2221 --- framework/domain/mimetreeparser/tests/data/html.mbox | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'framework/domain/mimetreeparser/tests/data/html.mbox') diff --git a/framework/domain/mimetreeparser/tests/data/html.mbox b/framework/domain/mimetreeparser/tests/data/html.mbox index eebd4283..d476a8d4 100644 --- a/framework/domain/mimetreeparser/tests/data/html.mbox +++ b/framework/domain/mimetreeparser/tests/data/html.mbox @@ -9,16 +9,6 @@ X-KMail-Drafts: 7 X-KMail-Templates: 9 User-Agent: KMail/4.6 beta5 (Linux/2.6.34.7-0.7-desktop; KDE/4.6.41; x86_64; git-0269848; 2011-04-19) MIME-Version: 1.0 -Content-Type: multipart/alternative; boundary="nextPart8606278.tpV19BTJKu" -Content-Transfer-Encoding: 7Bit - - ---nextPart8606278.tpV19BTJKu -Content-Transfer-Encoding: 7Bit -Content-Type: text/plain; charset="windows-1252" - -Some HTML text ---nextPart8606278.tpV19BTJKu Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="windows-1252" @@ -27,5 +17,3 @@ Content-Type: text/html; charset="windows-1252" p, li { white-space: pre-wrap; }

Some HTML text

---nextPart8606278.tpV19BTJKu-- - -- cgit v1.2.3 From 550aa371cbf39d7d0cb735f890b338a3ac6883ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Knau=C3=9F?= Date: Wed, 20 Jul 2016 10:04:49 +0200 Subject: add encrypted tests --- framework/domain/mimetreeparser/tests/data/html.mbox | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'framework/domain/mimetreeparser/tests/data/html.mbox') diff --git a/framework/domain/mimetreeparser/tests/data/html.mbox b/framework/domain/mimetreeparser/tests/data/html.mbox index d476a8d4..bf5c685d 100644 --- a/framework/domain/mimetreeparser/tests/data/html.mbox +++ b/framework/domain/mimetreeparser/tests/data/html.mbox @@ -12,8 +12,4 @@ MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="windows-1252" - - -

Some HTML text

+

HTML text

\ No newline at end of file -- cgit v1.2.3