Add bug base and bug numbers to tree model unit tests

This commit is contained in:
Kristian Rietveld 2011-05-09 08:41:29 +02:00
parent f1d791355a
commit ed603fa790
3 changed files with 18 additions and 0 deletions

View File

@ -2392,6 +2392,8 @@ specific_bug_301558 (void)
int i;
gboolean add;
g_test_bug ("301558");
tree = gtk_tree_store_new (2, G_TYPE_INT, G_TYPE_BOOLEAN);
gtk_tree_store_append (tree, &iter, NULL);
gtk_tree_store_set (tree, &iter, 0, 123, 1, TRUE, -1);
@ -2465,6 +2467,8 @@ specific_bug_311955 (void)
int i;
int n;
g_test_bug ("311955");
store = gtk_tree_store_new (1, G_TYPE_INT);
gtk_tree_store_append (store, &root, NULL);
@ -2546,6 +2550,8 @@ specific_bug_346800 (void)
store = gtk_tree_store_newv (2, columns);
model = GTK_TREE_MODEL (store);
g_test_bug ("346800");
filter = GTK_TREE_MODEL_FILTER (gtk_tree_model_filter_new (model, NULL));
gtk_tree_model_filter_set_visible_column (filter, 1);
@ -2603,6 +2609,8 @@ specific_bug_464173 (void)
GtkWidget *view G_GNUC_UNUSED;
gboolean visible = TRUE;
g_test_bug ("464173");
model = gtk_tree_store_new (1, G_TYPE_STRING);
gtk_tree_store_append (model, &iter1, NULL);
gtk_tree_store_set (model, &iter1, 0, "Foo", -1);
@ -2645,6 +2653,8 @@ specific_bug_540201 (void)
GtkWidget *tree_view G_GNUC_UNUSED;
g_test_bug ("540201");
store = gtk_tree_store_new (1, G_TYPE_INT);
gtk_tree_store_append (store, &root, NULL);
@ -2696,6 +2706,8 @@ specific_bug_549287 (void)
GtkTreeIter iter;
GtkTreeIter *swap, *parent, *child;
g_test_bug ("529287");
store = gtk_tree_store_new (1, G_TYPE_STRING);
filtered = gtk_tree_model_filter_new (GTK_TREE_MODEL (store), NULL);
gtk_tree_model_filter_set_visible_func (GTK_TREE_MODEL_FILTER (filtered),

View File

@ -31,6 +31,8 @@ specific_bug_300089 (void)
GtkTreePath *path;
GtkTreeIter iter, iter2, sort_iter;
g_test_bug ("300089");
child_model = GTK_TREE_MODEL (gtk_tree_store_new (1, G_TYPE_STRING));
gtk_tree_store_append (GTK_TREE_STORE (child_model), &iter, NULL);
@ -71,6 +73,8 @@ specific_bug_364946 (void)
GtkTreeIter a, aa, aaa, aab, iter;
GtkTreeModel *s_model;
g_test_bug ("364946");
store = gtk_tree_store_new (1, G_TYPE_STRING);
gtk_tree_store_append (store, &a, NULL);

View File

@ -27,6 +27,8 @@ main (int argc,
{
gtk_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
register_list_store_tests ();
register_tree_store_tests ();
register_sort_model_tests ();