/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/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_org/chrome/browser/password_manager/ |
psl_matching_helper_unittest.cc | 13 const char* url1; member in struct:TestPair 29 form1.signon_realm = pairs[i].url1; 35 << "First URL = " << pairs[i].url1
|
psl_matching_helper.cc | 33 bool PSLMatchingHelper::IsPublicSuffixDomainMatch(const std::string& url1, 35 GURL gurl1(url1);
|
psl_matching_helper.h | 51 static bool IsPublicSuffixDomainMatch(const std::string& url1,
|
/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_org/chrome/browser/history/ |
url_utils.h | 31 // Returns whether |url1| and |url2| have the same scheme, host, and port. 32 bool HaveSameSchemeHostAndPort(const GURL&url1, const GURL& url2);
|
history_types_unittest.cc | 39 GURL url1(kURL1); 41 URLResult result1(url1, base::Time::Now()); 42 URLResult result2(url1, base::Time::Now()); 56 GURL url1(kURL1); 64 const size_t* matches = results.MatchesForURL(url1, &match_count); 79 matches = results.MatchesForURL(url1, &match_count); 89 EXPECT_FALSE(results.MatchesForURL(url1, NULL)); 95 GURL url1(kURL1); 101 results.DeleteURL(url1); 107 EXPECT_FALSE(results.MatchesForURL(url1, NULL)) [all...] |
url_utils.cc | 45 bool HaveSameSchemeHostAndPort(const GURL&url1, const GURL& url2) { 46 return url1.scheme() == url2.scheme() && url1.host() == url2.host() && 47 url1.port() == url2.port();
|
/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/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)
|
/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/ |
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...] |
/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...] |
/external/chromium_org/content/browser/frame_host/ |
navigation_controller_impl_unittest.cc | 340 const GURL url1("http://foo1"); 343 controller.LoadURL(url1, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 366 test_rvh()->SendNavigate(0, url1); 442 const GURL url1("http://foo1"); 445 controller.LoadURL(url1, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 447 test_rvh()->SendNavigate(0, url1); 576 const GURL url1("http://foo1"); 578 controller.LoadURL(url1, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 580 test_rvh()->SendNavigate(0, url1); 588 controller.LoadURL(url1, Referrer(), PAGE_TRANSITION_TYPED, std::string()) 2728 navigator->DidStartProvisionalLoad(main_test_rfh(), 1, -1, true, url1); local 2752 navigator->DidStartProvisionalLoad(main_test_rfh(), 1, -1, true, url1); local 2760 navigator->DidStartProvisionalLoad(main_test_rfh(), 1, -1, true, url1); local [all...] |
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 157 // Create test PNG representing favicon for url1. 166 // url1 172 // url1 176 // url1 178 // url1 189 GURL url1("http://url1"); 190 GURL url1_favicon("http://url1/icon.ico"); 201 model->AddURLWithCreationTime(f1, 0, url1_title, url1, t1); 203 AddPage(url1, base::Time::Now(), history::SOURCE_BROWSED) [all...] |
/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...] |
/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 | 107 GURL url1("http://www.google1.com/"); 119 helper_->OnResolveProxy(url1, msg1); 125 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url()); 161 GURL url1("http://www.google1.com/"); 172 helper_->OnResolveProxy(url1, msg1); 183 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url()); 218 GURL url1("http://www.google1.com/"); 230 helper_->OnResolveProxy(url1, msg1); 241 EXPECT_EQ(url1, resolver_->pending_requests()[0]->url());
|
/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 | 208 GURL url1("blob://stream"); 210 new Stream(registry_.get(), &writer, url1)); 220 GURL url1("blob://stream"); 222 new Stream(registry_.get(), &writer, url1)); 225 ASSERT_TRUE(registry_->CloneStream(url2, url1)); 233 GURL url1("blob://stream"); 235 new Stream(registry_.get(), &writer, url1)); 260 GURL url1("blob://stream"); 262 new Stream(registry_.get(), &writer1, url1)); 286 EXPECT_FALSE(registry_->GetStream(url1).get() == NULL) [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/extensions/ |
extension_webnavigation_unittest.cc | 25 const GURL url1("http://www.google.com/"); 30 navigation_state.TrackFrame(frame_id1, url1, true, false, contents()); 40 EXPECT_EQ(url1, navigation_state.GetUrl(frame_id1));
|