/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...] |
url_database_unittest.cc | 82 const GURL url2("http://mail.google.com/"); 83 URLRow url_info2(url2); 95 URLID id2 = GetRowForURL(url2, &info); 109 EXPECT_TRUE(GetRowForURL(url2, &info2)); 122 // EXPECT_TRUE(db.GetURLInfo(url2, NULL) == NULL); 249 const GURL url2("http://www.google.com/no_icon"); 250 URLRow url_info2(url2);
|
top_sites_unittest.cc | 478 GURL url2("http://images.google.com/"); 482 AppendMostVisitedURL(&list, url2); 505 // Setting the thumbnail for url2 should succeed, lower scores shouldn't 507 EXPECT_TRUE(top_sites()->SetPageThumbnail(url2, thumbnail, medium_score)); 508 EXPECT_FALSE(top_sites()->SetPageThumbnail(url2, thumbnail, low_score)); 509 EXPECT_TRUE(top_sites()->SetPageThumbnail(url2, thumbnail, high_score)); 557 MostVisitedURL url2; local 558 url2.url = GURL("http://gmail.com"); 559 url2.redirects.push_back(url2.url) 648 MostVisitedURL url2; local 713 MostVisitedURL url2; local [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, 107 if (url2.is_valid()) 108 redirects.push_back(url2); 110 new HistoryAddPageArgs(url2, base::Time(), dummy_scope, 0, url1, 116 *transition2 = getTransition(url2); 704 GURL url2("http://www.example.com"); 714 backend_->AddVisits(url2, visits2, history::SOURCE_SYNCED) [all...] |
history_unittest.cc | 676 const GURL url2("http://www.google.com/url2/"); 699 history->AddPage(url2, scope, 0, GURL(), 710 EXPECT_EQ(url2, most_visited_urls_[2].url); 712 // Revisit url2, making it the top URL. 713 history->AddPage(url2, scope, 0, GURL(), 722 EXPECT_EQ(url2, most_visited_urls_[0].url); 737 EXPECT_EQ(url2, most_visited_urls_[1].url); 756 EXPECT_EQ(url2, most_visited_urls_[1].url);
|
/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 | 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.
|
/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLEncoderTest.java | 35 final String URL2 = "telnet://justWantToHaveFun.com:400"; 41 URLEncoder.encode(URL2)).equals(URL2));
|
URLDecoderTest.java | 42 final String URL2 = "telnet://justWantToHaveFun.com:400"; 47 URLEncoder.encode(URL2)).equals(URL2));
|
/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());
|
background_contents_service_unittest.cc | 132 GURL url2("http://a/"); 144 contents->Navigate(url2); 221 GURL url2("http://b/"); 224 contents2->Navigate(url2); 230 EXPECT_EQ(url2.spec(), GetPrefURLForApp(&profile, contents2->appid()));
|
/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...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
URLEncoderTest.java | 35 final String URL2 = "telnet://justWantToHaveFun.com:400"; 41 URLEncoder.encode(URL2)).equals(URL2));
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebBackForwardListTest.java | 76 String url2 = server.getAssetUrl(TestHtmlConstants.HTML_URL2); local 82 mWebView.loadUrl(url2); 83 checkBackForwardList(mWebView, url1, url2); 86 checkBackForwardList(mWebView, url1, url2, url3);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 165 // url2 170 // url2 184 GURL url2("http://url2"); 200 model->AddURLWithCreationTime(f2, 0, url2_title, url2, t2); 205 model->AddURLWithCreationTime(model->other_node(), 1, url2_title, url2, t2); 254 AssertBookmarkEntryEquals(parsed_bookmarks[1], false, url2, url2_title, t2, 262 AssertBookmarkEntryEquals(parsed_bookmarks[5], false, url2, url2_title, t2,
|
bookmark_codec_unittest.cc | 19 const char kUrl2Title[] = "url2"; 20 const char kUrl2Url[] = "http://www.url2.com"; 251 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url2"),
|
/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);
|
url_info_unittest.cc | 30 GURL url1("http://domain1.com:80"), url2("https://domain2.com:443"); 35 info_practice.SetUrl(url2);
|
/external/chromium/chrome/browser/extensions/ |
extension_webnavigation_unittest.cc | 26 const GURL url2("http://mail.google.com/"); 35 navigation_state.TrackFrame(frame_id2, url2, false, false, contents()); 42 EXPECT_EQ(url2, navigation_state.GetUrl(frame_id2));
|
/external/chromium/googleurl/src/ |
gurl_unittest.cc | 108 GURL url2(url); 109 EXPECT_TRUE(url2.is_valid()); 111 EXPECT_EQ("http://user:pass@google.com:99/foo;bar?q=a#ref", url2.spec()); 112 EXPECT_EQ("http", url2.scheme()); 113 EXPECT_EQ("user", url2.username()); 114 EXPECT_EQ("pass", url2.password()); 115 EXPECT_EQ("google.com", url2.host()); 116 EXPECT_EQ("99", url2.port()); 117 EXPECT_EQ(99, url2.IntPort()); 118 EXPECT_EQ("/foo;bar", url2.path()) [all...] |
/frameworks/base/core/tests/coretests/src/android/webkit/ |
UrlInterceptRegistryTest.java | 69 url = new String("url2"); 80 data = UrlInterceptRegistry.getPluginData("url2", null);
|
/external/chromium/chrome/browser/sessions/ |
session_restore_browsertest.cc | 114 GURL url2(ui_test_utils::GetTestUrl( 123 browser()->AddSelectedTabWithURL(url2, PageTransition::LINK); 146 // If this tab held url2, then restore this single tab. 147 if (tab.navigations[0].virtual_url() == url2) {
|
/external/chromium/chrome/browser/resources/shared/js/cr/ |
link_controller_test.html | 38 var URL2 = '#hash'; 287 lc.openUrls([URL1, URL2], cr.LinkKind.FOREGROUND_TAB); 304 lc.openUrls([URL1, URL2], cr.LinkKind.BACKGROUND_TAB); 324 lc.openUrls([URL1, URL2], cr.LinkKind.WINDOW); 345 lc.openUrls([URL1, URL2], cr.LinkKind.INCOGNITO);
|
/external/chromium/chrome/browser/prerender/ |
prerender_manager_unittest.cc | 252 GURL url2("http://images.google.com/"); 254 new DummyPrerenderContents(prerender_manager_.get(), url2, 257 EXPECT_TRUE(prerender_manager_->AddSimplePreload(url2)); 262 ASSERT_EQ(pc2, prerender_manager_->GetEntry(url2));
|