Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: chrome/browser/bookmarks/bookmark_utils_unittest.cc

Issue 184663002: Omnibox: Make URLs of Bookmarks Searchable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ALL_MATCHES (in response to recent changes) Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/bookmarks/bookmark_utils_unittest.cc
diff --git a/chrome/browser/bookmarks/bookmark_utils_unittest.cc b/chrome/browser/bookmarks/bookmark_utils_unittest.cc
index cfbf4003b8ce6d3f87cb983ed9787ae2c076660a..428fa1b0168a86226773b4b818167e7a4ac170a2 100644
--- a/chrome/browser/bookmarks/bookmark_utils_unittest.cc
+++ b/chrome/browser/bookmarks/bookmark_utils_unittest.cc
@@ -70,7 +70,7 @@ class BookmarkUtilsTest : public testing::Test,
};
TEST_F(BookmarkUtilsTest, GetBookmarksMatchingPropertiesWordPhraseQuery) {
- BookmarkModel model(NULL);
+ BookmarkModel model(NULL, false);
const BookmarkNode* node1 = model.AddURL(model.other_node(),
0,
ASCIIToUTF16("foo bar"),
@@ -128,7 +128,7 @@ TEST_F(BookmarkUtilsTest, GetBookmarksMatchingPropertiesWordPhraseQuery) {
// Check exact matching against a URL query.
TEST_F(BookmarkUtilsTest, GetBookmarksMatchingPropertiesUrl) {
- BookmarkModel model(NULL);
+ BookmarkModel model(NULL, false);
const BookmarkNode* node1 = model.AddURL(model.other_node(),
0,
ASCIIToUTF16("Google"),
@@ -163,7 +163,7 @@ TEST_F(BookmarkUtilsTest, GetBookmarksMatchingPropertiesUrl) {
// Check exact matching against a title query.
TEST_F(BookmarkUtilsTest, GetBookmarksMatchingPropertiesTitle) {
- BookmarkModel model(NULL);
+ BookmarkModel model(NULL, false);
const BookmarkNode* node1 = model.AddURL(model.other_node(),
0,
ASCIIToUTF16("Google"),
@@ -200,7 +200,7 @@ TEST_F(BookmarkUtilsTest, GetBookmarksMatchingPropertiesTitle) {
// Check matching against a query with multiple predicates.
TEST_F(BookmarkUtilsTest, GetBookmarksMatchingPropertiesConjunction) {
- BookmarkModel model(NULL);
+ BookmarkModel model(NULL, false);
const BookmarkNode* node1 = model.AddURL(model.other_node(),
0,
ASCIIToUTF16("Google"),
@@ -249,7 +249,7 @@ TEST_F(BookmarkUtilsTest, GetBookmarksMatchingPropertiesConjunction) {
}
TEST_F(BookmarkUtilsTest, CopyPaste) {
- BookmarkModel model(NULL);
+ BookmarkModel model(NULL, false);
const BookmarkNode* node = model.AddURL(model.other_node(),
0,
ASCIIToUTF16("foo bar"),
@@ -276,7 +276,7 @@ TEST_F(BookmarkUtilsTest, CopyPaste) {
}
TEST_F(BookmarkUtilsTest, CutToClipboard) {
- BookmarkModel model(NULL);
+ BookmarkModel model(NULL, false);
model.AddObserver(this);
base::string16 title(ASCIIToUTF16("foo"));
@@ -301,7 +301,7 @@ TEST_F(BookmarkUtilsTest, CutToClipboard) {
}
TEST_F(BookmarkUtilsTest, GetParentForNewNodes) {
- BookmarkModel model(NULL);
+ BookmarkModel model(NULL, false);
// This tests the case where selection contains one item and that item is a
// folder.
std::vector<const BookmarkNode*> nodes;
@@ -342,7 +342,7 @@ TEST_F(BookmarkUtilsTest, GetParentForNewNodes) {
// Verifies that meta info is copied when nodes are cloned.
TEST_F(BookmarkUtilsTest, CloneMetaInfo) {
- BookmarkModel model(NULL);
+ BookmarkModel model(NULL, false);
// Add a node containing meta info.
const BookmarkNode* node = model.AddURL(model.other_node(),
0,
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698