diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mailnews/news/test/unit/postings | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
13 files changed, 203 insertions, 0 deletions
diff --git a/comm/mailnews/news/test/unit/postings/auto-add/post1.eml b/comm/mailnews/news/test/unit/postings/auto-add/post1.eml new file mode 100644 index 0000000000..9e1f3e7265 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/auto-add/post1.eml @@ -0,0 +1,14 @@ +Path: border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail +Date: Mon, 23 Jun 2008 19:58:07 +0400 +From: Normal Person <fake@acme.invalid> +User-Agent: Program/1.0 +MIME-Version: 1.0 +Newsgroups: test.filter +Subject: First post! +Content-Type: text/plain; charset=ISO-8859-1; format=flowed +Content-Transfer-Encoding: 7bit +Message-ID: <1@regular.invalid> +NNTP-Posting-Host: 127.0.0.1 +Xref: test.filter:1 + +This is the first body post. diff --git a/comm/mailnews/news/test/unit/postings/auto-add/post2.eml b/comm/mailnews/news/test/unit/postings/auto-add/post2.eml new file mode 100644 index 0000000000..d5a4591bb3 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/auto-add/post2.eml @@ -0,0 +1,14 @@ +Path: border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail +Date: Mon, 23 Jun 2008 19:58:07 +0400 +From: Normal Person <fake@acme.invalid> +User-Agent: Program/1.0 +MIME-Version: 1.0 +Newsgroups: test.filter +Subject: Odd Subject +Content-Type: text/plain; charset=ISO-8859-1; format=flowed +Content-Transfer-Encoding: 7bit +Message-ID: <2@regular.invalid> +NNTP-Posting-Host: 127.0.0.1 +Xref: test.filter:2 + +This is the second body post. diff --git a/comm/mailnews/news/test/unit/postings/auto-add/post3.eml b/comm/mailnews/news/test/unit/postings/auto-add/post3.eml new file mode 100644 index 0000000000..fdfc2d69c1 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/auto-add/post3.eml @@ -0,0 +1,14 @@ +Path: border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail +Date: Mon, 23 Jun 2008 19:58:07 +0400 +From: Odd Person <fake@acme.invalid> +User-Agent: Program/1.0 +MIME-Version: 1.0 +Newsgroups: test.filter +Subject: Regular subject +Content-Type: text/plain; charset=ISO-8859-1; format=flowed +Content-Transfer-Encoding: 7bit +Message-ID: <3@regular.invalid> +NNTP-Posting-Host: 127.0.0.1 +Xref: test.filter:3 + +This is the third body post. diff --git a/comm/mailnews/news/test/unit/postings/auto-add/post4.eml b/comm/mailnews/news/test/unit/postings/auto-add/post4.eml new file mode 100644 index 0000000000..11a53b7035 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/auto-add/post4.eml @@ -0,0 +1,14 @@ +Path: border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail +Date: Sat, 1 Jan 2000 19:58:07 +0400 +From: Normal Person <fake@acme.invalid> +User-Agent: Program/1.0 +MIME-Version: 1.0 +Newsgroups: test.filter +Subject: Regular subject +Content-Type: text/plain; charset=ISO-8859-1; format=flowed +Content-Transfer-Encoding: 7bit +Message-ID: <4@regular.invalid> +NNTP-Posting-Host: 127.0.0.1 +Xref: test.filter:4 + +This is the fourth body post. diff --git a/comm/mailnews/news/test/unit/postings/auto-add/post5.eml b/comm/mailnews/news/test/unit/postings/auto-add/post5.eml new file mode 100644 index 0000000000..55ba89c022 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/auto-add/post5.eml @@ -0,0 +1,50 @@ +Path: border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail +Date: Mon, 23 Jun 2008 19:58:07 +0400 +From: Normal Person <fake@acme.invalid> +User-Agent: Program/1.0 +MIME-Version: 1.0 +Newsgroups: test.filter +Subject: Regular subject +Content-Type: text/plain; charset=ISO-8859-1; format=flowed +Content-Transfer-Encoding: 7bit +Message-ID: <5@regular.invalid> +NNTP-Posting-Host: 127.0.0.1 +Xref: test.filter:5 +Bytes: 2057 + +This is the fifth body post, with extra special padding to make sure +that no one else has the same length as it. You see, we have to ensure +that we have at least two KB of data because search is stupid and +searches in terms of KB. If we didn't, we'd be stuck with a lot of +messages merely matching 1, so we use this to pad the size. + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod +tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim +veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea +commodo consequat. Duis aute irure dolor in reprehenderit in voluptate +velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint +occaecat cupidatat non proident, sunt in culpa qui officia deserunt +mollit anim id est laborum. + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod +tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim +veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea +commodo consequat. Duis aute irure dolor in reprehenderit in voluptate +velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint +occaecat cupidatat non proident, sunt in culpa qui officia deserunt +mollit anim id est laborum. + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod +tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim +veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea +commodo consequat. Duis aute irure dolor in reprehenderit in voluptate +velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint +occaecat cupidatat non proident, sunt in culpa qui officia deserunt +mollit anim id est laborum. + +. + +But that wasn't all :-) + +-- +A signature for the heck of it. diff --git a/comm/mailnews/news/test/unit/postings/auto-add/post6.eml b/comm/mailnews/news/test/unit/postings/auto-add/post6.eml new file mode 100644 index 0000000000..fe9d536203 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/auto-add/post6.eml @@ -0,0 +1,14 @@ +Path: border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail +Date: Mon, 23 Jun 2008 19:58:07 +0400 +From: Normal Person <fake@acme.invalid> +User-Agent: Program/1.0 +MIME-Version: 1.0 +Newsgroups: test.filter +Subject: Regular subject +Content-Type: text/plain; charset=ISO-8859-1; format=flowed +Content-Transfer-Encoding: 7bit +Message-ID: <6.odd@regular.invalid> +NNTP-Posting-Host: 127.0.0.1 +Xref: test.filter:6 + +This is the sixth body post. diff --git a/comm/mailnews/news/test/unit/postings/auto-add/post7.eml b/comm/mailnews/news/test/unit/postings/auto-add/post7.eml new file mode 100644 index 0000000000..f12b708a9d --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/auto-add/post7.eml @@ -0,0 +1,14 @@ +Path: border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail +Date: Mon, 23 Jun 2008 19:58:07 +0400 +From: Normal Person <fake@acme.invalid> +User-Agent: Odd/1.0 +MIME-Version: 1.0 +Newsgroups: test.filter +Subject: Regular subject +Content-Type: text/plain; charset=ISO-8859-1; format=flowed +Content-Transfer-Encoding: 7bit +Message-ID: <7@regular.invalid> +NNTP-Posting-Host: 127.0.0.1 +Xref: test.filter:7 + +This is the seventh body post. diff --git a/comm/mailnews/news/test/unit/postings/auto-add/post8.eml b/comm/mailnews/news/test/unit/postings/auto-add/post8.eml new file mode 100644 index 0000000000..265b1f5a4a --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/auto-add/post8.eml @@ -0,0 +1,14 @@ +Path: border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail +Date: Mon, 23 Jun 2008 19:58:07 +0400 +From: Normal Person <fake@acme.invalid> +User-Agent: Odd/1.0 +MIME-Version: 1.0 +Newsgroups: test.filter +Subject: Regular subject +Content-Type: text/plain; charset=ISO-8859-1; format=flowed +Content-Transfer-Encoding: 7bit +Message-ID: <8.unread@regular.invalid> +NNTP-Posting-Host: 127.0.0.1 +Xref: test.filter:8 + +This is the eight body post. diff --git a/comm/mailnews/news/test/unit/postings/bug403242.eml b/comm/mailnews/news/test/unit/postings/bug403242.eml new file mode 100644 index 0000000000..741ccf8624 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/bug403242.eml @@ -0,0 +1,25 @@ +Message-ID: <89550684-f0df-4e9a-aea6-07645e238dd2> +Subject: Attachment test +From: =?ISO-8859-1?Q?Marcin_Miko=3Fajczak?= <marcin.mikolajczak@hotmail.invalid> +Date: 2007-11-09 18:37:09 +Newsgroups: test1 +Content-Type: multipart/mixed; boundary="------------060805070701070202060104" +MIME-Version: 1.0 +User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 + +This is a multi-part message in MIME format. +--------------060805070701070202060104 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 7bit + +This message has an attachment. + +--------------060805070701070202060104 +Content-Type: text/plain; + name="Test.txt" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="Test.txt" + +VGhpcyBpcyBhIHRlc3QgYXR0YWNobWVudC4= +--------------060805070701070202060104-- diff --git a/comm/mailnews/news/test/unit/postings/bug670935.eml b/comm/mailnews/news/test/unit/postings/bug670935.eml new file mode 100644 index 0000000000..7762586a2f --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/bug670935.eml @@ -0,0 +1,7 @@ +From: Robert Kagan <Robert.Kagan@test.invalid> +Date: Fri, 24 Mar 1989 00:04:18 -0900 +Newsgroups: test.malformed&name +Subject: I think we have a problem + +This is an automated report. There may be some structural damage in +sectors 10 and 9. Please respond to confirm. diff --git a/comm/mailnews/news/test/unit/postings/post1.eml b/comm/mailnews/news/test/unit/postings/post1.eml new file mode 100644 index 0000000000..b767aca453 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/post1.eml @@ -0,0 +1,7 @@ +From: Robert Kagan <Robert.Kagan@test.invalid> +Date: Fri, 24 Mar 1989 00:04:18 -0900 +Newsgroups: test.news.problems test.news.fictional +Subject: I think we have a problem + +This is an automated report. There may be some structural damage in +sectors 10 and 9. Please respond to confirm. diff --git a/comm/mailnews/news/test/unit/postings/post2.eml b/comm/mailnews/news/test/unit/postings/post2.eml new file mode 100644 index 0000000000..c64818c6df --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/post2.eml @@ -0,0 +1,6 @@ +From: "Demo User" <nobody@example.net> +Newsgroups: misc.test +Subject: I am just a test article +Organization: An Example Net + +This is just a test article. diff --git a/comm/mailnews/news/test/unit/postings/post3.eml b/comm/mailnews/news/test/unit/postings/post3.eml new file mode 100644 index 0000000000..7769fbf3d7 --- /dev/null +++ b/comm/mailnews/news/test/unit/postings/post3.eml @@ -0,0 +1,10 @@ +From: "Demo User" <nobody@example.net> +Message-ID: <2@dot.invalid> +Newsgroups: dot.test +Subject: Bug 170727: Test article with dots + +. 1 dot +.. 2 dots + .indented dot +. +no - that wasn't the end of the message! |