/external/chromium_org/chrome/browser/sync/test/integration/ |
D | single_client_bookmarks_sync_test.cc | 18 using bookmarks_helper::AddURL; 84 const BookmarkNode* tier1_a_url0 = AddURL( in IN_PROC_BROWSER_TEST_F() 86 const BookmarkNode* tier1_a_url1 = AddURL( in IN_PROC_BROWSER_TEST_F() 88 const BookmarkNode* tier1_a_url2 = AddURL( in IN_PROC_BROWSER_TEST_F() 90 const BookmarkNode* tier1_b_url0 = AddURL( in IN_PROC_BROWSER_TEST_F() 120 const BookmarkNode* cnn = AddURL(0, bar, 0, "CNN", in IN_PROC_BROWSER_TEST_F() 129 const BookmarkNode* porsche = AddURL(0, bar, 2, "Porsche", in IN_PROC_BROWSER_TEST_F() 143 const BookmarkNode* boa = AddURL(0, bar, bar->child_count(), in IN_PROC_BROWSER_TEST_F() 147 const BookmarkNode* bubble = AddURL( in IN_PROC_BROWSER_TEST_F() 151 const BookmarkNode* wired = AddURL(0, bar, 2, "Wired News", in IN_PROC_BROWSER_TEST_F() [all …]
|
D | two_client_bookmarks_sync_test.cc | 23 using bookmarks_helper::AddURL; 96 ASSERT_TRUE(AddURL(0, "Google", google_url) != NULL); in IN_PROC_BROWSER_TEST_F() 98 ASSERT_TRUE(AddURL(1, "Yahoo", GURL("http://www.yahoo.com")) != NULL); in IN_PROC_BROWSER_TEST_F() 105 ASSERT_TRUE(AddURL(0, GetBookmarkBarNode(0), 1, "CNN", in IN_PROC_BROWSER_TEST_F() 110 ASSERT_TRUE(AddURL(1, "Facebook", GURL("http://www.facebook.com")) != NULL); in IN_PROC_BROWSER_TEST_F() 134 ASSERT_TRUE(AddURL(0, title, initial_url) != NULL); in IN_PROC_BROWSER_TEST_F() 166 ASSERT_TRUE(AddURL(0, kGenericURLTitle, GURL(kGenericURL)) != NULL); in IN_PROC_BROWSER_TEST_F() 179 const BookmarkNode* bookmark = AddURL(0, kGenericURLTitle, page_url); in IN_PROC_BROWSER_TEST_F() 210 const BookmarkNode* bookmark0 = AddURL(0, kGenericURLTitle, page_url); in IN_PROC_BROWSER_TEST_F() 235 ASSERT_TRUE(AddURL( in IN_PROC_BROWSER_TEST_F() [all …]
|
D | single_client_backup_rollback_test.cc | 26 using bookmarks_helper::AddURL; 218 ASSERT_TRUE(AddURL(0, tier1_a, 0, "tier1_a_url0", in IN_PROC_BROWSER_TEST_F() 220 ASSERT_TRUE(AddURL(0, tier1_b, 0, "tier1_b_url0", in IN_PROC_BROWSER_TEST_F() 272 ASSERT_TRUE(AddURL(0, GetOtherNode(0), 0, "url0", in IN_PROC_BROWSER_TEST_F() 274 ASSERT_TRUE(AddURL(0, GetOtherNode(0), 1, "url1", in IN_PROC_BROWSER_TEST_F() 284 ASSERT_TRUE(AddURL(0, GetOtherNode(0), 1, "url2", in IN_PROC_BROWSER_TEST_F() 319 ASSERT_TRUE(AddURL(0, GetOtherNode(0), 0, "url0", in IN_PROC_BROWSER_TEST_F() 321 ASSERT_TRUE(AddURL(0, GetOtherNode(0), 1, "url1", in IN_PROC_BROWSER_TEST_F() 331 ASSERT_TRUE(AddURL(0, GetOtherNode(0), 1, "url2", in IN_PROC_BROWSER_TEST_F() 365 ASSERT_TRUE(AddURL(0, GetOtherNode(0), 0, "url0", in IN_PROC_BROWSER_TEST_F() [all …]
|
D | cross_platform_sync_test.cc | 11 using bookmarks_helper::AddURL; 30 ASSERT_TRUE(AddURL(0, "Google", GURL("http://www.google.co.uk"))); in IN_PROC_BROWSER_TEST_F()
|
D | multiple_client_bookmarks_sync_test.cc | 10 using bookmarks_helper::AddURL; 30 ASSERT_TRUE(AddURL(i, base::StringPrintf("Google URL %d", i), in IN_PROC_BROWSER_TEST_F()
|
D | bookmarks_helper.h | 42 const BookmarkNode* AddURL( 50 const BookmarkNode* AddURL( 59 const BookmarkNode* AddURL(
|
/external/chromium_org/components/precache/core/ |
D | precache_url_table_unittest.cc | 38 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()
|
D | precache_database_unittest.cc | 206 precache_url_table()->AddURL(kURL, kOldFetchTime); in TEST_F() 257 precache_url_table()->AddURL(kURL, kOldFetchTime); in TEST_F() 271 precache_url_table()->AddURL(kURL, kOldFetchTime); in TEST_F() 285 precache_url_table()->AddURL(kURL, kOldFetchTime); in TEST_F() 315 precache_url_table()->AddURL(GURL("http://expired-precache.com"), k61DaysAgo); in TEST_F() 316 precache_url_table()->AddURL(GURL("http://old-precache.com"), k59DaysAgo); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | bookmark_ui_utils_unittest.cc | 26 const BookmarkNode* page1 = model->AddURL(model->bookmark_bar_node(), in TEST() 42 model->AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("http://randomsite.com")); in TEST() 57 model->AddURL(subfolder1, 0, ASCIIToUTF16("BAR"), GURL("http://bar-foo.com")); in TEST() 69 const BookmarkNode* page1 = model->AddURL(model->bookmark_bar_node(), in TEST() 79 const BookmarkNode* page2 = model->AddURL(model->bookmark_bar_node(), in TEST() 97 model->AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("chrome://bookmarks")); in TEST() 100 model->AddURL(folder1, 0, ASCIIToUTF16("Foo"), GURL("http://randomsite.com")); in TEST() 116 model->AddURL(subfolder1, 0, ASCIIToUTF16("BAR"), GURL("http://bar-foo.com")); in TEST()
|
D | bookmark_editor_unittest.cc | 19 model->AddURL(bookmarkbar, 0, ASCIIToUTF16("url0"), GURL("chrome://newtab")); in TEST() 20 model->AddURL(bookmarkbar, 1, ASCIIToUTF16("url1"), GURL("chrome://newtab")); in TEST()
|
/external/chromium_org/components/visitedlink/test/ |
D | visitedlink_unittest.cc | 239 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() 636 master()->AddURL(GURL("http://acidtests.org/")); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/undo/ |
D | bookmark_undo_service_test.cc | 63 model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.bar.com")); in TEST_F() 83 model->AddURL(parent, 0, ASCIIToUTF16("foo"), GURL("http://www.bar.com")); in TEST_F() 114 const BookmarkNode* n1 = model->AddURL(model->other_node(), in TEST_F() 150 const BookmarkNode* n1 = model->AddURL(model->other_node(), in TEST_F() 154 const BookmarkNode* n2 = model->AddURL(model->other_node(), in TEST_F() 158 const BookmarkNode* n3 = model->AddURL(model->other_node(), in TEST_F() 183 const BookmarkNode* n1 = model->AddURL(model->other_node(), in TEST_F() 187 const BookmarkNode* n2 = model->AddURL(model->other_node(), in TEST_F() 191 const BookmarkNode* n3 = model->AddURL(model->other_node(), in TEST_F() 228 model->AddURL(f1, 0, ASCIIToUTF16("foo"), GURL("http://www.foo.com")); in TEST_F() [all …]
|
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_utils_unittest.cc | 79 const BookmarkNode* node1 = model->AddURL(model->other_node(), in TEST_F() 83 const BookmarkNode* node2 = model->AddURL(model->other_node(), in TEST_F() 137 const BookmarkNode* node1 = model->AddURL(model->other_node(), in TEST_F() 141 model->AddURL(model->other_node(), in TEST_F() 173 const BookmarkNode* node1 = model->AddURL(model->other_node(), in TEST_F() 177 model->AddURL(model->other_node(), in TEST_F() 211 const BookmarkNode* node1 = model->AddURL(model->other_node(), in TEST_F() 215 model->AddURL(model->other_node(), in TEST_F() 293 const BookmarkNode* node = model->AddURL(model->other_node(), in TEST_F() 320 const BookmarkNode* node = model->AddURL(model->other_node(), in TEST_F() [all …]
|
D | bookmark_model_unittest.cc | 331 TEST_F(BookmarkModelTest, AddURL) { in TEST_F() argument 336 const BookmarkNode* new_node = model_->AddURL(root, 0, title, url); in TEST_F() 357 const BookmarkNode* new_node = model_->AddURL(root, 0, title, url); in TEST_F() 379 const BookmarkNode* new_node = model_->AddURL(root, i, title, url); in TEST_F() 421 const BookmarkNode* new_node = model_->AddURL(root, 0, title, url); in TEST_F() 479 model_->AddURL(root, 0, title, url); in TEST_F() 500 model_->AddURL(folder, 0, title, url); in TEST_F() 522 model_->AddURL(bookmark_bar_node, 0, title, url); in TEST_F() 526 model_->AddURL(folder, 0, title, url); in TEST_F() 545 const BookmarkNode* node = model_->AddURL(root, 0, title, url); in TEST_F() [all …]
|
D | bookmark_codec_unittest.cc | 90 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel1() 96 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel2() 97 model->AddURL(bookmark_bar, 1, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); in CreateTestModel2() 103 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel3() 106 model->AddURL(folder1, 0, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); in CreateTestModel3() 315 decoded_model->AddURL( in TEST_F() 317 decoded_model->AddURL( in TEST_F() 337 decoded_model->AddURL(bookmark_bar, in TEST_F() 343 decoded_model->AddURL( in TEST_F()
|
/external/chromium_org/components/history/core/browser/ |
D | url_database_unittest.cc | 80 URLID id1_initially = AddURL(url_info1); in TEST_F() 90 EXPECT_TRUE(AddURL(url_info2)); in TEST_F() 168 URLID url_id = AddURL(url_info1); in TEST_F() 207 URLID url_id = AddURL(url_info1); in TEST_F() 227 EXPECT_TRUE(AddURL(url_no_match)); in TEST_F() 233 EXPECT_TRUE(AddURL(url_match_visit_count)); in TEST_F() 238 EXPECT_TRUE(AddURL(url_match_typed_count)); in TEST_F() 243 EXPECT_TRUE(AddURL(url_match_last_visit)); in TEST_F() 249 EXPECT_TRUE(AddURL(url_no_match_last_visit)); in TEST_F() 268 URLID url_id1 = AddURL(url_info1); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_editor_base_controller_unittest.mm | 47 model->AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com")); 48 model->AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com")); 49 model->AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com")); 53 model->AddURL(folder_b_0_, 0, ASCIIToUTF16("bb-0"), 55 model->AddURL(folder_b_, 1, ASCIIToUTF16("b-1"), GURL("http://b-1.com")); 56 model->AddURL(folder_b_, 2, ASCIIToUTF16("b-2"), GURL("http://b-2.com")); 58 model->AddURL(folder_b_3_, 0, ASCIIToUTF16("b-30"), 60 model->AddURL(folder_b_3_, 1, ASCIIToUTF16("b-31"), 62 model->AddURL(folder_b_, 4, ASCIIToUTF16("b-4"), GURL("http://b-4.com")); 65 model->AddURL(folder_c_, 0, ASCIIToUTF16("c-0"), GURL("http://c-0.com")); [all …]
|
D | bookmark_editor_controller_unittest.mm | 37 const BookmarkNode* default_node = model->AddURL(default_parent_, 0, 187 model->AddURL(parent, 0, default_title_, 229 const BookmarkNode* node = model->AddURL(parent, 0, title, GURL(url_name)); 282 model->AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com")); 283 model->AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com")); 284 model->AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com")); 287 model->AddURL(folder_b_, 0, ASCIIToUTF16("b-0"), GURL("http://b-0.com")); 289 model->AddURL(folder_bb_, 0, ASCIIToUTF16("bb-0"), GURL("http://bb-0.com")); 290 model->AddURL(folder_bb_, 1, ASCIIToUTF16("bb-1"), GURL("http://bb-1.com")); 291 model->AddURL(folder_bb_, 2, ASCIIToUTF16("bb-2"), GURL("http://bb-2.com")); [all …]
|
D | bookmark_all_tabs_controller_unittest.mm | 48 model->AddURL(folder_a_, 0, ASCIIToUTF16("a-0"), GURL("http://a-0.com")); 49 model->AddURL(folder_a_, 1, ASCIIToUTF16("a-1"), GURL("http://a-1.com")); 50 model->AddURL(folder_a_, 2, ASCIIToUTF16("a-2"), GURL("http://a-2.com"));
|
D | bookmark_menu_bridge_unittest.mm | 111 model->AddURL(parent, 0, ASCIIToUTF16("Bookmark"), GURL(url)); 163 model->AddURL(parent, 0, ASCIIToUTF16("Bookmark"), GURL(url)); 189 model->AddURL(root, 0, ASCIIToUTF16(short_url), GURL(short_url)); 193 model->AddURL(root, 2, ASCIIToUTF16(long_url), GURL(long_url)); 196 model->AddURL(node, 0, empty, GURL("http://sub")); 324 model->AddURL(root, 0, ASCIIToUTF16("Test Item"), GURL("http://test")); 328 model->AddURL(root, 1, ASCIIToUTF16("Test 2"), GURL("http://second-test")); 355 model->AddURL(root, 0, ASCIIToUTF16(short_url), GURL(short_url)); 374 model->AddURL(root, 0, ASCIIToUTF16("Test Item"), 391 model->AddURL(root, 0, ASCIIToUTF16("Test Item"),
|
/external/chromium_org/chrome/browser/extensions/api/bookmarks/ |
D | bookmark_api_helpers_unittest.cc | 40 node_ = model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Digg"), in SetUp() 44 model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("News"), in SetUp() 51 node2_ = model_->AddURL( in SetUp() 54 model_->AddURL( in SetUp() 123 model_->AddURL(client_->managed_node(), in TEST_F() 153 model_->AddURL(client_->managed_node(), in TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_menu_delegate_unittest.cc | 88 model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); in AddTestData() 90 model_->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a")); in AddTestData() 92 model_->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a")); in AddTestData() 96 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData() 100 model_->AddURL(of1, 0, ASCIIToUTF16("of1a"), GURL(test_base + "of1a")); in AddTestData()
|
/external/chromium_org/chrome/browser/sync/ |
D | profile_sync_service_bookmark_unittest.cc | 138 int64 AddURL(const std::string& title, in AddURL() function in browser_sync::__anon65e8b3f30111::FakeServerChange 819 const BookmarkNode* url1 = model_->AddURL( in TEST_F() 824 const BookmarkNode* url2 = model_->AddURL( in TEST_F() 874 int64 u1 = adds.AddURL("Some old site", "ftp://nifty.andrew.cmu.edu/", in TEST_F() 876 int64 u2 = adds.AddURL("Nifty", "ftp://nifty.andrew.cmu.edu/", f1, 0); in TEST_F() 878 int64 u3 = adds.AddURL("Nifty2", "ftp://nifty.andrew.cmu.edu/", f1, u2); in TEST_F() 880 adds.AddURL("Some old site", "http://slog.thestranger.com/", in TEST_F() 888 adds.AddURL(std::string(), javascript_url, other_bookmarks_id(), 0); in TEST_F() 889 int64 u6 = adds.AddURL( in TEST_F() 975 int64 u3 = adds.AddURL( "u3", url, f2, 0); // + u3 NOLINT in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/ |
D | bookmark_manager_private_apitest.cc | 63 model->AddURL(bar, 1, base::ASCIIToUTF16("AAA"), in IN_PROC_BROWSER_TEST_F() 65 model->AddURL(folder, 0, base::ASCIIToUTF16("BBB"), in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/sync/test/integration/performance/ |
D | bookmarks_sync_perf_test.cc | 10 using bookmarks_helper::AddURL; 53 ASSERT_TRUE(AddURL( in AddURLs()
|