/external/chromium_org/chrome/browser/prefetch/ |
prefetch_browsertest.cc | 55 const base::string16 expected_title = ASCIIToUTF16("link onload"); local 58 expected_title); 61 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 68 const base::string16 expected_title = ASCIIToUTF16("link onerror"); local 71 expected_title); 74 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/content/test/ |
content_browser_test_test.cc | 34 base::string16 expected_title(ASCIIToUTF16("OK")); 35 TitleWatcher title_watcher(shell()->web_contents(), expected_title); 38 EXPECT_EQ(expected_title, title);
|
/external/chromium_org/chrome/browser/media/ |
media_browsertest.cc | 29 const char* expected_title, bool http) { 52 base::string16 final_title = RunTest(gurl, expected_title); 53 EXPECT_EQ(ASCIIToUTF16(expected_title), final_title); 57 const char* expected_title) { 61 ASCIIToUTF16(expected_title));
|
/external/chromium_org/chrome/browser/ |
referrer_policy_browsertest.cc | 143 base::string16 expected_title = local 147 content::TitleWatcher title_watcher(tab, expected_title); 171 EXPECT_EQ(expected_title, tab->GetTitle()); 173 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 384 base::string16 expected_title = local 389 new content::TitleWatcher(tab, expected_title)); 396 EXPECT_EQ(expected_title, title_watcher->WaitAndGetTitle()); 398 title_watcher.reset(new content::TitleWatcher(tab, expected_title)); 403 EXPECT_EQ(expected_title, title_watcher->WaitAndGetTitle()); 405 title_watcher.reset(new content::TitleWatcher(tab, expected_title)); [all...] |
errorpage_browsertest.cc | 52 // the title to change to |expected_title|. 54 const std::string& expected_title, 58 ASCIIToUTF16(expected_title)); 63 EXPECT_EQ(ASCIIToUTF16(expected_title), title_watcher.WaitAndGetTitle()); 67 // the title to change to |expected_title|. 68 void GoBackAndWaitForTitle(const std::string& expected_title, 70 NavigateHistoryAndWaitForTitle(expected_title, 76 // and the title to change to |expected_title|. 77 void GoForwardAndWaitForTitle(const std::string& expected_title, 79 NavigateHistoryAndWaitForTitle(expected_title, [all...] |
chrome_plugin_browsertest.cc | 98 base::string16 expected_title(ASCIIToUTF16(pass ? "OK" : "plugin_not_found")); 99 content::TitleWatcher title_watcher(web_contents, expected_title); 104 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 313 base::string16 expected_title(base::ASCIIToUTF16("created")); 316 if (tab->GetTitle() != expected_title) { 317 content::TitleWatcher title_watcher(tab, expected_title); 318 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
unload_browsertest.cc | 135 void CheckTitle(const char* expected_title) { 136 base::string16 expected = 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 = ASCIIToUTF16("cancelled"); local 286 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 288 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_browsertest.cc | 318 base::string16 expected_title(ASCIIToUTF16("OK")); 320 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 333 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 350 base::string16 expected_title(ASCIIToUTF16("OK")); 352 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 354 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 369 base::string16 expected_title(ASCIIToUTF16("Click To Play")); 371 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 373 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 431 base::string16 expected_title(ASCIIToUTF16("OK")) [all...] |
/external/chromium/chrome/browser/ui/webui/ |
print_preview_ui_uitest.cc | 29 string16 expected_title = local 31 ASSERT_EQ(expected_title, WideToUTF16Hack(title));
|
/external/chromium_org/content/browser/web_contents/ |
web_contents_view_aura_browsertest.cc | 199 base::string16 expected_title = ASCIIToUTF16("Title: #1"); local 200 content::TitleWatcher title_watcher(web_contents, expected_title); 207 EXPECT_EQ(expected_title, actual_title); 217 base::string16 expected_title = ASCIIToUTF16("Title:"); local 218 content::TitleWatcher title_watcher(web_contents, expected_title); 225 EXPECT_EQ(expected_title, actual_title); 235 base::string16 expected_title = ASCIIToUTF16("Title: #1"); local 236 content::TitleWatcher title_watcher(web_contents, expected_title); 243 EXPECT_EQ(expected_title, actual_title); 441 base::string16 expected_title = ASCIIToUTF16("Title: #2") local 472 base::string16 expected_title = ASCIIToUTF16("Title: #3"); local 644 base::string16 expected_title = ASCIIToUTF16("Title: #2"); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/print_preview/ |
print_preview_ui_browsertest.cc | 99 base::string16 expected_title(ASCIIToUTF16("ready")); 102 content::TitleWatcher title_watcher(tab, expected_title); 109 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/content/browser/ |
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()); 411 base::string16 expected_title(ASCIIToUTF16("OK")) [all...] |
/external/chromium_org/content/browser/browser_plugin/ |
browser_plugin_host_browsertest.cc | 457 const base::string16 expected_title = ASCIIToUTF16("done"); local 458 content::TitleWatcher title_watcher(shell()->web_contents(), expected_title); 462 EXPECT_EQ(expected_title, actual_title); 540 const base::string16 expected_title = ASCIIToUTF16("modified"); local 542 expected_title); 548 EXPECT_EQ(expected_title, actual_title); 554 const base::string16 expected_title = ASCIIToUTF16("embedder"); local 556 expected_title); 560 EXPECT_EQ(expected_title, actual_title); 622 const base::string16 expected_title = ASCIIToUTF16("DROPPED") local 654 const base::string16 expected_title = ASCIIToUTF16("main guest"); local 682 const base::string16 expected_title = ASCIIToUTF16("main guest"); local 956 string16 expected_title = UTF8ToUTF16("InputTest123"); local 970 string16 expected_title = UTF8ToUTF16("InputTest456"); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
options_ui_browsertest.cc | 71 base::string16 expected_title = l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE); local 72 EXPECT_NE(title.find(expected_title), base::string16::npos);
|
/external/chromium_org/content/browser/worker_host/test/ |
worker_browsertest.cc | 45 const base::string16 expected_title = ASCIIToUTF16("OK"); local 46 TitleWatcher title_watcher(window->web_contents(), expected_title); 49 EXPECT_EQ(expected_title, final_title); 278 const base::string16 expected_title = ASCIIToUTF16("OK"); local 279 TitleWatcher title_watcher(window->web_contents(), expected_title); 282 EXPECT_EQ(expected_title, final_title);
|
/external/chromium/chrome/browser/ |
unload_uitest.cc | 106 void CheckTitle(const std::wstring& expected_title) { 110 if (expected_title == GetActiveTabTitle()) 115 EXPECT_EQ(expected_title, GetActiveTabTitle()); 119 const std::wstring& expected_title) { 121 CheckTitle(expected_title); 148 const std::wstring& expected_title = L"") { 151 NavigateToDataURL(html_content, expected_title);
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
star_view_browsertest.cc | 102 base::string16 expected_title(ASCIIToUTF16("ready")); 105 content::TitleWatcher title_watcher(tab, expected_title); 111 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/chrome/browser/extensions/api/webstore_private/ |
webstore_private_apitest.cc | 154 base::string16 expected_title = UTF8ToUTF16("PASS: about:blank"); local 156 content::TitleWatcher watcher(contents, expected_title); 162 EXPECT_EQ(expected_title, final_title); 171 base::string16 expected_title = UTF8ToUTF16("PASS: about:blank"); local 173 content::TitleWatcher watcher(contents, expected_title); 179 EXPECT_EQ(expected_title, final_title);
|
/external/chromium/chrome/browser/ui/webui/options/ |
options_ui_uitest.cc | 31 string16 expected_title = l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE); local 34 ASSERT_FALSE(WideToUTF16Hack(title).find(expected_title) == string16::npos);
|
/external/chromium_org/chrome/browser/history/ |
history_browsertest.cc | 104 base::string16 expected_title(ASCIIToUTF16("OK")); 106 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 109 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 469 base::string16 expected_title(ASCIIToUTF16("Target Page")); 471 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); 474 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 491 base::string16 expected_title(ASCIIToUTF16("History")); 492 content::TitleWatcher title_watcher(web_contents, expected_title); 494 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/content/public/test/ |
browser_test_utils.h | 196 // entire lifetime of |this|. |expected_title| is the title that |this| 199 const base::string16& expected_title); 203 void AlsoWaitForTitle(const base::string16& expected_title); 205 // Waits until the title matches either expected_title or one of the titles
|
/external/chromium_org/chrome/test/functional/ |
special_tabs.py | 266 expected_title = 'title' in properties and properties['title'] or url 269 lambda: self.GetActiveTabTitle(), expect_retval=expected_title), 271 url, expected_title, self.GetActiveTabTitle()))
|
/external/chromium_org/content/browser/media/ |
media_browsertest.cc | 62 const base::string16 expected_title = ASCIIToUTF16(expected); local 64 TitleWatcher title_watcher(shell()->web_contents(), expected_title); 69 EXPECT_EQ(expected_title, final_title);
|
/external/chromium_org/chrome/browser/apps/ |
web_view_interactive_browsertest.cc | 300 base::string16 expected_title(ASCIIToUTF16(title)); 302 content::TitleWatcher title_watcher(guest_web_contents(), expected_title); local 304 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); 327 base::string16 expected_title = ASCIIToUTF16("PASSED2"); local 329 content::TitleWatcher title_watcher(guest_web_contents(), expected_title); local 333 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
/external/chromium_org/chrome/browser/ui/blocked_content/ |
popup_blocker_browsertest.cc | 165 base::string16 expected_title(base::ASCIIToUTF16("PASS")); 166 content::TitleWatcher title_watcher(web_contents, expected_title); 167 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|