[glib/1798-freebsd-test] WIP
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/1798-freebsd-test] WIP
- Date: Mon, 3 Jun 2019 16:44:46 +0000 (UTC)
commit cb738cbd4e57375e12b6f50c2651aab15bd113ea
Author: Philip Withnall <withnall endlessm com>
Date: Mon Jun 3 17:44:25 2019 +0100
WIP
Signed-off-by: Philip Withnall <withnall endlessm com>
gio/tests/contenttype.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/gio/tests/contenttype.c b/gio/tests/contenttype.c
index 2424b8e5f..34e1ede91 100644
--- a/gio/tests/contenttype.c
+++ b/gio/tests/contenttype.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]