Lines Matching refs:FOLDER
39 // a new folder/bookmark or updating a title of a folder/bookmark.
68 // a new folder/bookmark or updating a title of a folder/bookmark.
446 ASSERT_EQ(BookmarkNode::FOLDER, new_node->type());
452 // Add another folder, just to make sure folder_ids are incremented correctly.
471 EXPECT_EQ(BookmarkNode::FOLDER, new_node->type());
493 const BookmarkNode* folder = model_->AddFolder(root, 0, ASCIIToUTF16("foo"));
500 model_->AddURL(folder, 0, title, url);
504 // Now remove the folder.
524 // Add a folder with child URL.
525 const BookmarkNode* folder = model_->AddFolder(bookmark_bar_node, 0, title);
526 model_->AddURL(folder, 0, title, url);
618 // And remove the folder.
652 // Copy 'd' to be after '1:b': URL item from bar to folder.
659 // Copy '1:d' to be after 'a': URL item from folder to bar.
660 const BookmarkNode* folder = root->GetChild(1);
661 node_to_copy = folder->GetChild(1);
666 // Copy '1' to be after '2:e': Folder from bar to folder.
674 // Copy '2:1' to be after '2:f': Folder within same folder.
675 folder = root->GetChild(4);
676 node_to_copy = folder->GetChild(1);
677 model_->Copy(node_to_copy, folder, 3);
689 // Copy '2' to be after 'a': Folder within the bar.
698 // Tests that adding a URL to a folder updates the last modified time.
709 // Tests that adding a URL to a folder updates the last modified time.
722 // Add a folder.
723 const BookmarkNode* folder =
726 model_->AddURL(folder, 0, ASCIIToUTF16("blah"), GURL("http://foo.com"));
728 // Make sure folder is in the most recently modified.
732 ASSERT_EQ(folder, most_recent_folders[0]);
734 // Nuke the folder and do another fetch, making sure folder isn't in the
736 model_->Remove(folder->parent(), 0);
740 ASSERT_TRUE(most_recent_folders[0] != folder);
847 // Create a new folder and recurse to add all the children.
854 BookmarkNode::FOLDER);
858 // End the current folder.
877 // ] : closes the last folder created by [ so that any further nodes are added
884 // In words: a node of type URL with the title a, followed by a folder node with
903 if (child->value == BookmarkNode::FOLDER) {
928 if (expected_child->value == BookmarkNode::FOLDER) {
929 ASSERT_TRUE(actual_child->type() == BookmarkNode::FOLDER);
1077 // Mobile folder should be visible now that it has a child.