tests: add tests for GDesktopAppInfo Implements=

https://bugzilla.gnome.org/show_bug.cgi?id=712391
This commit is contained in:
Ryan Lortie
2013-11-15 14:44:33 -05:00
parent 0b27719293
commit 880e8e8cb2
6 changed files with 49 additions and 1 deletions

View File

@@ -51,6 +51,13 @@ main (int argc, char **argv)
}
g_free (results);
}
else if (g_str_equal (argv[1], "implementations"))
{
GList *results;
results = g_desktop_app_info_get_implementations (argv[2]);
print_app_list (results);
}
else if (g_str_equal (argv[1], "show-info"))
{
GAppInfo *info;