[glib] Improve GResourceFile test coverage



commit 2299bcd88d7bc99e787b4ee878355e6eddb778ca
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 24 00:06:00 2013 -0500

    Improve GResourceFile test coverage

 gio/tests/resources.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/resources.c b/gio/tests/resources.c
index 5cad1e4..f7c7a48 100644
--- a/gio/tests/resources.c
+++ b/gio/tests/resources.c
@@ -477,6 +477,8 @@ test_uri_query_info (void)
 
   g_object_unref (info);
 
+  g_assert_cmpuint  (g_file_hash (file), !=, 0);
+
   g_object_unref (file);
 
   g_resources_unregister (resource);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]