/external/chromium/chrome/browser/tabs/ |
pinned_tab_codec_unittest.cc | 20 GURL url1("http://www.google.com"); 21 AddTab(browser(), url1); local 33 GURL url1("http://www.google.com"); 37 // AddTab inserts at index 0, so order after this is url1, url2. 38 AddTab(browser(), url1); local
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 154 // Create test PNG representing favicon for url1. 163 // url1 169 // url1 173 // url1 182 GURL url1("http://url1"); 183 GURL url1_favicon("http://url1/icon.ico"); 193 model->AddURLWithCreationTime(f1, 0, url1_title, url1, t1); 194 profile.GetHistoryService(Profile::EXPLICIT_ACCESS)->AddPage(url1, 196 profile.GetFaviconService(Profile::EXPLICIT_ACCESS)->SetFavicon(url1, [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
SuggestionUtilsTest.java | 56 private void assertsUrlsEquivalent(String url1, String url2) { 57 assertTrue("Urls " + url1 + " and " + url2 + " not equal", 58 SuggestionUtils.normalizeUrl(url1).equals(SuggestionUtils.normalizeUrl(url2))); 61 private void assertsUrlsNotEquivalent(String url1, String url2) { 62 assertFalse("Urls " + url1 + " and " + url2 + " equal", 63 SuggestionUtils.normalizeUrl(url1).equals(SuggestionUtils.normalizeUrl(url2)));
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 159 // Create test PNG representing favicon for url1. 168 // url1 174 // url1 178 // url1 180 // url1 191 GURL url1("http://url1"); 192 GURL url1_favicon("http://url1/icon.ico"); 203 model->AddURLWithCreationTime(f1, 0, url1_title, url1, t1); 205 AddPage(url1, base::Time::Now(), history::SOURCE_BROWSED) [all...] |
/external/chromium/chrome/browser/ |
browser_commands_unittest.cc | 50 GURL url1("http://foo/1"); 55 AddTab(browser(), url1); local 76 ASSERT_TRUE(url1 == controller.GetEntryAtIndex(0)->url()); 87 GURL url1("http://foo/1"); 88 AddTab(browser(), url1); local 89 browser()->OpenURL(url1, GURL(), CURRENT_TAB, PageTransition::TYPED); 101 EXPECT_TRUE(browser()->profile()->GetBookmarkModel()->IsBookmarked(url1)); 106 GURL url1("http://foo/1"); 110 AddTab(browser(), url1); local 126 EXPECT_EQ(url1, browser()->GetTabContentsAt(1)->GetURL()) [all...] |
/external/chromium/chrome/browser/history/ |
history_types_unittest.cc | 40 GURL url1(kURL1); 42 URLResult result1(url1, base::Time::Now()); 43 URLResult result2(url1, base::Time::Now()); 70 GURL url1(kURL1); 78 const size_t* matches = results.MatchesForURL(url1, &match_count); 93 matches = results.MatchesForURL(url1, &match_count); 103 EXPECT_FALSE(results.MatchesForURL(url1, NULL)); 109 GURL url1(kURL1); 115 results.DeleteURL(url1); 121 EXPECT_FALSE(results.MatchesForURL(url1, NULL)) [all...] |
history_backend_unittest.cc | 96 // |url1| is the source URL and |url2| is the destination. 98 // navigation entry for |url2| has replaced that for |url1|. The possibly 99 // updated transition code of the visit records for |url1| and |url2| is 101 void AddClientRedirect(const GURL& url1, const GURL& url2, bool did_replace, 105 if (url1.is_valid()) 106 redirects.push_back(url1); 110 new HistoryAddPageArgs(url2, base::Time(), dummy_scope, 0, url1, 115 *transition1 = getTransition(url1); 698 GURL url1("http://www.cnn.com"); 713 backend_->AddVisits(url1, visits1, history::SOURCE_IE_IMPORTED) [all...] |
url_database_unittest.cc | 73 const GURL url1("http://www.google.com/"); 74 URLRow url_info1(url1); 93 EXPECT_TRUE(GetRowForURL(url1, &info)); 121 // EXPECT_TRUE(db.GetURLInfo(url1, NULL) == NULL); 225 const GURL url1("http://www.google.com/"); 226 URLRow url_info1(url1); 265 ASSERT_EQ(url1, icon_mapping.page_url);
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
link_controller_test.html | 37 var URL1 = 'http://chromium.org/'; 55 assertEquals(URL1, url); 76 lc.openUrls([URL1], expectedKind); 82 lc.openUrlFromEvent(URL1, event); 228 lc.openUrls(new ObjectEqualsMatcher([URL1]), cr.LinkKind.SELF); 231 lc.openUrl(URL1, cr.LinkKind.SELF); 270 lc.openUrls([URL1], cr.LinkKind.SELF); 279 chrome.tabs.create(new ObjectEqualsMatcher({url: URL1, selected: true})); 287 lc.openUrls([URL1, URL2], cr.LinkKind.FOREGROUND_TAB); 296 chrome.tabs.create(new ObjectEqualsMatcher({url: URL1, selected: false})) [all...] |
/external/chromium_org/chrome/browser/ |
browser_commands_unittest.cc | 60 GURL url1("http://foo/1"); 66 AddTab(browser(), url1); local 93 EXPECT_EQ(url1, controller.GetEntryAtIndex(0)->GetURL()); 101 GURL url1("http://foo/1"); 105 AddTab(browser(), url1); local 131 EXPECT_EQ(url1, controller.GetEntryAtIndex(0)->GetURL()); 144 GURL url1("http://foo/1"); 145 AddTab(browser(), url1); local 147 url1, Referrer(), CURRENT_TAB, content::PAGE_TRANSITION_TYPED, false)); 153 EXPECT_TRUE(model->IsBookmarked(url1)); 162 AddTab(browser(), url1); local [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLStreamHandlerTest.java | 35 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); local 37 assertFalse(url1.equals(url2)); 40 assertFalse(handler.equals(url1,url2)); 43 assertFalse(handler.equals(null, url1)); 55 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); local 56 assertNull(handler.getHostAddress(url1)); 66 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); local 68 assertTrue(handler.hashCode(url1) != handler.hashCode(url2)); 71 assertFalse(handler.equals(url1,url2)); 81 URL url1 = new URL("ftp://localhost:21/*test") local 119 URL url1 = new URL("http:\/\/test:pwd@localhost:80\/foo\/foo1.c"); local [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebBackForwardListTest.java | 58 String url1 = server.getAssetUrl(TestHtmlConstants.HTML_URL1); local 62 mOnUiThread.loadUrlAndWaitForCompletion(url1); 63 checkBackForwardList(url1); 66 checkBackForwardList(url1, url2); 69 checkBackForwardList(url1, url2, url3);
|
/external/chromium_org/chrome/browser/ui/tabs/ |
pinned_tab_codec_unittest.cc | 22 GURL url1("http://www.google.com"); 23 AddTab(browser(), url1); local 35 GURL url1("http://www.google.com"); 39 // AddTab inserts at index 0, so order after this is url1, url2. 40 AddTab(browser(), url1); local
|
/external/chromium_org/chrome/browser/history/ |
history_types_unittest.cc | 40 GURL url1(kURL1); 42 URLResult result1(url1, base::Time::Now()); 43 URLResult result2(url1, base::Time::Now()); 70 GURL url1(kURL1); 78 const size_t* matches = results.MatchesForURL(url1, &match_count); 93 matches = results.MatchesForURL(url1, &match_count); 103 EXPECT_FALSE(results.MatchesForURL(url1, NULL)); 109 GURL url1(kURL1); 115 results.DeleteURL(url1); 121 EXPECT_FALSE(results.MatchesForURL(url1, NULL)) [all...] |
history_browsertest.cc | 335 GURL url1 = GetTestUrl(); local 343 ui_test_utils::NavigateToURL(browser(), url1); local 358 ASSERT_EQ(url1, urls[3]); 390 GURL url1 = GetTestUrl(); local 394 ui_test_utils::NavigateToURL(browser(), url1); local 400 ASSERT_EQ(url1, urls[1]); 405 GURL url1 = GetTestUrl(); local 409 ui_test_utils::NavigateToURL(browser(), url1); local 417 ASSERT_EQ(url1, urls[1]); 426 ASSERT_EQ(url1, urls[0]) 432 GURL url1 = GetTestUrl(); local 436 ui_test_utils::NavigateToURL(browser(), url1); local [all...] |
/external/chromium_org/chrome/tools/ |
webforms_aggregator_tests.py | 18 self.url1 = 'http://www.google.com' 23 'URLs to crawl:\n%s\n%s\n' % (self.url1, self.url2)) 35 r = webforms_aggregator.Retriever(self.url1, self.domain, self.cookie_file) 37 msg='Retriever could not download "%s"' % self.url1)
|
/external/chromium_org/content/browser/web_contents/ |
navigation_controller_impl_unittest.cc | 338 const GURL url1("http://foo1"); 341 controller.LoadURL(url1, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 364 test_rvh()->SendNavigate(0, url1); 443 const GURL url1("http://foo1"); 446 controller.LoadURL(url1, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 448 test_rvh()->SendNavigate(0, url1); 577 const GURL url1("http://foo1"); 579 controller.LoadURL(url1, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 581 test_rvh()->SendNavigate(0, url1); 589 controller.LoadURL(url1, Referrer(), PAGE_TRANSITION_TYPED, std::string()) 2627 test_rvh(), 1, -1, true, url1); local 2653 test_rvh(), 1, -1, true, url1); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CookieManagerTest.java | 32 String url1 = "http://www.google.com"; local 34 cookieManager.setCookie(url1, value1);
|
/external/chromium/chrome/browser/prerender/ |
prerender_manager_unittest.cc | 217 GURL url1("http://news.google.com/"); 219 new DummyPrerenderContents(prerender_manager_.get(), url1, 222 EXPECT_TRUE(prerender_manager_->AddSimplePreload(url1)); 226 ASSERT_EQ(pc1, prerender_manager_->GetEntry(url1)); 244 GURL url1("http://news.google.com/"); 246 new DummyPrerenderContents(prerender_manager_.get(), url1, 249 EXPECT_TRUE(prerender_manager_->AddSimplePreload(url1)); 261 ASSERT_EQ(pc1, prerender_manager_->GetEntry(url1)); 319 GURL url1("http://news.google.com/"); 321 new DummyPrerenderContents(prerender_manager_.get(), url1, [all...] |
/external/chromium_org/content/browser/streams/ |
stream_unittest.cc | 162 GURL url1("blob://stream"); 164 new Stream(registry_.get(), &writer, url1)); 174 GURL url1("blob://stream"); 176 new Stream(registry_.get(), &writer, url1)); 179 ASSERT_TRUE(registry_->CloneStream(url2, url1)); 187 GURL url1("blob://stream"); 189 new Stream(registry_.get(), &writer, url1));
|
/external/chromium/chrome/browser/net/ |
resolve_proxy_msg_helper_unittest.cc | 87 GURL url1("http://www.google1.com/"); 99 helper_->OnResolveProxy(url1, msg1); 105 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url()); 141 GURL url1("http://www.google1.com/"); 152 helper_->OnResolveProxy(url1, msg1); 163 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url()); 198 GURL url1("http://www.google1.com/"); 210 helper_->OnResolveProxy(url1, msg1); 221 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url());
|
/external/chromium_org/content/browser/ |
resolve_proxy_msg_helper_unittest.cc | 89 GURL url1("http://www.google1.com/"); 101 helper_->OnResolveProxy(url1, msg1); 107 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url()); 143 GURL url1("http://www.google1.com/"); 154 helper_->OnResolveProxy(url1, msg1); 165 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url()); 200 GURL url1("http://www.google1.com/"); 212 helper_->OnResolveProxy(url1, msg1); 223 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url());
|
/external/chromium_org/extensions/common/matcher/ |
url_matcher_unittest.cc | 86 GURL url1("http://www.example.com/www.foobar.com/index.html"); 96 EXPECT_FALSE(m1.IsMatch(matching_patterns, url1)); 100 EXPECT_TRUE(m1.IsMatch(matching_patterns, url1)); 106 EXPECT_TRUE(m2.IsMatch(matching_patterns, url1)); 424 GURL url1("http://www.example.com/foo?bar=1"); 444 EXPECT_FALSE(condition_set->IsMatch(matching_patterns, url1)); 447 EXPECT_TRUE(condition_set->IsMatch(matching_patterns, url1)); 457 EXPECT_FALSE(condition_set2->IsMatch(matching_patterns, url1)); 464 EXPECT_TRUE(condition_set3->IsMatch(matching_patterns, url1)); 473 EXPECT_TRUE(condition_set4->IsMatch(matching_patterns, url1)); [all...] |
/external/chromium_org/chrome/browser/extensions/api/web_navigation/ |
frame_navigation_state_unittest.cc | 22 const GURL url1("http://www.google.com/"); 28 navigation_state.TrackFrame(frame_id1, frame_id0, url1, true, false, false); 43 EXPECT_EQ(url1, navigation_state.GetUrl(frame_id1)); 170 const GURL url1("http://www.google.com/"); 176 navigation_state.TrackFrame(frame_id1, frame_id0, url1, true, false, false); 191 EXPECT_EQ(url1, navigation_state.GetUrl(frame_id1)); 199 EXPECT_EQ(url1, navigation_state.GetUrl(frame_id1));
|
/external/chromium/chrome/browser/tab_contents/ |
web_contents_unittest.cc | 584 const GURL url1("chrome://newtab"); 585 controller().LoadURL(url1, GURL(), PageTransition::TYPED); 588 InitNavigateParams(¶ms1, 1, url1); 595 EXPECT_EQ(url1, entry1->url()); 670 EXPECT_EQ(url1, entry1->url()); [all...] |