mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +01:00
WIP
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
41f68f8b19
commit
cb738cbd4e
@ -328,9 +328,15 @@ test_tree (void)
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (tests); i++)
|
||||
{
|
||||
g_message ("loop %d", i);
|
||||
path = g_test_get_filename (G_TEST_DIST, tests[i], NULL);
|
||||
g_message ("path = %s", path);
|
||||
file = g_file_new_for_path (path);
|
||||
g_message ("file = %p", file);
|
||||
types = g_content_type_guess_for_tree (file);
|
||||
g_message ("types = %p", types);
|
||||
if (types != NULL)
|
||||
g_message ("types[0] = %s", types[0]);
|
||||
g_assert_content_type_equals (types[0], tests[i]);
|
||||
g_strfreev (types);
|
||||
g_object_unref (file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user