mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user