mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Make tests work with current shared-mime-info
svn path=/trunk/; revision=7783
This commit is contained in:
parent
2479abee27
commit
a6b965efa1
@ -1,3 +1,7 @@
|
||||
2009-01-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* xdgmime/test-mime.c: Make tests work with current shared-mime-info.
|
||||
|
||||
2009-01-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 566770 – error code 0 for Too many open files is useless
|
||||
|
@ -74,7 +74,7 @@ test_alias (const char *mime_a,
|
||||
static void
|
||||
test_aliasing (void)
|
||||
{
|
||||
test_alias ("application/wordperfect", "application/vnd.wordperfect", 1);
|
||||
test_alias ("application/x-wordperfect", "application/vnd.wordperfect", 1);
|
||||
test_alias ("application/x-gnome-app-info", "application/x-desktop", 1);
|
||||
test_alias ("application/x-wordperfect", "application/vnd.wordperfect", 1);
|
||||
test_alias ("application/x-wordperfect", "audio/x-midi", 0);
|
||||
@ -151,7 +151,7 @@ test_one_icon (const char *mimetype, const char *expected)
|
||||
{
|
||||
const char *actual;
|
||||
|
||||
actual = xdg_mime_get_icon (mimetype);
|
||||
actual = xdg_mime_get_generic_icon (mimetype);
|
||||
|
||||
if (actual != expected && strcmp (actual, expected) != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user