diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-30 15:34:54 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-30 15:34:54 +0200 |
commit | 2945877a9f6062e6a2c5aaf2e6a1fe9c545a6869 (patch) | |
tree | 342c84771fe5e91f608ca8432b9e8130c85c641e /framework/src/domain/mime/testdata/iconic | |
parent | cd2b4942c3f4750ce63a01aa312ceb0b86106f8a (diff) | |
download | kube-2945877a9f6062e6a2c5aaf2e6a1fe9c545a6869.tar.gz kube-2945877a9f6062e6a2c5aaf2e6a1fe9c545a6869.zip |
A single shared testdata set.
Diffstat (limited to 'framework/src/domain/mime/testdata/iconic')
4 files changed, 273 insertions, 0 deletions
diff --git a/framework/src/domain/mime/testdata/iconic/openpgp-encrypted-partially-signed-attachments.mbox.html b/framework/src/domain/mime/testdata/iconic/openpgp-encrypted-partially-signed-attachments.mbox.html new file mode 100644 index 00000000..b6f734c2 --- /dev/null +++ b/framework/src/domain/mime/testdata/iconic/openpgp-encrypted-partially-signed-attachments.mbox.html | |||
@@ -0,0 +1,92 @@ | |||
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 | <table cellspacing="1" cellpadding="1" class="encr"> | ||
11 | <tr class="encrH"> | ||
12 | <td dir="ltr">Encrypted message</td> | ||
13 | </tr> | ||
14 | <tr class="encrB"> | ||
15 | <td> | ||
16 | <div style="position: relative; word-wrap: break-word"> | ||
17 | <a name="att"/> | ||
18 | <div id="attachmentDiv"> | ||
19 | <table cellspacing="1" cellpadding="1" class="signOkKeyOk"> | ||
20 | <tr class="signOkKeyOkH"> | ||
21 | <td dir="ltr"> | ||
22 | <table cellspacing="0" cellpadding="0" width="100%"> | ||
23 | <tr> | ||
24 | <td>Signed by <a href="mailto:test@kolab.org">test@kolab.org</a>.</td> | ||
25 | <td align="right"> | ||
26 | <a href="kmail:showSignatureDetails">Show Details</a> | ||
27 | </td> | ||
28 | </tr> | ||
29 | </table> | ||
30 | </td> | ||
31 | </tr> | ||
32 | <tr class="signOkKeyOkB"> | ||
33 | <td> | ||
34 | <a name="att1"/> | ||
35 | <div id="attachmentDiv1"> | ||
36 | <a name="att1.1"/> | ||
37 | <div id="attachmentDiv1.1"> | ||
38 | <div class="noquote"> | ||
39 | <div dir="ltr">This is the main body.</div> | ||
40 | </div> | ||
41 | </div> | ||
42 | <a name="att1.2"/> | ||
43 | <div id="attachmentDiv1.2"> | ||
44 | <hr/> | ||
45 | <div> | ||
46 | <a href="attachment:1:e0:1.2?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment1.txt</a> | ||
47 | </div> | ||
48 | <div/> | ||
49 | </div> | ||
50 | </div> | ||
51 | </td> | ||
52 | </tr> | ||
53 | <tr class="signOkKeyOkH"> | ||
54 | <td dir="ltr">End of signed message</td> | ||
55 | </tr> | ||
56 | </table> | ||
57 | </div> | ||
58 | </div> | ||
59 | </td> | ||
60 | </tr> | ||
61 | <tr class="encrH"> | ||
62 | <td dir="ltr">End of encrypted message</td> | ||
63 | </tr> | ||
64 | </table> | ||
65 | </div> | ||
66 | <a name="att2"/> | ||
67 | <div id="attachmentDiv2"> | ||
68 | <table cellspacing="1" cellpadding="1" class="encr"> | ||
69 | <tr class="encrH"> | ||
70 | <td dir="ltr">Encrypted message</td> | ||
71 | </tr> | ||
72 | <tr class="encrB"> | ||
73 | <td> | ||
74 | <div style="position: relative; word-wrap: break-word"> | ||
75 | <a name="att"/> | ||
76 | <div id="attachmentDiv"> | ||
77 | <div class="noquote"> | ||
78 | <div dir="ltr">This is an unsigned attachment.</div> | ||
79 | </div> | ||
80 | </div> | ||
81 | </div> | ||
82 | </td> | ||
83 | </tr> | ||
84 | <tr class="encrH"> | ||
85 | <td dir="ltr">End of encrypted message</td> | ||
86 | </tr> | ||
87 | </table> | ||
88 | </div> | ||
89 | </div> | ||
90 | </div> | ||
91 | </body> | ||
92 | </html> | ||
diff --git a/framework/src/domain/mime/testdata/iconic/openpgp-encrypted-two-attachments.mbox.html b/framework/src/domain/mime/testdata/iconic/openpgp-encrypted-two-attachments.mbox.html new file mode 100644 index 00000000..7f0b7abd --- /dev/null +++ b/framework/src/domain/mime/testdata/iconic/openpgp-encrypted-two-attachments.mbox.html | |||
@@ -0,0 +1,50 @@ | |||
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 | <table cellspacing="1" cellpadding="1" class="encr"> | ||
9 | <tr class="encrH"> | ||
10 | <td dir="ltr">Encrypted message</td> | ||
11 | </tr> | ||
12 | <tr class="encrB"> | ||
13 | <td> | ||
14 | <div style="position: relative; word-wrap: break-word"> | ||
15 | <a name="att"/> | ||
16 | <div id="attachmentDiv"> | ||
17 | <a name="att1"/> | ||
18 | <div id="attachmentDiv1"> | ||
19 | <div class="noquote"> | ||
20 | <div dir="ltr">this is the main body part</div> | ||
21 | </div> | ||
22 | </div> | ||
23 | <a name="att2"/> | ||
24 | <div id="attachmentDiv2"> | ||
25 | <hr/> | ||
26 | <div> | ||
27 | <a href="attachment:e0:2?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment1.txt</a> | ||
28 | </div> | ||
29 | <div/> | ||
30 | </div> | ||
31 | <a name="att3"/> | ||
32 | <div id="attachmentDiv3"> | ||
33 | <hr/> | ||
34 | <div> | ||
35 | <a href="attachment:e0:3?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment2.txt</a> | ||
36 | </div> | ||
37 | <div/> | ||
38 | </div> | ||
39 | </div> | ||
40 | </div> | ||
41 | </td> | ||
42 | </tr> | ||
43 | <tr class="encrH"> | ||
44 | <td dir="ltr">End of encrypted message</td> | ||
45 | </tr> | ||
46 | </table> | ||
47 | </div> | ||
48 | </div> | ||
49 | </body> | ||
50 | </html> | ||
diff --git a/framework/src/domain/mime/testdata/iconic/openpgp-signed-encrypted-two-attachments.mbox.html b/framework/src/domain/mime/testdata/iconic/openpgp-signed-encrypted-two-attachments.mbox.html new file mode 100644 index 00000000..8d6b5814 --- /dev/null +++ b/framework/src/domain/mime/testdata/iconic/openpgp-signed-encrypted-two-attachments.mbox.html | |||
@@ -0,0 +1,74 @@ | |||
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 | <table cellspacing="1" cellpadding="1" class="encr"> | ||
9 | <tr class="encrH"> | ||
10 | <td dir="ltr">Encrypted message</td> | ||
11 | </tr> | ||
12 | <tr class="encrB"> | ||
13 | <td> | ||
14 | <div style="position: relative; word-wrap: break-word"> | ||
15 | <a name="att"/> | ||
16 | <div id="attachmentDiv"> | ||
17 | <table cellspacing="1" cellpadding="1" class="signOkKeyOk"> | ||
18 | <tr class="signOkKeyOkH"> | ||
19 | <td dir="ltr"> | ||
20 | <table cellspacing="0" cellpadding="0" width="100%"> | ||
21 | <tr> | ||
22 | <td>Signed by <a href="mailto:test@kolab.org">test@kolab.org</a>.</td> | ||
23 | <td align="right"> | ||
24 | <a href="kmail:showSignatureDetails">Show Details</a> | ||
25 | </td> | ||
26 | </tr> | ||
27 | </table> | ||
28 | </td> | ||
29 | </tr> | ||
30 | <tr class="signOkKeyOkB"> | ||
31 | <td> | ||
32 | <a name="att1"/> | ||
33 | <div id="attachmentDiv1"> | ||
34 | <a name="att1.1"/> | ||
35 | <div id="attachmentDiv1.1"> | ||
36 | <div class="noquote"> | ||
37 | <div dir="ltr">this is the main body</div> | ||
38 | </div> | ||
39 | </div> | ||
40 | <a name="att1.2"/> | ||
41 | <div id="attachmentDiv1.2"> | ||
42 | <hr/> | ||
43 | <div> | ||
44 | <a href="attachment:e0:1.2?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment1.txt</a> | ||
45 | </div> | ||
46 | <div/> | ||
47 | </div> | ||
48 | <a name="att1.3"/> | ||
49 | <div id="attachmentDiv1.3"> | ||
50 | <hr/> | ||
51 | <div> | ||
52 | <a href="attachment:e0:1.3?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment2.txt</a> | ||
53 | </div> | ||
54 | <div/> | ||
55 | </div> | ||
56 | </div> | ||
57 | </td> | ||
58 | </tr> | ||
59 | <tr class="signOkKeyOkH"> | ||
60 | <td dir="ltr">End of signed message</td> | ||
61 | </tr> | ||
62 | </table> | ||
63 | </div> | ||
64 | </div> | ||
65 | </td> | ||
66 | </tr> | ||
67 | <tr class="encrH"> | ||
68 | <td dir="ltr">End of encrypted message</td> | ||
69 | </tr> | ||
70 | </table> | ||
71 | </div> | ||
72 | </div> | ||
73 | </body> | ||
74 | </html> | ||
diff --git a/framework/src/domain/mime/testdata/iconic/openpgp-signed-two-attachments.mbox.html b/framework/src/domain/mime/testdata/iconic/openpgp-signed-two-attachments.mbox.html new file mode 100644 index 00000000..73dbc5f4 --- /dev/null +++ b/framework/src/domain/mime/testdata/iconic/openpgp-signed-two-attachments.mbox.html | |||
@@ -0,0 +1,57 @@ | |||
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 | <table cellspacing="1" cellpadding="1" class="signOkKeyOk"> | ||
9 | <tr class="signOkKeyOkH"> | ||
10 | <td dir="ltr"> | ||
11 | <table cellspacing="0" cellpadding="0" width="100%"> | ||
12 | <tr> | ||
13 | <td>Signed by <a href="mailto:test@kolab.org">test@kolab.org</a>.</td> | ||
14 | <td align="right"> | ||
15 | <a href="kmail:showSignatureDetails">Show Details</a> | ||
16 | </td> | ||
17 | </tr> | ||
18 | </table> | ||
19 | </td> | ||
20 | </tr> | ||
21 | <tr class="signOkKeyOkB"> | ||
22 | <td> | ||
23 | <a name="att1"/> | ||
24 | <div id="attachmentDiv1"> | ||
25 | <a name="att1.1"/> | ||
26 | <div id="attachmentDiv1.1"> | ||
27 | <div class="noquote"> | ||
28 | <div dir="ltr">this is the main body text</div> | ||
29 | </div> | ||
30 | </div> | ||
31 | <a name="att1.2"/> | ||
32 | <div id="attachmentDiv1.2"> | ||
33 | <hr/> | ||
34 | <div> | ||
35 | <a href="attachment:1.2?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment1.txt</a> | ||
36 | </div> | ||
37 | <div/> | ||
38 | </div> | ||
39 | <a name="att1.3"/> | ||
40 | <div id="attachmentDiv1.3"> | ||
41 | <hr/> | ||
42 | <div> | ||
43 | <a href="attachment:1.3?place=body"><img align="center" height="48" width="48" src="file:text-plain.svg" border="0" style="max-width: 100%" alt=""/>attachment2.txt</a> | ||
44 | </div> | ||
45 | <div/> | ||
46 | </div> | ||
47 | </div> | ||
48 | </td> | ||
49 | </tr> | ||
50 | <tr class="signOkKeyOkH"> | ||
51 | <td dir="ltr">End of signed message</td> | ||
52 | </tr> | ||
53 | </table> | ||
54 | </div> | ||
55 | </div> | ||
56 | </body> | ||
57 | </html> | ||