aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-07-05 18:27:49 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-07-05 18:27:49 +0200
commitcba06269ab1ab9253c097eb46ffdc0393548e74d (patch)
tree9f577a4df530cd4733c13f8ea63a15c692810024 /tests
parent2f511284671816c9d0124597eaa441c4d95a5aa0 (diff)
downloadaerogramme-cba06269ab1ab9253c097eb46ffdc0393548e74d.tar.gz
aerogramme-cba06269ab1ab9253c097eb46ffdc0393548e74d.zip
Add support for mime in mime
Diffstat (limited to 'tests')
-rw-r--r--tests/emails/dxflrs/0003_mime-in-mime.body2
-rw-r--r--tests/emails/dxflrs/0003_mime-in-mime.bodystructure2
-rw-r--r--tests/emails/dxflrs/0003_mime-in-mime.eml7
-rw-r--r--tests/emails/dxflrs/0004_msg-in-msg.eml2
4 files changed, 11 insertions, 2 deletions
diff --git a/tests/emails/dxflrs/0003_mime-in-mime.body b/tests/emails/dxflrs/0003_mime-in-mime.body
index 5c6c9f8..ddf0f6d 100644
--- a/tests/emails/dxflrs/0003_mime-in-mime.body
+++ b/tests/emails/dxflrs/0003_mime-in-mime.body
@@ -1 +1 @@
-(BODY ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0) "mixed") "mixed")) \ No newline at end of file
+(BODY ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1) "mixed")("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1) "mixed")) \ No newline at end of file
diff --git a/tests/emails/dxflrs/0003_mime-in-mime.bodystructure b/tests/emails/dxflrs/0003_mime-in-mime.bodystructure
index e2535bb..903d343 100644
--- a/tests/emails/dxflrs/0003_mime-in-mime.bodystructure
+++ b/tests/emails/dxflrs/0003_mime-in-mime.bodystructure
@@ -1 +1 @@
-(BODYSTRUCTURE ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 7 0 NIL NIL NIL NIL) "mixed" ("boundary" "child") NIL NIL NIL) "mixed" ("boundary" "parent") NIL NIL NIL)) \ No newline at end of file
+(BODYSTRUCTURE ((("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL) "mixed" ("boundary" "child") NIL NIL NIL)("text" "plain" ("charset" "us-ascii") NIL NIL "7bit" 9 1 NIL NIL NIL NIL) "mixed" ("boundary" "parent") NIL NIL NIL)) \ No newline at end of file
diff --git a/tests/emails/dxflrs/0003_mime-in-mime.eml b/tests/emails/dxflrs/0003_mime-in-mime.eml
index f98c015..52f4e15 100644
--- a/tests/emails/dxflrs/0003_mime-in-mime.eml
+++ b/tests/emails/dxflrs/0003_mime-in-mime.eml
@@ -9,9 +9,16 @@ Content-Type: multipart/mixed; boundary="child";
Content-Type: text/plain; charset="us-ascii"
Hello 1
+
--child
Content-Type: text/plain; charset="us-ascii"
Hello 2
+
--child--
+--parent
+Content-Type: text/plain; charset="us-ascii"
+
+Hello 3
+
--parent--
diff --git a/tests/emails/dxflrs/0004_msg-in-msg.eml b/tests/emails/dxflrs/0004_msg-in-msg.eml
index 051d003..b1602cb 100644
--- a/tests/emails/dxflrs/0004_msg-in-msg.eml
+++ b/tests/emails/dxflrs/0004_msg-in-msg.eml
@@ -9,3 +9,5 @@ From: Garage team <garagehq@deuxfleurs.fr>
Subject: Welcome to Aerogramme!!
This is just a test email, feel free to ignore.
+
+--delim--