/external/chromium_org/content/test/ |
H A D | content_browser_test_test.cc | 34 base::string16 expected_title(base::ASCIIToUTF16("OK")); 35 TitleWatcher title_watcher(shell()->web_contents(), expected_title); 38 EXPECT_EQ(expected_title, title);
|
/external/chromium_org/chrome/browser/media/ |
H A D | media_browsertest.cc | 32 const std::string& expected_title, 48 std::string final_title = RunTest(gurl, expected_title); 49 EXPECT_EQ(expected_title, final_title); 53 const std::string& expected_title) { 59 base::ASCIIToUTF16(expected_title)); 30 RunMediaTestPage(const std::string& html_page, const media::QueryParams& query_params, const std::string& expected_title, bool http) argument 52 RunTest(const GURL& gurl, const std::string& expected_title) argument
|
H A D | encrypted_media_browsertest.cc | 122 const std::string& expected_title) { 125 RunMediaTestPage(html_page, new_query_params, expected_title, true); 144 const std::string& expected_title) { 162 expected_title); 170 std::string expected_title = kEnded; local 172 expected_title = kEmeKeyError; 182 expected_title); 314 const std::string& expected_title) { 325 expected_title); 118 RunEncryptedMediaTestPage( const std::string& html_page, const std::string& key_system, const media::QueryParams& query_params, const std::string& expected_title) argument 136 RunEncryptedMediaTest(const std::string& html_page, const std::string& media_file, const std::string& media_type, const std::string& key_system, SrcType src_type, EmeVersion eme_version, const std::string& session_to_load, bool force_invalid_response, const std::string& expected_title) argument 313 TestNonPlaybackCases(const std::string& key_system, const std::string& expected_title) argument
|
/external/chromium_org/chrome/browser/ |
H A D | referrer_policy_browsertest.cc | 167 base::string16 expected_title = local 171 content::TitleWatcher title_watcher(tab, expected_title); 191 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 196 content::TitleWatcher title_watcher2(tab, expected_title); 201 EXPECT_EQ(expected_title, title_watcher2.WaitAndGetTitle()); 515 base::string16 expected_title = local 520 new content::TitleWatcher(tab, expected_title)); 527 EXPECT_EQ(expected_title, title_watcher->WaitAndGetTitle()); 529 title_watcher.reset(new content::TitleWatcher(tab, expected_title)); 534 EXPECT_EQ(expected_title, title_watche 555 base::string16 expected_title = local [all...] |
H A D | chrome_plugin_interactive_test.cc | 79 base::string16 expected_title(base::ASCIIToUTF16("created")); 82 if (tab->GetTitle() != expected_title) { 83 content::TitleWatcher title_watcher(tab, expected_title); 84 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 113 base::string16 expected_title(base::ASCIIToUTF16("ready")); 116 content::TitleWatcher title_watcher(tab, expected_title); 123 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 183 base::string16 expected_title(base::ASCIIToUTF16("ready")); 186 content::TitleWatcher title_watcher(tab, expected_title); 193 EXPECT_EQ(expected_title, title_watche [all...] |
H A D | unload_browsertest.cc | 135 void CheckTitle(const char* expected_title) { argument 136 base::string16 expected = base::ASCIIToUTF16(expected_title); 142 const char* expected_title) { 145 CheckTitle(expected_title); 169 const char* expected_title) { 170 NavigateToDataURL(html_content, expected_title); 284 base::string16 expected_title = base::ASCIIToUTF16("cancelled"); local 286 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 288 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 141 NavigateToDataURL(const std::string& html_content, const char* expected_title) argument 168 LoadUrlAndQuitBrowser(const std::string& html_content, const char* expected_title) argument
|
H A D | errorpage_browsertest.cc | 312 // the title to change to |expected_title|. 314 const std::string& expected_title, 318 base::ASCIIToUTF16(expected_title)); 323 EXPECT_EQ(base::ASCIIToUTF16(expected_title), 328 // the title to change to |expected_title|. 329 void GoBackAndWaitForTitle(const std::string& expected_title, argument 331 NavigateHistoryAndWaitForTitle(expected_title, 337 // and the title to change to |expected_title|. 338 void GoForwardAndWaitForTitle(const std::string& expected_title, argument 340 NavigateHistoryAndWaitForTitle(expected_title, 313 NavigateToURLAndWaitForTitle(const GURL& url, const std::string& expected_title, int num_navigations) argument 432 NavigateHistoryAndWaitForTitle(const std::string& expected_title, int num_navigations, HistoryNavigationDirection direction) argument 900 NavigateToURLAndWaitForTitle(const GURL& url, const std::string& expected_title, int num_navigations) argument [all...] |
H A D | chrome_plugin_browsertest.cc | 97 base::string16 expected_title( 99 content::TitleWatcher title_watcher(web_contents, expected_title); 104 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/content/browser/shared_worker/ |
H A D | worker_browsertest.cc | 43 const base::string16 expected_title = base::ASCIIToUTF16("OK"); local 44 TitleWatcher title_watcher(window->web_contents(), expected_title); 47 EXPECT_EQ(expected_title, final_title); 130 const base::string16 expected_title = base::ASCIIToUTF16("OK"); local 131 TitleWatcher title_watcher(window->web_contents(), expected_title); 134 EXPECT_EQ(expected_title, final_title);
|
/external/chromium_org/chrome/browser/content_settings/ |
H A D | content_settings_browsertest.cc | 321 base::string16 expected_title(base::ASCIIToUTF16("OK")); 323 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 334 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 351 base::string16 expected_title(base::ASCIIToUTF16("OK")); 353 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 355 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 370 base::string16 expected_title(base::ASCIIToUTF16("Click To Play")); 372 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 374 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 433 base::string16 expected_title(bas [all...] |
/external/chromium_org/content/browser/ |
H A D | plugin_browsertest.cc | 86 base::string16 expected_title(ASCIIToUTF16("OK")); 87 TitleWatcher title_watcher(window->web_contents(), expected_title); 98 EXPECT_EQ(expected_title, title); 173 base::string16 expected_title(ASCIIToUTF16("OK")); 174 TitleWatcher title_watcher(shell()->web_contents(), expected_title); 178 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 204 base::string16 expected_title(ASCIIToUTF16("OK")); 205 TitleWatcher title_watcher(shell()->web_contents(), expected_title); 210 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 420 base::string16 expected_title(ASCIIToUTF1 [all...] |
/external/chromium_org/content/browser/media/ |
H A D | media_browsertest.cc | 32 const std::string& expected_title, 48 std::string final_title = RunTest(gurl, expected_title); 49 EXPECT_EQ(expected_title, final_title); 53 const std::string& expected_title) { 56 base::ASCIIToUTF16(expected_title)); 30 RunMediaTestPage(const std::string& html_page, const media::QueryParams& query_params, const std::string& expected_title, bool http) argument 52 RunTest(const GURL& gurl, const std::string& expected_title) argument
|
/external/chromium_org/chrome/browser/prefetch/ |
H A D | prefetch_browsertest.cc | 67 const base::string16 expected_title = local 71 browser->tab_strip_model()->GetActiveWebContents(), expected_title); 73 return expected_title == title_watcher.WaitAndGetTitle();
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
H A D | star_view_browsertest.cc | 104 base::string16 expected_title(base::ASCIIToUTF16("ready")); 107 content::TitleWatcher title_watcher(tab, expected_title); 113 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/chrome/browser/extensions/api/webstore_private/ |
H A D | webstore_private_apitest.cc | 185 base::string16 expected_title = base::UTF8ToUTF16("PASS: about:blank"); local 187 content::TitleWatcher watcher(GetWebContents(), expected_title); local 193 EXPECT_EQ(expected_title, final_title); 200 base::string16 expected_title = base::UTF8ToUTF16("PASS: about:blank"); local 202 content::TitleWatcher watcher(GetWebContents(), expected_title); local 208 EXPECT_EQ(expected_title, final_title);
|
/external/chromium_org/chrome/browser/history/ |
H A D | history_browsertest.cc | 104 base::string16 expected_title(base::ASCIIToUTF16("OK")); 106 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 109 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 469 base::string16 expected_title(base::ASCIIToUTF16("Target Page")); 471 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 474 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 491 base::string16 expected_title(base::ASCIIToUTF16("History")); 492 content::TitleWatcher title_watcher(web_contents, expected_title); 494 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/content/browser/frame_host/ |
H A D | render_frame_host_manager_browsertest.cc | 602 base::string16 expected_title = ASCIIToUTF16("msg"); local 603 TitleWatcher title_watcher(foo_contents, expected_title); 611 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 631 expected_title = ASCIIToUTF16("msg2"); 632 TitleWatcher title_watcher2(foo_contents, expected_title); 638 ASSERT_EQ(expected_title, title_watcher2.WaitAndGetTitle()); 709 base::string16 expected_title = ASCIIToUTF16("msg-back-via-port"); local 710 TitleWatcher title_observer(opener_contents, expected_title); 718 ASSERT_EQ(expected_title, title_observer.WaitAndGetTitle()); 892 base::string16 expected_title local 944 base::string16 expected_title = ASCIIToUTF16("Modified Title"); local 1310 base::string16 expected_title = ASCIIToUTF16("msg"); local [all...] |
/external/chromium_org/content/browser/web_contents/ |
H A D | web_contents_view_aura_browsertest.cc | 307 base::string16 expected_title = base::ASCIIToUTF16("Title: #1"); local 308 content::TitleWatcher title_watcher(web_contents, expected_title); 315 EXPECT_EQ(expected_title, actual_title); 325 base::string16 expected_title = base::ASCIIToUTF16("Title:"); local 326 content::TitleWatcher title_watcher(web_contents, expected_title); 333 EXPECT_EQ(expected_title, actual_title); 343 base::string16 expected_title = base::ASCIIToUTF16("Title: #1"); local 344 content::TitleWatcher title_watcher(web_contents, expected_title); 351 EXPECT_EQ(expected_title, actual_title); 607 base::string16 expected_title local 638 base::string16 expected_title = base::ASCIIToUTF16("Title: #3"); local 858 base::string16 expected_title = base::ASCIIToUTF16("Title: #2"); local [all...] |
/external/chromium_org/content/renderer/ |
H A D | browser_render_view_browsertest.cc | 158 // the title to change to |expected_title|. 160 const std::string& expected_title, 163 shell()->web_contents(), base::ASCIIToUTF16(expected_title)); 168 EXPECT_EQ(base::ASCIIToUTF16(expected_title), 159 NavigateToURLAndWaitForTitle(const GURL& url, const std::string& expected_title, int num_navigations) argument
|
/external/chromium_org/chrome/browser/ui/login/ |
H A D | login_prompt_browsertest.cc | 233 base::string16 expected_title = local 236 content::TitleWatcher title_watcher(contents, expected_title); 237 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 286 base::string16 expected_title = ExpectedTitleFromAuth(username, password); local 287 content::TitleWatcher title_watcher(contents, expected_title); 288 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 1031 base::string16 expected_title(base::UTF8ToUTF16("status=401")); 1033 EXPECT_EQ(expected_title, contents->GetTitle()); 1066 base::string16 expected_title(base::UTF8ToUTF16("status=200")); 1068 EXPECT_EQ(expected_title, content [all...] |
/external/chromium_org/chrome/browser/ui/blocked_content/ |
H A D | popup_blocker_browsertest.cc | 212 base::string16 expected_title(base::ASCIIToUTF16("PASS")); 213 content::TitleWatcher title_watcher(web_contents, expected_title); 214 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
H A D | options_ui_browsertest.cc | 170 base::string16 expected_title = l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE); local 171 EXPECT_NE(title.find(expected_title), base::string16::npos);
|
/external/chromium_org/content/public/test/ |
H A D | browser_test_utils.h | 200 // entire lifetime of |this|. |expected_title| is the title that |this| 203 const base::string16& expected_title); 207 void AlsoWaitForTitle(const base::string16& expected_title); 209 // Waits until the title matches either expected_title or one of the titles
|
H A D | browser_test_utils.cc | 597 const base::string16& expected_title) 601 expected_titles_.push_back(expected_title); 604 void TitleWatcher::AlsoWaitForTitle(const base::string16& expected_title) { argument 605 expected_titles_.push_back(expected_title); 596 TitleWatcher(WebContents* web_contents, const base::string16& expected_title) argument
|
/external/chromium_org/chrome/browser/sessions/ |
H A D | better_session_restore_browsertest.cc | 224 void CheckTitle(Browser* browser, const base::string16& expected_title) { argument 227 content::TitleWatcher title_watcher(web_contents, expected_title); 240 EXPECT_EQ(expected_title, final_title); 242 EXPECT_EQ(expected_title, first_title);
|