Home
last modified time | relevance | path

Searched refs:AddURL (Results 1 – 25 of 149) sorted by relevance

123456

/external/chromium_org/chrome/browser/sync/test/integration/
Dsingle_client_bookmarks_sync_test.cc12 using bookmarks_helper::AddURL;
64 const BookmarkNode* tier1_a_url0 = AddURL( in IN_PROC_BROWSER_TEST_F()
66 const BookmarkNode* tier1_a_url1 = AddURL( in IN_PROC_BROWSER_TEST_F()
68 const BookmarkNode* tier1_a_url2 = AddURL( in IN_PROC_BROWSER_TEST_F()
70 const BookmarkNode* tier1_b_url0 = AddURL( in IN_PROC_BROWSER_TEST_F()
100 const BookmarkNode* cnn = AddURL(0, bar, 0, L"CNN", in IN_PROC_BROWSER_TEST_F()
109 const BookmarkNode* porsche = AddURL(0, bar, 2, L"Porsche", in IN_PROC_BROWSER_TEST_F()
123 const BookmarkNode* boa = AddURL(0, bar, bar->child_count(), in IN_PROC_BROWSER_TEST_F()
127 const BookmarkNode* bubble = AddURL( in IN_PROC_BROWSER_TEST_F()
131 const BookmarkNode* wired = AddURL(0, bar, 2, L"Wired News", in IN_PROC_BROWSER_TEST_F()
[all …]
Dtwo_client_bookmarks_sync_test.cc15 using bookmarks_helper::AddURL;
63 ASSERT_TRUE(AddURL(0, L"Google", google_url) != NULL); in IN_PROC_BROWSER_TEST_F()
65 ASSERT_TRUE(AddURL(1, L"Yahoo", GURL("http://www.yahoo.com")) != NULL); in IN_PROC_BROWSER_TEST_F()
72 ASSERT_TRUE(AddURL(0, GetBookmarkBarNode(0), 1, L"CNN", in IN_PROC_BROWSER_TEST_F()
77 ASSERT_TRUE(AddURL(1, L"Facebook", GURL("http://www.facebook.com")) != NULL); in IN_PROC_BROWSER_TEST_F()
101 ASSERT_TRUE(AddURL(0, title, initial_url) != NULL); in IN_PROC_BROWSER_TEST_F()
133 ASSERT_TRUE(AddURL(0, kGenericURLTitle, GURL(kGenericURL)) != NULL); in IN_PROC_BROWSER_TEST_F()
146 const BookmarkNode* bookmark = AddURL(0, kGenericURLTitle, page_url); in IN_PROC_BROWSER_TEST_F()
177 const BookmarkNode* bookmark0 = AddURL(0, kGenericURLTitle, page_url); in IN_PROC_BROWSER_TEST_F()
202 ASSERT_TRUE(AddURL( in IN_PROC_BROWSER_TEST_F()
[all …]
Dcross_platform_sync_test.cc10 using bookmarks_helper::AddURL;
28 ASSERT_TRUE(AddURL(0, L"Google", GURL("http://www.google.co.uk"))); in IN_PROC_BROWSER_TEST_F()
Dmultiple_client_bookmarks_sync_test.cc10 using bookmarks_helper::AddURL;
26 ASSERT_TRUE(AddURL(i, base::StringPrintf(L"Google URL %d", i), in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/visitedlink/
Dvisitedlink_unittest.cc198 master_->AddURL(TestURL(i)); in TEST_F()
252 master_->AddURL(TestURL(i)); in TEST_F()
259 master_->AddURL(url); in TEST_F()
283 master_->AddURL(TestURL(i)); in TEST_F()
334 master_->AddURL(TestURL(i)); in TEST_F()
388 master_->AddURL(TestURL(i)); in TEST_F()
391 master_->AddURL(TestURL(g_test_count)); in TEST_F()
419 master_->AddURL(TestURL(i)); in TEST_F()
436 master_->AddURL(TestURL(i)); in TEST_F()
631 master->AddURL(GURL("http://acidtests.org/")); in TEST_F()
[all …]
/external/chromium_org/components/precache/core/
Dprecache_url_table_unittest.cc38 precache_url_table_->AddURL(GURL("http://url.com"), kTime); in TEST_F()
51 precache_url_table_->AddURL(GURL("http://url.com"), kOldTime); in TEST_F()
52 precache_url_table_->AddURL(GURL("http://url.com"), kNewTime); in TEST_F()
66 precache_url_table_->AddURL(GURL("http://stays.com"), kStaysTime); in TEST_F()
67 precache_url_table_->AddURL(GURL("http://deleted.com"), kDeletedTime); in TEST_F()
82 precache_url_table_->AddURL(GURL("http://url.com"), in TEST_F()
98 precache_url_table_->AddURL(GURL("http://old.com"), kOldTime); in TEST_F()
99 precache_url_table_->AddURL(GURL("http://before.com"), kBeforeTime); in TEST_F()
100 precache_url_table_->AddURL(GURL("http://end.com"), kEndTime); in TEST_F()
101 precache_url_table_->AddURL(GURL("http://after.com"), kAfterTime); in TEST_F()
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_ui_utils_unittest.cc22 const BookmarkNode* page1 = model.AddURL(model.bookmark_bar_node(), 0, in TEST()
37 model.AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("http://randomsite.com")); in TEST()
52 model.AddURL(subfolder1, 0, ASCIIToUTF16("BAR"), GURL("http://bar-foo.com")); in TEST()
63 const BookmarkNode* page1 = model.AddURL(model.bookmark_bar_node(), 0, in TEST()
72 const BookmarkNode* page2 = model.AddURL(model.bookmark_bar_node(), 0, in TEST()
89 model.AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("chrome://bookmarks")); in TEST()
92 model.AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("http://randomsite.com")); in TEST()
108 model.AddURL(subfolder1, 0, ASCIIToUTF16("BAR"), GURL("http://bar-foo.com")); in TEST()
/external/chromium_org/components/visitedlink/test/
Dvisitedlink_unittest.cc239 master_->AddURL(TestURL(i)); in TEST_F()
291 master_->AddURL(TestURL(i)); in TEST_F()
298 master_->AddURL(url); in TEST_F()
322 master_->AddURL(TestURL(i)); in TEST_F()
371 master_->AddURL(TestURL(i)); in TEST_F()
423 master_->AddURL(TestURL(i)); in TEST_F()
426 master_->AddURL(TestURL(g_test_count)); in TEST_F()
455 master_->AddURL(TestURL(i)); in TEST_F()
472 master_->AddURL(TestURL(i)); in TEST_F()
637 master()->AddURL(GURL("http://acidtests.org/")); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/undo/
Dbookmark_undo_service_test.cc61 model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.bar.com")); in TEST_F()
81 model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.bar.com")); in TEST_F()
112 const BookmarkNode* n1 = model->AddURL(model->other_node(), in TEST_F()
148 const BookmarkNode* n1 = model->AddURL(model->other_node(), in TEST_F()
152 const BookmarkNode* n2 = model->AddURL(model->other_node(), in TEST_F()
156 const BookmarkNode* n3 = model->AddURL(model->other_node(), in TEST_F()
181 const BookmarkNode* n1 = model->AddURL(model->other_node(), in TEST_F()
185 const BookmarkNode* n2 = model->AddURL(model->other_node(), in TEST_F()
189 const BookmarkNode* n3 = model->AddURL(model->other_node(), in TEST_F()
226 model->AddURL(f1, 0, ASCIIToUTF16("foo"), GURL("http://www.foo.com")); in TEST_F()
[all …]
/external/chromium/chrome/browser/history/
Durl_database_unittest.cc71 TEST_F(URLDatabaseTest, AddURL) { in TEST_F() argument
80 EXPECT_TRUE(AddURL(url_info1)); in TEST_F()
89 EXPECT_TRUE(AddURL(url_info2)); in TEST_F()
133 URLID url_id = AddURL(url_info1); in TEST_F()
172 URLID url_id = AddURL(url_info1); in TEST_F()
191 EXPECT_TRUE(AddURL(url_no_match)); in TEST_F()
197 EXPECT_TRUE(AddURL(url_match_visit_count)); in TEST_F()
202 EXPECT_TRUE(AddURL(url_match_typed_count)); in TEST_F()
207 EXPECT_TRUE(AddURL(url_match_last_visit)); in TEST_F()
213 EXPECT_TRUE(AddURL(url_no_match_last_visit)); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/history/
Durl_database_unittest.cc70 TEST_F(URLDatabaseTest, AddURL) { in TEST_F() argument
79 EXPECT_TRUE(AddURL(url_info1)); in TEST_F()
88 EXPECT_TRUE(AddURL(url_info2)); in TEST_F()
132 URLID url_id = AddURL(url_info1); in TEST_F()
171 URLID url_id = AddURL(url_info1); in TEST_F()
190 EXPECT_TRUE(AddURL(url_no_match)); in TEST_F()
196 EXPECT_TRUE(AddURL(url_match_visit_count)); in TEST_F()
201 EXPECT_TRUE(AddURL(url_match_typed_count)); in TEST_F()
206 EXPECT_TRUE(AddURL(url_match_last_visit)); in TEST_F()
212 EXPECT_TRUE(AddURL(url_no_match_last_visit)); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_editor_base_controller_unittest.mm44 model.AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com"));
45 model.AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com"));
46 model.AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com"));
50 model.AddURL(folder_b_0_, 0, ASCIIToUTF16("bb-0"), GURL("http://bb-0.com"));
51 model.AddURL(folder_b_, 1, ASCIIToUTF16("b-1"), GURL("http://b-1.com"));
52 model.AddURL(folder_b_, 2, ASCIIToUTF16("b-2"), GURL("http://b-2.com"));
54 model.AddURL(folder_b_3_, 0, ASCIIToUTF16("b-30"), GURL("http://b-30.com"));
55 model.AddURL(folder_b_3_, 1, ASCIIToUTF16("b-31"), GURL("http://b-31.com"));
56 model.AddURL(folder_b_, 4, ASCIIToUTF16("b-4"), GURL("http://b-4.com"));
59 model.AddURL(folder_c_, 0, ASCIIToUTF16("c-0"), GURL("http://c-0.com"));
[all …]
Dbookmark_editor_controller_unittest.mm33 const BookmarkNode* default_node = model->AddURL(default_parent_, 0,
178 const BookmarkNode* node = model->AddURL(parent, 0, default_title_,
232 model.AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com"));
233 model.AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com"));
234 model.AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com"));
237 model.AddURL(folder_b_, 0, ASCIIToUTF16("b-0"), GURL("http://b-0.com"));
239 model.AddURL(folder_bb_, 0, ASCIIToUTF16("bb-0"), GURL("http://bb-0.com"));
240 model.AddURL(folder_bb_, 1, ASCIIToUTF16("bb-1"), GURL("http://bb-1.com"));
241 model.AddURL(folder_bb_, 2, ASCIIToUTF16("bb-2"), GURL("http://bb-2.com"));
247 bookmark_bb_3_ = model.AddURL(folder_bb_, 3, ASCIIToUTF16("bb-3"),
[all …]
Dbookmark_bubble_controller_unittest.mm107 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(),
122 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(),
153 const BookmarkNode* node5 = model->AddURL(node1, 0, ASCIIToUTF16("title1"),
156 const BookmarkNode* node6 = model->AddURL(node3, 0, ASCIIToUTF16("title2"),
159 const BookmarkNode* node7 = model->AddURL(
192 const BookmarkNode* node2_1 = model->AddURL(node2, 0, ASCIIToUTF16("title1"),
218 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(),
236 const BookmarkNode* node = model->AddURL(
260 const BookmarkNode* node = model->AddURL(bookmarkBarNode,
290 const BookmarkNode* node = model->AddURL(bookmarkBarNode,
[all …]
/external/chromium/chrome/browser/bookmarks/
Dbookmark_utils_unittest.cc24 model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"), in TEST_F()
27 model.AddURL(model.other_node(), 0, ASCIIToUTF16("baz buz"), in TEST_F()
60 const BookmarkNode* node = model.AddURL(model.other_node(), 0, in TEST_F()
75 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"), in TEST_F()
88 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("FOO bar"), in TEST_F()
110 const BookmarkNode* node = model.AddURL(model.other_node(), 0, in TEST_F()
Dbookmark_codec_unittest.cc41 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel1()
47 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel2()
48 model->AddURL(bookmark_bar, 1, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); in CreateTestModel2()
54 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel3()
57 model->AddURL(folder1, 0, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); in CreateTestModel3()
249 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url1"), in TEST_F()
251 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url2"), in TEST_F()
272 decoded_model.AddURL( in TEST_F()
277 decoded_model.AddURL(folder2_node, 0, ASCIIToUTF16(kUrl4Title), in TEST_F()
Dbookmark_model_unittest.cc184 TEST_F(BookmarkModelTest, AddURL) { in TEST_F() argument
189 const BookmarkNode* new_node = model.AddURL(root, 0, title, url); in TEST_F()
229 model.AddURL(root, 0, title, url); in TEST_F()
250 model.AddURL(folder, 0, title, url); in TEST_F()
268 const BookmarkNode* node = model.AddURL(root, 0, title, url); in TEST_F()
283 const BookmarkNode* node = model.AddURL(root, 0, title, url); in TEST_F()
298 const BookmarkNode* node = model.AddURL(root, 0, title, url); in TEST_F()
382 model.AddURL(model.other_node(), 0, title, url); in TEST_F()
392 model.AddURL(folder, 0, ASCIIToUTF16("blah"), GURL("http://foo.com")); in TEST_F()
414 BookmarkNode* n1 = AsMutable(model.AddURL(model.GetBookmarkBarNode(), in TEST_F()
[all …]
/external/chromium_org/chrome/browser/bookmarks/
Dbookmark_model_unittest.cc309 TEST_F(BookmarkModelTest, AddURL) { in TEST_F() argument
314 const BookmarkNode* new_node = model_.AddURL(root, 0, title, url); in TEST_F()
335 const BookmarkNode* new_node = model_.AddURL(root, 0, title, url); in TEST_F()
357 const BookmarkNode* new_node = model_.AddURL(root, i, title, url); in TEST_F()
372 const BookmarkNode* new_node = model_.AddURL(root, 0, title, url); in TEST_F()
430 model_.AddURL(root, 0, title, url); in TEST_F()
451 model_.AddURL(folder, 0, title, url); in TEST_F()
473 model_.AddURL(bookmark_bar_node, 0, title, url); in TEST_F()
477 model_.AddURL(folder, 0, title, url); in TEST_F()
496 const BookmarkNode* node = model_.AddURL(root, 0, title, url); in TEST_F()
[all …]
Dbookmark_utils_unittest.cc35 const BookmarkNode* node1 = model.AddURL(model.other_node(), in TEST_F()
39 const BookmarkNode* node2 = model.AddURL(model.other_node(), in TEST_F()
71 const BookmarkNode* node = model.AddURL(model.other_node(), in TEST_F()
112 const BookmarkNode* page1 = model.AddURL(model.bookmark_bar_node(), 0, in TEST_F()
139 const BookmarkNode* node = model.AddURL(model.other_node(), in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_editor_base_controller_unittest.mm44 model->AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com"));
45 model->AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com"));
46 model->AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com"));
50 model->AddURL(folder_b_0_, 0, ASCIIToUTF16("bb-0"),
52 model->AddURL(folder_b_, 1, ASCIIToUTF16("b-1"), GURL("http://b-1.com"));
53 model->AddURL(folder_b_, 2, ASCIIToUTF16("b-2"), GURL("http://b-2.com"));
55 model->AddURL(folder_b_3_, 0, ASCIIToUTF16("b-30"),
57 model->AddURL(folder_b_3_, 1, ASCIIToUTF16("b-31"),
59 model->AddURL(folder_b_, 4, ASCIIToUTF16("b-4"), GURL("http://b-4.com"));
62 model->AddURL(folder_c_, 0, ASCIIToUTF16("c-0"), GURL("http://c-0.com"));
[all …]
Dbookmark_editor_controller_unittest.mm35 const BookmarkNode* default_node = model->AddURL(default_parent_, 0,
185 model->AddURL(parent, 0, default_title_,
227 const BookmarkNode* node = model->AddURL(parent, 0, title, GURL(url_name));
280 model->AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com"));
281 model->AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com"));
282 model->AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com"));
285 model->AddURL(folder_b_, 0, ASCIIToUTF16("b-0"), GURL("http://b-0.com"));
287 model->AddURL(folder_bb_, 0, ASCIIToUTF16("bb-0"), GURL("http://bb-0.com"));
288 model->AddURL(folder_bb_, 1, ASCIIToUTF16("bb-1"), GURL("http://bb-1.com"));
289 model->AddURL(folder_bb_, 2, ASCIIToUTF16("bb-2"), GURL("http://bb-2.com"));
[all …]
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
Dbookmark_api_helpers_unittest.cc26 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("Digg"), in SetUp()
28 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("News"), in SetUp()
34 model_->AddURL(folder_, 0, ASCIIToUTF16("Digg"), GURL("http://reddit.com")); in SetUp()
35 model_->AddURL(folder_, 0, ASCIIToUTF16("CNet"), GURL("http://cnet.com")); in SetUp()
/external/chromium/chrome/browser/extensions/
Dextension_bookmarks_unittest.cc18 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("Digg"), in SetUp()
20 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("News"), in SetUp()
26 model_->AddURL(folder, 0, ASCIIToUTF16("Digg"), GURL("http://reddit.com")); in SetUp()
27 model_->AddURL(folder, 0, ASCIIToUTF16("CNet"), GURL("http://cnet.com")); in SetUp()
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/
Dbookmark_bar_gtk_unittest.cc75 model_->AddURL(parent, parent->child_count(), in TEST_F()
84 model_->AddURL(parent, parent->child_count(), in TEST_F()
86 model_->AddURL(parent, parent->child_count(), in TEST_F()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_bar_gtk_unittest.cc75 model->AddURL(parent, parent->child_count(), in TEST_F()
86 model->AddURL(parent, parent->child_count(), in TEST_F()
88 model->AddURL(parent, parent->child_count(), in TEST_F()

123456