[gmime] Added test message for part iters.
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Added test message for part iters.
- Date: Sat, 18 Feb 2012 15:14:02 +0000 (UTC)
commit 33cebbbf9cdc7e0c2a1726bc9ca1a3d80fc2d736
Author: Jeffrey Stedfast <fejj gnome org>
Date: Sat Feb 18 10:13:32 2012 -0500
Added test message for part iters.
tests/rfc2060.msg | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/tests/rfc2060.msg b/tests/rfc2060.msg
new file mode 100644
index 0000000..92f2aaa
--- /dev/null
+++ b/tests/rfc2060.msg
@@ -0,0 +1,74 @@
+From: me myself com
+To: me myself com
+Subject: Sample message structure for IMAP part specifiers
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; boundary="x"
+
+--x
+Content-Type: TEXT/PLAIN
+
+This part specifier should be: 1
+
+--x
+Content-Type: APPLICATION/OCTET-STREAM
+
+This part specifier should be: 2
+
+--x
+Content-Type: MESSAGE/RFC822
+
+From: me myself com
+To: me myself com
+Subject: This part specifier should be: 3
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; boundary="3.x"
+
+--3.x
+Content-Type: TEXT/PLAIN
+
+This part specifier should be: 3.1
+
+--3.x
+Content-Type: APPLICATION/OCTET-STREAM
+
+This part specifier should be: 3.2
+
+--3.x--
+--x
+Content-Type: MULTIPART/MIXED; boundary="4.x"
+
+--4.x
+Content-Type: IMAGE/GIF
+
+This part specifier should be: 4.1
+
+--4.x
+Content-Type: MESSAGE/RFC822
+
+From: me myself com
+To: me myself com
+Subject: This part specifier should be: 4.2
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; boundary="4.2.x"
+
+--4.2.x
+Content-Type: TEXT/PLAIN
+
+This part specifier should be: 4.2.1
+
+--4.2.x
+Content-Type: MULTIPART/ALTERNATIVE; boundary="4.2.2.x"
+
+--4.2.2.x
+Content-Type: TEXT/PLAIN-4.2.2.1
+
+This part specifier should be: 4.2.2.1
+
+--4.2.2.x
+Content-Type: TEXT/RICHTEXT
+
+This part specifier should be: 4.2.2.2
+
+--4.2.2.x--
+--4.2.x--
+--x--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]