/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/password_manager/ |
psl_matching_helper_unittest.cc | 14 const char* url2; member in struct:TestPair 31 form2.signon_realm = pairs[i].url2; 36 << ", second URL = " << pairs[i].url2;
|
psl_matching_helper.cc | 34 const std::string& url2) { 36 GURL gurl2(url2);
|
psl_matching_helper.h | 52 const std::string& url2);
|
/external/chromium/chrome/browser/tabs/ |
pinned_tab_codec_unittest.cc | 34 GURL url2("http://www.google.com/2"); 35 AddTab(browser(), url2); local 37 // AddTab inserts at index 0, so order after this is url1, url2.
|
/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 | 40 GURL url2(kURL2); 43 URLResult result3(url2, base::Time::Now()); 57 GURL url2(kURL2); 70 matches = results.MatchesForURL(url2, &match_count); 82 matches = results.MatchesForURL(url2, &match_count); 90 EXPECT_FALSE(results.MatchesForURL(url2, NULL)); 96 GURL url2(kURL2); 108 const size_t* matches = results.MatchesForURL(url2, &match_count); 113 results.DeleteURL(url2); 115 EXPECT_FALSE(results.MatchesForURL(url2, 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/tools/ |
webforms_aggregator_tests.py | 19 self.url2 = 'http://www.macys.com' 23 'URLs to crawl:\n%s\n%s\n' % (self.url1, self.url2)) 41 c = webforms_aggregator.Crawler(self.url2) 43 c.Run(), msg='Crawler could not find the reg page of "%s"' % self.url2)
|
/external/chromium_org/url/ |
gurl_unittest.cc | 109 GURL url2(url); 110 EXPECT_TRUE(url2.is_valid()); 112 EXPECT_EQ("http://user:pass@google.com:99/foo;bar?q=a#ref", url2.spec()); 113 EXPECT_EQ("http", url2.scheme()); 114 EXPECT_EQ("user", url2.username()); 115 EXPECT_EQ("pass", url2.password()); 116 EXPECT_EQ("google.com", url2.host()); 117 EXPECT_EQ("99", url2.port()); 118 EXPECT_EQ(99, url2.IntPort()); 119 EXPECT_EQ("/foo;bar", url2.path()) 142 GURL url2; local [all...] |
/external/chromium/chrome/browser/history/ |
history_types_unittest.cc | 41 GURL url2(kURL2); 44 URLResult result3(url2, base::Time::Now()); 55 GURL url2(kURL2); 57 URLResult result1(url2, base::Time::Now()); 71 GURL url2(kURL2); 84 matches = results.MatchesForURL(url2, &match_count); 96 matches = results.MatchesForURL(url2, &match_count); 104 EXPECT_FALSE(results.MatchesForURL(url2, NULL)); 110 GURL url2(kURL2); 122 const size_t* matches = results.MatchesForURL(url2, &match_count) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLStreamHandlerTest.java | 36 URL url2 = new URL("http://test_url/test?a=b&c=%D0+%D1"); local 37 assertFalse(url1.equals(url2)); 40 assertFalse(handler.equals(url1,url2)); 58 URL url2 = new URL("http://test:pwd@fakehostname.fakedomain/test?a=b&c=%D0+%D1"); local 59 assertNull(handler.getHostAddress(url2)); 67 URL url2 = new URL("http://test_url/test?a=b&c=%D0+%D1"); local 68 assertTrue(handler.hashCode(url1) != handler.hashCode(url2)); 71 assertFalse(handler.equals(url1,url2)); 82 URL url2 = new URL("http://localhost/_test"); local 83 assertTrue(handler.hostsEqual(url1, url2)); 120 URL url2 = new URL("http:\/\/test:pwd@localhost:80\/foo\/foo1.c"); local [all...] |
/external/chromium/chrome/browser/ |
browser_commands_unittest.cc | 51 GURL url2("http://foo/2"); 56 NavigateAndCommitActiveTab(url2); 77 ASSERT_TRUE(url2 == controller.GetEntryAtIndex(1)->url()); 107 GURL url2("http://foo/2"); 111 NavigateAndCommitActiveTab(url2); 120 EXPECT_EQ(url2, zeroth->GetURL()); 149 EXPECT_EQ(url2, second->GetURL()); 167 ASSERT_EQ(url2, browser()->GetSelectedTabContents()->GetURL());
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebBackForwardListTest.java | 59 String url2 = server.getAssetUrl(TestHtmlConstants.HTML_URL2); local 65 mOnUiThread.loadUrlAndWaitForCompletion(url2); 66 checkBackForwardList(url1, url2); 69 checkBackForwardList(url1, url2, url3);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CookieManagerTest.java | 36 String url2 = "http://www.hotbot.com"; local 38 cookieManager.setCookie(url2, value2); 41 assertThat(cookieManager.getCookie(url2), is(value2));
|
/external/chromium_org/google_apis/cup/ |
client_update_protocol_unittest.cc | 118 std::string url2(kUrl); 119 url2.append(kUrlQuery); 120 url2.append("&w="); 121 url2.append(CUP().GetVersionedSecret()); 124 ASSERT_TRUE(CUP().SignRequest(url2, kRequest, &cp2));
|
/external/chromium_org/chrome/browser/ |
browser_commands_unittest.cc | 61 GURL url2("http://foo/2"); 67 NavigateAndCommitActiveTab(url2); 94 EXPECT_EQ(url2, controller.GetEntryAtIndex(1)->GetURL()); 102 GURL url2("http://foo/2"); 109 url2, content::Referrer(), content::PAGE_TRANSITION_LINK, std::string()); 159 GURL url2("http://foo/2"); 163 NavigateAndCommitActiveTab(url2); 174 EXPECT_EQ(url2, zeroth->GetLastCommittedURL()); 205 EXPECT_EQ(url2, second->GetVisibleURL()); 226 ASSERT_EQ(url2, [all...] |
/external/chromium/chrome/browser/tab_contents/ |
web_contents_unittest.cc | 313 const GURL url2("http://www.yahoo.com"); 314 controller().LoadURL(url2, GURL(), PageTransition::TYPED); 322 InitNavigateParams(¶ms2, 1, url2); 369 const GURL url2("http://www.yahoo.com"); 370 controller().LoadURL(url2, GURL(), PageTransition::TYPED); 379 InitNavigateParams(¶ms2, 1, url2); 460 const GURL url2("http://www.yahoo.com"); 461 contents2.controller().LoadURL(url2, GURL(), PageTransition::TYPED); 468 InitNavigateParams(¶ms2, 2, url2); 477 InitNavigateParams(¶ms3, 2, url2); [all...] |
/external/chromium_org/content/browser/streams/ |
stream_unittest.cc | 212 GURL url2("blob://stream2"); 213 scoped_refptr<Stream> stream2 = registry_->GetStream(url2); 224 GURL url2("blob://stream2"); 225 ASSERT_TRUE(registry_->CloneStream(url2, url1)); 226 scoped_refptr<Stream> stream2 = registry_->GetStream(url2); 237 GURL url2("blob://stream2"); 239 ASSERT_FALSE(registry_->CloneStream(url2, url3)); 240 scoped_refptr<Stream> stream2 = registry_->GetStream(url2); 264 GURL url2("blob://stream2"); 266 new Stream(registry_.get(), &writer2, url2)); [all...] |
/external/chromium_org/content/browser/frame_host/ |
navigation_controller_impl_unittest.cc | 341 const GURL url2("http://foo2"); 387 controller.LoadURL(url2, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 407 contents()->GetPendingRenderViewHost())->SendNavigate(1, url2); 443 const GURL url2("http://foo2"); 452 controller.LoadURL(url2, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 457 test_rvh()->SendNavigate(1, url2); 654 const GURL url2("http://foo2"); 666 controller.LoadURL(url2, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 2742 navigator->DidStartProvisionalLoad(main_test_rfh(), 1, -1, true, url2); local 2763 navigator->DidStartProvisionalLoad(main_test_rfh(), 1, -1, true, url2); local [all...] |
/external/chromium_org/content/browser/web_contents/ |
web_contents_impl_unittest.cc | 454 const GURL url2("http://www.yahoo.com"); 456 url2, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 459 EXPECT_EQ(url2, contents()->GetVisibleURL()); 472 pending_rvh, 1, url2, PAGE_TRANSITION_TYPED); 483 EXPECT_EQ(url2, contents()->GetLastCommittedURL()); 484 EXPECT_EQ(url2, contents()->GetVisibleURL()); 508 goback_rvh, 1, url2, PAGE_TRANSITION_TYPED); 545 const GURL url2("http://www.yahoo.com"); 547 url2, Referrer(), PAGE_TRANSITION_TYPED, std::string()); 555 contents()->TestDidNavigate(new_rvh, 1, url2, PAGE_TRANSITION_TYPED) [all...] |
/external/chromium/chrome/browser/net/ |
resolve_proxy_msg_helper_unittest.cc | 88 GURL url2("http://www.google2.com/"); 114 helper_->OnResolveProxy(url2, msg2); 117 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url()); 142 GURL url2("http://www.google2.com/"); 157 helper_->OnResolveProxy(url2, msg2); 174 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url()); 199 GURL url2("http://www.google2.com/"); 215 helper_->OnResolveProxy(url2, msg2);
|
/external/chromium_org/chrome/browser/ui/tabs/ |
pinned_tab_codec_unittest.cc | 36 GURL url2("http://www.google.com/2"); 37 AddTab(browser(), url2); local 39 // AddTab inserts at index 0, so order after this is url1, url2.
|
/external/chromium_org/content/browser/ |
resolve_proxy_msg_helper_unittest.cc | 108 GURL url2("http://www.google2.com/"); 134 helper_->OnResolveProxy(url2, msg2); 137 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url()); 162 GURL url2("http://www.google2.com/"); 177 helper_->OnResolveProxy(url2, msg2); 194 EXPECT_EQ(url2, resolver_->pending_requests()[0]->url()); 219 GURL url2("http://www.google2.com/"); 235 helper_->OnResolveProxy(url2, msg2);
|
/external/chromium_org/ui/base/webui/ |
web_ui_util_unittest.cc | 26 GURL url2("http://some/random/username/and/more"); 27 webui::ParsePathAndScale(url2, &path, &factor);
|