Lines Matching refs:store
103 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_);
105 ASSERT_TRUE(gtk_tree_model_get_iter_first(store, &toplevel));
107 ASSERT_TRUE(gtk_tree_model_iter_next(store, &toplevel));
109 ASSERT_FALSE(gtk_tree_model_iter_next(store, &toplevel));
114 ASSERT_EQ(2, gtk_tree_model_iter_n_children(store, &bookmark_bar_node));
115 ASSERT_TRUE(gtk_tree_model_iter_children(store, &child, &bookmark_bar_node));
117 ASSERT_EQ("F1", UTF16ToUTF8(GetTitleFromTreeIter(store, &child)));
118 ASSERT_TRUE(gtk_tree_model_iter_next(store, &child));
119 ASSERT_EQ("F2", UTF16ToUTF8(GetTitleFromTreeIter(store, &child)));
120 ASSERT_FALSE(gtk_tree_model_iter_next(store, &child));
123 ASSERT_EQ(1, gtk_tree_model_iter_n_children(store, &f1_iter));
124 ASSERT_TRUE(gtk_tree_model_iter_children(store, &child, &f1_iter));
125 ASSERT_EQ("F11", UTF16ToUTF8(GetTitleFromTreeIter(store, &child)));
126 ASSERT_FALSE(gtk_tree_model_iter_next(store, &child));
129 ASSERT_EQ(1, gtk_tree_model_iter_n_children(store, &other_node));
130 ASSERT_TRUE(gtk_tree_model_iter_children(store, &child, &other_node));
131 ASSERT_EQ("OF1", UTF16ToUTF8(GetTitleFromTreeIter(store, &child)));
132 ASSERT_FALSE(gtk_tree_model_iter_next(store, &child));
143 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_);
144 ASSERT_TRUE(gtk_tree_model_get_iter_first(store, &bookmark_bar_node));
164 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_);
165 ASSERT_TRUE(gtk_tree_model_get_iter_first(store, &bookmark_bar_node));
182 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_);
184 ASSERT_TRUE(gtk_tree_model_get_iter_first(store, >k_other_node));
185 ASSERT_TRUE(gtk_tree_model_iter_next(store, >k_other_node));
204 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_);
206 ASSERT_TRUE(gtk_tree_model_get_iter_first(store, >k_other_node));
207 ASSERT_TRUE(gtk_tree_model_iter_next(store, >k_other_node));
223 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_);
224 ASSERT_TRUE(gtk_tree_model_get_iter_first(store, &bookmark_bar_node));
228 ASSERT_EQ(2, gtk_tree_model_iter_n_children(store, &bookmark_bar_node));
229 ASSERT_TRUE(gtk_tree_model_iter_children(store, &f2_iter,
231 ASSERT_TRUE(gtk_tree_model_iter_next(store, &f2_iter));
243 ASSERT_EQ(1, gtk_tree_model_iter_n_children(store, &f2_iter));
275 GtkTreeModel* store = GTK_TREE_MODEL(editor.tree_store_);
276 ASSERT_TRUE(gtk_tree_model_get_iter_first(store, &bookmark_bar_node));