diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-07-05 11:44:22 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-07-05 11:44:22 +0200 |
commit | 50b2efe6da444bcd69295933040a55ebc19eb2c1 (patch) | |
tree | bf7965c8e2c04d15f9bb559ccf65b49546786c8b /tests/emails/thirdparty | |
parent | f97b0a10a024cb57c59cf1088030b727ff9b8d53 (diff) | |
download | aerogramme-50b2efe6da444bcd69295933040a55ebc19eb2c1.tar.gz aerogramme-50b2efe6da444bcd69295933040a55ebc19eb2c1.zip |
Add our own test emails + parse result
Diffstat (limited to 'tests/emails/thirdparty')
22 files changed, 22 insertions, 0 deletions
diff --git a/tests/emails/thirdparty/000.body b/tests/emails/thirdparty/000.body new file mode 100644 index 0000000..b237a3e --- /dev/null +++ b/tests/emails/thirdparty/000.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "base64" 224 2)("text" "plain" ("charset" "us-ascii") NIL NIL "base64" 4 0) "alternative"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/000.bodystructure b/tests/emails/thirdparty/000.bodystructure new file mode 100644 index 0000000..f15bc72 --- /dev/null +++ b/tests/emails/thirdparty/000.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "base64" 224 2 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "base64" 4 0 NIL NIL NIL NIL) "alternative" ("boundary" "bound") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/001.body b/tests/emails/thirdparty/001.body new file mode 100644 index 0000000..7065154 --- /dev/null +++ b/tests/emails/thirdparty/001.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 224 2)("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 4 0)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 13 1) "alternative"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/001.bodystructure b/tests/emails/thirdparty/001.bodystructure new file mode 100644 index 0000000..0b9642c --- /dev/null +++ b/tests/emails/thirdparty/001.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 224 2 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 4 0 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 13 1 NIL NIL NIL NIL) "alternative" ("boundary" "bound") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/002.body b/tests/emails/thirdparty/002.body new file mode 100644 index 0000000..0266d1f --- /dev/null +++ b/tests/emails/thirdparty/002.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "utf-8") NIL NIL "quoted-printable" 23 1)("text" "plain" ("charset" "utf-8") NIL NIL "base64" 28 0)("text" "plain" ("charset" "utf-8") NIL NIL "base64" 8 0) "mixed"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/002.bodystructure b/tests/emails/thirdparty/002.bodystructure new file mode 100644 index 0000000..8bba9f4 --- /dev/null +++ b/tests/emails/thirdparty/002.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "utf-8") NIL NIL "quoted-printable" 23 1 NIL NIL NIL NIL)("text" "plain" ("charset" "utf-8") NIL NIL "base64" 28 0 NIL NIL NIL NIL)("text" "plain" ("charset" "utf-8") NIL NIL "base64" 8 0 NIL NIL NIL NIL) "mixed" ("boundary" "foo") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/003.body b/tests/emails/thirdparty/003.body new file mode 100644 index 0000000..a43c6ca --- /dev/null +++ b/tests/emails/thirdparty/003.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 35 1)("text" "plain" ("charset" "UTF-8") NIL NIL "binary" 23 1)("text" "plain" ("charset" "UTF-8") NIL NIL "8bit" 23 1)("text" "plain" ("charset" "UTF-8") NIL NIL "quoted-printable" 41 1)("text" "plain" ("charset" "UTF-8") NIL NIL "base64" 34 1) "mixed"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/003.bodystructure b/tests/emails/thirdparty/003.bodystructure new file mode 100644 index 0000000..5e413bb --- /dev/null +++ b/tests/emails/thirdparty/003.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 35 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "binary" 23 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "8bit" 23 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "quoted-printable" 41 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "base64" 34 1 NIL NIL NIL NIL) "mixed" ("boundary" "1") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/004.body b/tests/emails/thirdparty/004.body new file mode 100644 index 0000000..1fadadb --- /dev/null +++ b/tests/emails/thirdparty/004.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "UTF-8") NIL NIL "6bit" 35 1)("text" "plain" ("charset" "UTF-8") NIL NIL "7bits" 23 1)("text" "plain" ("charset" "UTF-8") NIL NIL "7bit" 23 1)("text" "plain" ("charset" "UTF-8") NIL NIL "7-bit" 23 1)("text" "plain" ("charset" "UTF-8") NIL NIL "8-bit" 23 1)("text" "plain" ("charset" "UTF-8") NIL NIL "7bit" 41 1) "mixed"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/004.bodystructure b/tests/emails/thirdparty/004.bodystructure new file mode 100644 index 0000000..501d782 --- /dev/null +++ b/tests/emails/thirdparty/004.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "UTF-8") NIL NIL "6bit" 35 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "7bits" 23 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "7bit" 23 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "7-bit" 23 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "8-bit" 23 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "7bit" 41 1 NIL NIL NIL NIL) "mixed" ("boundary" "1") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/005.body b/tests/emails/thirdparty/005.body new file mode 100644 index 0000000..4d3e042 --- /dev/null +++ b/tests/emails/thirdparty/005.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "utf-16le") NIL NIL "binary" 27 1)("text" "plain" ("charset" "utf-16be") NIL NIL "base64" 38 1)("text" "plain" ("charset" "utf-16le") NIL NIL "base64" 38 1)("text" "plain" ("charset" "EUC-JP") NIL NIL "base64" 26 1)("text" "plain" ("charset" "UTF-8") NIL NIL "binary" 16 2) "mixed"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/005.bodystructure b/tests/emails/thirdparty/005.bodystructure new file mode 100644 index 0000000..6fc310d --- /dev/null +++ b/tests/emails/thirdparty/005.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "utf-16le") NIL NIL "binary" 27 1 NIL NIL NIL NIL)("text" "plain" ("charset" "utf-16be") NIL NIL "base64" 38 1 NIL NIL NIL NIL)("text" "plain" ("charset" "utf-16le") NIL NIL "base64" 38 1 NIL NIL NIL NIL)("text" "plain" ("charset" "EUC-JP") NIL NIL "base64" 26 1 NIL NIL NIL NIL)("text" "plain" ("charset" "UTF-8") NIL NIL "binary" 16 2 NIL NIL NIL NIL) "mixed" ("boundary" "1") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/006.body b/tests/emails/thirdparty/006.body new file mode 100644 index 0000000..78fa16f --- /dev/null +++ b/tests/emails/thirdparty/006.body @@ -0,0 +1 @@ +(BODY (((("text" "html" ("charset" "us-ascii") NIL NIL "7bit" 90 1)("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 27 0) "alternative")("signature" "plain" ("charset" "us-ascii") NIL NIL "7bit" 21) "signed") "mixed"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/006.bodystructure b/tests/emails/thirdparty/006.bodystructure new file mode 100644 index 0000000..f327e71 --- /dev/null +++ b/tests/emails/thirdparty/006.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (((("text" "html" ("charset" "us-ascii") NIL NIL "7bit" 90 1 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 27 0 NIL NIL NIL NIL) "alternative" ("boundary" "3") NIL NIL NIL)("signature" "plain" ("charset" "us-ascii") NIL NIL "7bit" 21 NIL NIL NIL NIL) "signed" ("protocol" "signature/plain" "migalc" "pen+paper" "boundary" "2") NIL NIL NIL) "mixed" ("boundary" "1") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/007.body b/tests/emails/thirdparty/007.body new file mode 100644 index 0000000..1090b32 --- /dev/null +++ b/tests/emails/thirdparty/007.body @@ -0,0 +1 @@ +(BODY (("message" "rfc822" NIL NIL NIL "7bit" 76 (NIL "my opinion" (("someone-else" NIL "someone" "else")) (("someone-else" NIL "someone" "else")) (("someone-else" NIL "someone" "else")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 18 0) 3)("message" "rfc822" NIL NIL NIL "7bit" 77 (NIL "i disagree" (("another one" NIL "another" "one")) (("another one" NIL "another" "one")) (("another one" NIL "another" "one")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 21 0) 3)("message" "rfc822" NIL NIL NIL "7bit" 334 (NIL "funny hat" (("attachment" NIL "attachment" "user")) (("attachment" NIL "attachment" "user")) (("attachment" NIL "attachment" "user")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 25 0)("application" "octet-stream" ("disposition" "attachment" "name" "test.txt") NIL NIL "binary" 6) "mixed") 15) "digest"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/007.bodystructure b/tests/emails/thirdparty/007.bodystructure new file mode 100644 index 0000000..d805a78 --- /dev/null +++ b/tests/emails/thirdparty/007.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("message" "rfc822" NIL NIL NIL "7bit" 76 (NIL "my opinion" (("someone-else" NIL "someone" "else")) (("someone-else" NIL "someone" "else")) (("someone-else" NIL "someone" "else")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 18 0 NIL NIL NIL NIL) 3 NIL NIL NIL NIL)("message" "rfc822" NIL NIL NIL "7bit" 77 (NIL "i disagree" (("another one" NIL "another" "one")) (("another one" NIL "another" "one")) (("another one" NIL "another" "one")) NIL NIL NIL NIL NIL) ("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 21 0 NIL NIL NIL NIL) 3 NIL NIL NIL NIL)("message" "rfc822" NIL NIL NIL "7bit" 334 (NIL "funny hat" (("attachment" NIL "attachment" "user")) (("attachment" NIL "attachment" "user")) (("attachment" NIL "attachment" "user")) NIL NIL NIL NIL NIL) (("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 25 0 NIL NIL NIL NIL)("application" "octet-stream" ("disposition" "attachment" "name" "test.txt") NIL NIL "binary" 6 NIL NIL NIL NIL) "mixed" ("boundary" "2") NIL NIL NIL) 15 NIL NIL NIL NIL) "digest" ("boundary" "1") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/008.body b/tests/emails/thirdparty/008.body new file mode 100644 index 0000000..9b5f082 --- /dev/null +++ b/tests/emails/thirdparty/008.body @@ -0,0 +1 @@ +(BODY (("text" "x-myown" ("charset" "us-ascii") NIL NIL "7bit" 7 1)("message" "rfc822" NIL NIL NIL "7bit" 465 ("Sun, 12 Aug 2012 12:34:56 +0300" "submsg" ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) NIL NIL NIL NIL NIL) (("text" "html" ("charset" "us-ascii") NIL NIL "7bit" 20 1)((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 0)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 10 0) "alternative")("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 10 0) "alternative") "alternative") 32)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 12 0) "mixed"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/008.bodystructure b/tests/emails/thirdparty/008.bodystructure new file mode 100644 index 0000000..b62d60e --- /dev/null +++ b/tests/emails/thirdparty/008.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "x-myown" ("charset" "us-ascii") NIL NIL "7bit" 7 1 NIL NIL NIL NIL)("message" "rfc822" NIL NIL NIL "7bit" 465 ("Sun, 12 Aug 2012 12:34:56 +0300" "submsg" ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) ((NIL NIL "sub" "domain.org")) NIL NIL NIL NIL NIL) (("text" "html" ("charset" "us-ascii") NIL NIL "7bit" 20 1 NIL NIL NIL NIL)((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 0 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 10 0 NIL NIL NIL NIL) "alternative" ("boundary" "sub3") NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 10 0 NIL NIL NIL NIL) "alternative" ("boundary" "sub2") NIL NIL NIL) "alternative" ("boundary" "sub1") NIL NIL NIL) 32 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 12 0 NIL NIL NIL NIL) "mixed" ("boundary" "foo bar") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/009.body b/tests/emails/thirdparty/009.body new file mode 100644 index 0000000..2db6b88 --- /dev/null +++ b/tests/emails/thirdparty/009.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 48 0)("Message" "Partial" ("number" "1" "total" "5" "id" "heks68ewe@example.org") NIL NIL "7bit" 247) "mixed"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/009.bodystructure b/tests/emails/thirdparty/009.bodystructure new file mode 100644 index 0000000..c7d271d --- /dev/null +++ b/tests/emails/thirdparty/009.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 48 0 NIL NIL NIL NIL)("Message" "Partial" ("number" "1" "total" "5" "id" "heks68ewe@example.org") NIL NIL "7bit" 247 NIL NIL NIL NIL) "mixed" ("boundary" "1") NIL NIL NIL))
\ No newline at end of file diff --git a/tests/emails/thirdparty/010.body b/tests/emails/thirdparty/010.body new file mode 100644 index 0000000..01164f5 --- /dev/null +++ b/tests/emails/thirdparty/010.body @@ -0,0 +1 @@ +(BODY (("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 18 0) "mixed"))
\ No newline at end of file diff --git a/tests/emails/thirdparty/010.bodystructure b/tests/emails/thirdparty/010.bodystructure new file mode 100644 index 0000000..15ddd24 --- /dev/null +++ b/tests/emails/thirdparty/010.bodystructure @@ -0,0 +1 @@ +(BODYSTRUCTURE (("text" "plain" ("charset" "us-ascii") NIL NIL "binary" 18 0 NIL NIL ("ja") NIL) "mixed" ("boundary" "1" "comment" "") NIL NIL NIL))
\ No newline at end of file |