[gegl] tests: Comment out unused test functions



commit 41e67783d89fe342276a3dcee5866877513b2759
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Tue Nov 19 12:24:35 2013 -0800

    tests: Comment out unused test functions
    
    Due to unused static function warnings.

 tests/xml/common.c    |    7 +++++--
 tests/xml/test-load.c |    3 ++-
 tests/xml/test-save.c |    3 ++-
 3 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/tests/xml/common.c b/tests/xml/common.c
index a0b63c3..f4e4713 100644
--- a/tests/xml/common.c
+++ b/tests/xml/common.c
@@ -24,8 +24,11 @@
  *
  * It would be better to use a proper xml parser and/or xpath,
  * but we don't want to have more dependencies than
- * GEGL itself, to ensure that the tests are always available. */
-static void
+ * GEGL itself, to ensure that the tests are always available.
+ */
+void assert_equivalent_xml (const gchar *actual, const gchar *expected);
+
+void
 assert_equivalent_xml(const gchar *actual, const gchar *expected)
 {
        gboolean equal;
diff --git a/tests/xml/test-load.c b/tests/xml/test-load.c
index 1a90fb1..7f83e0b 100644
--- a/tests/xml/test-load.c
+++ b/tests/xml/test-load.c
@@ -92,6 +92,7 @@ test_load_multiple_nodes (void)
 }
 
 
+#if 0
 /* Test that loading a subgraph works */
 static void
 test_load_subgraph (void)
@@ -154,7 +155,7 @@ test_load_subgraph (void)
        g_slist_free(toplevel_children);
     g_object_unref(graph);
 }
-
+#endif
 
 int
 main (int argc, char *argv[])
diff --git a/tests/xml/test-save.c b/tests/xml/test-save.c
index e57c552..d8944a0 100644
--- a/tests/xml/test-save.c
+++ b/tests/xml/test-save.c
@@ -107,6 +107,7 @@ test_save_multiple_nodes (void)
 }
 
 
+#if 0
 /* Test that saving a subgraph works */
 static void
 test_save_toplevel_graph (void)
@@ -144,7 +145,7 @@ test_save_toplevel_graph (void)
     g_object_unref(graph);
     g_free(xml);
 }
-
+#endif
 
 int
 main (int argc, char *argv[])


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