diff options
author | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-10-21 20:50:13 -0700 |
---|---|---|
committer | Hoa V. DINH <dinh.viet.hoa@gmail.com> | 2014-10-21 20:50:13 -0700 |
commit | c58220701ada0ccca85cd290a57b3e2277537b75 (patch) | |
tree | 5308105b610dd50f7cc66734e857e4bc7999ce96 /unittest/data/parser/input/messages/rfc2060.txt | |
parent | df800fed1079fb0b9f49681d7b1688c1d3b97539 (diff) |
Implement unit tests for message builder and message parsers
Diffstat (limited to 'unittest/data/parser/input/messages/rfc2060.txt')
-rw-r--r-- | unittest/data/parser/input/messages/rfc2060.txt | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/unittest/data/parser/input/messages/rfc2060.txt b/unittest/data/parser/input/messages/rfc2060.txt new file mode 100644 index 00000000..84579220 --- /dev/null +++ b/unittest/data/parser/input/messages/rfc2060.txt @@ -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 + +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-- |