gio/tests: Some more fixes for installed tests

file passes now, appinfo needs a bit more work, but is getting
there.
This commit is contained in:
Colin Walters
2013-05-20 21:33:00 +01:00
parent bdf383dcd6
commit 1a398b2e56
3 changed files with 35 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
#include <locale.h>
#include <string.h>
#include <gio/gio.h>
#include <gio/gdesktopappinfo.h>
@@ -113,7 +114,7 @@ test_basic (void)
g_free (path);
g_assert_cmpstr (g_app_info_get_id (appinfo), ==, "appinfo-test.desktop");
g_assert_cmpstr (g_app_info_get_executable (appinfo), ==, "./appinfo-test");
g_assert (strstr (g_app_info_get_executable (appinfo), "appinfo-test") != NULL);
icon = g_app_info_get_icon (appinfo);
g_assert (G_IS_THEMED_ICON (icon));