summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-06-11 16:01:44 +0000
committerBastien Nocera <hadess@hadess.net>2008-06-11 16:01:44 +0000
commit06f84b92a60dc4ba482151da12bc0ec8ab8b7c05 (patch)
treea67fdeef86e55c9b70e642f55c340f3e2f378a00 /tests
parent9059f60c49d2f8533ba999027bf71acc59f42249 (diff)
downloadshared-mime-info-06f84b92a60dc4ba482151da12bc0ec8ab8b7c05.tar.gz
* freedesktop.org.xml.in: Add "Subject: " as a match
for message/rfc822 mime-types * tests/evo.msg: Remove, it was unused * tests/list: * tests/evolution.eml: * tests/tb-from-sentbox.eml: * tests/tb-saved.eml: Add some message test cases
Diffstat (limited to 'tests')
-rw-r--r--tests/evo.msg21
-rw-r--r--tests/evolution.eml17
-rw-r--r--tests/list4
-rw-r--r--tests/tb-from-sentbox.eml19
-rw-r--r--tests/tb-saved.eml19
5 files changed, 59 insertions, 21 deletions
diff --git a/tests/evo.msg b/tests/evo.msg
deleted file mode 100644
index 98959f73..00000000
--- a/tests/evo.msg
+++ /dev/null
@@ -1,21 +0,0 @@
-From mclasen@redhat.com Mon Oct 17 00:13:50 2005
-Subject: more FT_INTERNAL removal
-From: Matthias Clasen <mclasen@redhat.com>
-To: freetype-devel@nongnu.org
-Content-Type: text/plain
-Message-Id: <1129522427.2503.4.camel@c-24-218-204-47.hsd1.ma.comcast.net>
-Mime-Version: 1.0
-X-Mailer: Evolution 2.4.0 (2.4.0-2)
-Date: Mon, 17 Oct 2005 00:13:50 -0400
-X-Evolution-Format: text/plain
-X-Evolution-Account: 1096119554.21784.0@x1-6-00-50-fc-70-9f-e0
-X-Evolution-Transport: smtp://mclasen@localhost:2226/;use_ssl=when-possible
-X-Evolution-Fcc: email://local@local/Sent
-Content-Transfer-Encoding: 8bit
-
-I have written a patch to make fontconfig no longer use FT_INTERNAL
-headers, by copying the ftglue code found in Pango. The patch is at
-https://bugs.freedesktop.org/show_bug.cgi?id=4779
-
-
-Matthias
diff --git a/tests/evolution.eml b/tests/evolution.eml
new file mode 100644
index 00000000..cd3480ba
--- /dev/null
+++ b/tests/evolution.eml
@@ -0,0 +1,17 @@
+From user1@server.net Fri Apr 25 22:12:15 2008
+Subject: Re: something
+From: user1 <user1@server.net>
+To: user2 <user2@server.be>
+Cc: ubuntu-devel-discuss@lists.ubuntu.com
+In-Reply-To: <1209066303.6151.268.camel@saeko.local>
+References: <1208716503.7231.5.camel@milan>
+ <1209066303.6151.268.camel@saeko.local>
+Content-Type: text/plain; charset=utf-8
+Message-Id: <1209154204.13117.0.camel@milan>
+Mime-Version: 1.0
+X-Mailer: Evolution 2.22.1
+Date: Fri, 25 Apr 2008 22:12:15 +0200
+X-Evolution-Format: text/plain
+Content-Transfer-Encoding: 8bit
+
+[hidden text...]
diff --git a/tests/list b/tests/list
index cdcf35e9..35260255 100644
--- a/tests/list
+++ b/tests/list
@@ -106,6 +106,10 @@ test.iptables text/x-iptables
test-vpn.pcf application/x-cisco-vpn-settings x
# Copied from https://bugs.freedesktop.org/show_bug.cgi?id=16228
test.php application/x-php
+# The 3 below copied from https://bugs.freedesktop.org/show_bug.cgi?id=15810
+evolution.eml application/mbox x
+tb-from-sentbox.eml message/rfc822 x
+tb-saved.eml message/rfc822 x
# xml subtypes
test.ttx application/x-font-ttx
diff --git a/tests/tb-from-sentbox.eml b/tests/tb-from-sentbox.eml
new file mode 100644
index 00000000..fc98824a
--- /dev/null
+++ b/tests/tb-from-sentbox.eml
@@ -0,0 +1,19 @@
+Subject: Re: something
+From: user2 <user2@club.fr>
+To: user1 <user1@server.be>
+Cc: ubuntu-devel-discuss@lists.ubuntu.com
+In-Reply-To: <1209066303.6151.268.camel@saeko.local>
+References: <1208716503.7231.5.camel@milan>
+ <1209066303.6151.268.camel@saeko.local>
+Content-Type: text/plain; charset=utf-8
+Message-Id: <1209154204.13117.0.camel@milan>
+Mime-Version: 1.0
+X-Mailer: Evolution 2.22.1
+Date: Fri, 25 Apr 2008 22:12:15 +0200
+X-Evolution-Format: text/plain
+Content-Transfer-Encoding: quoted-printable
+Status:
+X-Mmail: \Seen
+X-M-Uid: 77798.1209154336
+
+[hidden text...]
diff --git a/tests/tb-saved.eml b/tests/tb-saved.eml
new file mode 100644
index 00000000..b9bd35b0
--- /dev/null
+++ b/tests/tb-saved.eml
@@ -0,0 +1,19 @@
+Received: from [192.168.88.50] (i03v-213-44-177-152.d4.club-internet.fr [213.44.177.152])
+ by relay-av.club-internet.fr (Postfix) with ESMTP id A042325612
+ for <user2@club.fr>; Wed, 30 Apr 2008 19:23:11 +0200 (CEST)
+Message-ID: <4818AAFF.7000006@club.fr>
+Date: Wed, 30 Apr 2008 19:23:11 +0200
+From: user@server.net
+User-Agent: Thunderbird 2.0.0.12 (X11/20080227)
+MIME-Version: 1.0
+To: XXX <user2@club.fr>
+Subject: (pas de sujet)
+Content-Type: text/plain; charset=ISO-8859-1; format=flowed
+Content-Transfer-Encoding: quoted-printable
+Status: RO
+X-Mmail: \Seen
+X-M-Uid: 78116.1209576193
+
+[hidden text...]
+
+