summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/mimetreeparser/autotests/data/encapsulated-with-attachment.mbox.html
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-05-29 16:17:04 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-06-04 12:57:04 +0200
commite452707fdfbd61be1e5633b516b653b7337e7865 (patch)
tree1e1d4b48ebf8d381f292436f2ba04b8763edc5de /framework/src/domain/mime/mimetreeparser/autotests/data/encapsulated-with-attachment.mbox.html
parent5a1033bdace740799a6e03389bee30e5a4de5d44 (diff)
downloadkube-e452707fdfbd61be1e5633b516b653b7337e7865.tar.gz
kube-e452707fdfbd61be1e5633b516b653b7337e7865.zip
Reduced the messagetreeparser to aproximately what we actually require
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)
Diffstat (limited to 'framework/src/domain/mime/mimetreeparser/autotests/data/encapsulated-with-attachment.mbox.html')
-rw-r--r--framework/src/domain/mime/mimetreeparser/autotests/data/encapsulated-with-attachment.mbox.html51
1 files changed, 51 insertions, 0 deletions
diff --git a/framework/src/domain/mime/mimetreeparser/autotests/data/encapsulated-with-attachment.mbox.html b/framework/src/domain/mime/mimetreeparser/autotests/data/encapsulated-with-attachment.mbox.html
new file mode 100644
index 00000000..aa3d1090
--- /dev/null
+++ b/framework/src/domain/mime/mimetreeparser/autotests/data/encapsulated-with-attachment.mbox.html
@@ -0,0 +1,51 @@
1<?xml version="1.0" encoding="UTF8"?>
2<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3<html>
4 <body>
5 <div style="position: relative; word-wrap: break-word">
6 <a name="att"/>
7 <div id="attachmentDiv">
8 <a name="att1"/>
9 <div id="attachmentDiv1">
10 <div class="noquote">
11 <div dir="ltr">This is the first encapsulating message.</div>
12 </div>
13 </div>
14 <a name="att2"/>
15 <div id="attachmentDiv2">
16 <table cellspacing="1" cellpadding="1" class="rfc822">
17 <tr class="rfc822H">
18 <td dir="ltr">
19 <a href="attachment:2.1?place=body">Encapsulated message</a>
20 </td>
21 </tr>
22 <tr class="rfc822B">
23 <td>
24 <a name="att2.1"/>
25 <div id="attachmentDiv2.1">
26 <a name="att2.1.1"/>
27 <div id="attachmentDiv2.1.1">
28 <div class="noquote">
29 <div dir="ltr">This is the second encapsulated message.</div>
30 </div>
31 </div>
32 <a name="att2.1.2"/>
33 <div id="attachmentDiv2.1.2">
34 <hr/>
35 <div>
36 <a href="attachment:2.1.2?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment.txt</a>
37 </div>
38 <div/>
39 </div>
40 </div>
41 </td>
42 </tr>
43 <tr class="rfc822H">
44 <td dir="ltr">End of encapsulated message</td>
45 </tr>
46 </table>
47 </div>
48 </div>
49 </div>
50 </body>
51</html>