[gtk+] Have a separate category for tests of gtk_tree_model_filter_row_deleted



commit 5bd3c52c0f31d27b97e9f99e9730680b7b13e225
Author: Kristian Rietveld <kris gtk org>
Date:   Sat May 14 14:50:07 2011 +0200

    Have a separate category for tests of gtk_tree_model_filter_row_deleted

 gtk/tests/filtermodel.c |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/gtk/tests/filtermodel.c b/gtk/tests/filtermodel.c
index ce75ec4..f82bbe9 100644
--- a/gtk/tests/filtermodel.c
+++ b/gtk/tests/filtermodel.c
@@ -1968,7 +1968,7 @@ insert_child (void)
 
 
 static void
-specific_remove_node (void)
+remove_node (void)
 {
   GtkTreeIter iter, iter1, iter2, iter3;
   GtkListStore *list;
@@ -1994,7 +1994,7 @@ specific_remove_node (void)
 }
 
 static void
-specific_remove_node_vroot (void)
+remove_node_vroot (void)
 {
   GtkTreeIter parent, root;
   GtkTreeIter iter, iter1, iter2, iter3;
@@ -2028,7 +2028,7 @@ specific_remove_node_vroot (void)
 }
 
 static void
-specific_remove_vroot_ancestor (void)
+remove_vroot_ancestor (void)
 {
   GtkTreeIter parent, root;
   GtkTreeIter iter, iter1, iter2, iter3;
@@ -3288,12 +3288,14 @@ register_filter_model_tests (void)
   g_test_add_func ("/TreeModelFilter/insert/child",
                    insert_child);
 
-  g_test_add_func ("/TreeModelFilter/specific/remove-node",
-                   specific_remove_node);
-  g_test_add_func ("/TreeModelFilter/specific/remove-node-vroot",
-                   specific_remove_node_vroot);
-  g_test_add_func ("/TreeModelFilter/specific/remove-vroot-ancestor",
-                   specific_remove_vroot_ancestor);
+  /* Removals from child model after creating of filter model */
+  g_test_add_func ("/TreeModelFilter/remove/node",
+                   remove_node);
+  g_test_add_func ("/TreeModelFilter/remove/node-vroot",
+                   remove_node_vroot);
+  g_test_add_func ("/TreeModelFilter/remove/vroot-ancestor",
+                   remove_vroot_ancestor);
+
 
   g_test_add_func ("/TreeModelFilter/specific/path-dependent-filter",
                    specific_path_dependent_filter);



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