Home
last modified time | relevance | path

Searched refs:expected_title (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/chrome/browser/prefetch/
Dprefetch_browsertest.cc55 const base::string16 expected_title = ASCIIToUTF16("link onload"); in IN_PROC_BROWSER_TEST_F() local
58 expected_title); in IN_PROC_BROWSER_TEST_F()
61 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
68 const base::string16 expected_title = ASCIIToUTF16("link onerror"); in IN_PROC_BROWSER_TEST_F() local
71 expected_title); in IN_PROC_BROWSER_TEST_F()
74 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_browsertest.cc318 base::string16 expected_title(ASCIIToUTF16("OK")); in IN_PROC_BROWSER_TEST_F() local
320 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); in IN_PROC_BROWSER_TEST_F()
333 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
350 base::string16 expected_title(ASCIIToUTF16("OK")); in IN_PROC_BROWSER_TEST_F() local
352 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); in IN_PROC_BROWSER_TEST_F()
354 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
369 base::string16 expected_title(ASCIIToUTF16("Click To Play")); in IN_PROC_BROWSER_TEST_F() local
371 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); in IN_PROC_BROWSER_TEST_F()
373 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
431 base::string16 expected_title(ASCIIToUTF16("OK")); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/content/browser/browser_plugin/
Dbrowser_plugin_host_browsertest.cc457 const base::string16 expected_title = ASCIIToUTF16("done"); in IN_PROC_BROWSER_TEST_F() local
458 content::TitleWatcher title_watcher(shell()->web_contents(), expected_title); in IN_PROC_BROWSER_TEST_F()
462 EXPECT_EQ(expected_title, actual_title); in IN_PROC_BROWSER_TEST_F()
540 const base::string16 expected_title = ASCIIToUTF16("modified"); in IN_PROC_BROWSER_TEST_F() local
542 expected_title); in IN_PROC_BROWSER_TEST_F()
548 EXPECT_EQ(expected_title, actual_title); in IN_PROC_BROWSER_TEST_F()
554 const base::string16 expected_title = ASCIIToUTF16("embedder"); in IN_PROC_BROWSER_TEST_F() local
556 expected_title); in IN_PROC_BROWSER_TEST_F()
560 EXPECT_EQ(expected_title, actual_title); in IN_PROC_BROWSER_TEST_F()
622 const base::string16 expected_title = ASCIIToUTF16("DROPPED"); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/chrome/browser/
Dreferrer_policy_browsertest.cc143 base::string16 expected_title = in RunReferrerTest() local
147 content::TitleWatcher title_watcher(tab, expected_title); in RunReferrerTest()
171 EXPECT_EQ(expected_title, tab->GetTitle()); in RunReferrerTest()
173 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in RunReferrerTest()
384 base::string16 expected_title = in IN_PROC_BROWSER_TEST_F() local
389 new content::TitleWatcher(tab, expected_title)); in IN_PROC_BROWSER_TEST_F()
396 EXPECT_EQ(expected_title, title_watcher->WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
398 title_watcher.reset(new content::TitleWatcher(tab, expected_title)); in IN_PROC_BROWSER_TEST_F()
403 EXPECT_EQ(expected_title, title_watcher->WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
405 title_watcher.reset(new content::TitleWatcher(tab, expected_title)); in IN_PROC_BROWSER_TEST_F()
[all …]
Derrorpage_browsertest.cc54 const std::string& expected_title, in NavigateToURLAndWaitForTitle() argument
58 ASCIIToUTF16(expected_title)); in NavigateToURLAndWaitForTitle()
63 EXPECT_EQ(ASCIIToUTF16(expected_title), title_watcher.WaitAndGetTitle()); in NavigateToURLAndWaitForTitle()
68 void GoBackAndWaitForTitle(const std::string& expected_title, in GoBackAndWaitForTitle() argument
70 NavigateHistoryAndWaitForTitle(expected_title, in GoBackAndWaitForTitle()
77 void GoForwardAndWaitForTitle(const std::string& expected_title, in GoForwardAndWaitForTitle() argument
79 NavigateHistoryAndWaitForTitle(expected_title, in GoForwardAndWaitForTitle()
99 void NavigateHistoryAndWaitForTitle(const std::string& expected_title, in NavigateHistoryAndWaitForTitle() argument
104 ASCIIToUTF16(expected_title)); in NavigateHistoryAndWaitForTitle()
118 EXPECT_EQ(title_watcher.WaitAndGetTitle(), ASCIIToUTF16(expected_title)); in NavigateHistoryAndWaitForTitle()
Dunload_browsertest.cc135 void CheckTitle(const char* expected_title) { in CheckTitle() argument
136 base::string16 expected = ASCIIToUTF16(expected_title); in CheckTitle()
142 const char* expected_title) { in NavigateToDataURL() argument
145 CheckTitle(expected_title); in NavigateToDataURL()
169 const char* expected_title) { in LoadUrlAndQuitBrowser() argument
170 NavigateToDataURL(html_content, expected_title); in LoadUrlAndQuitBrowser()
284 base::string16 expected_title = ASCIIToUTF16("cancelled"); in IN_PROC_BROWSER_TEST_F() local
286 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); in IN_PROC_BROWSER_TEST_F()
288 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
Dchrome_plugin_browsertest.cc98 base::string16 expected_title(ASCIIToUTF16(pass ? "OK" : "plugin_not_found")); in LoadAndWait() local
99 content::TitleWatcher title_watcher(web_contents, expected_title); in LoadAndWait()
104 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in LoadAndWait()
313 base::string16 expected_title(base::ASCIIToUTF16("created")); in IN_PROC_BROWSER_TEST_F() local
316 if (tab->GetTitle() != expected_title) { in IN_PROC_BROWSER_TEST_F()
317 content::TitleWatcher title_watcher(tab, expected_title); in IN_PROC_BROWSER_TEST_F()
318 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/media/
Dmedia_browsertest.cc29 const char* expected_title, bool http) { in RunMediaTestPage() argument
52 base::string16 final_title = RunTest(gurl, expected_title); in RunMediaTestPage()
53 EXPECT_EQ(ASCIIToUTF16(expected_title), final_title); in RunMediaTestPage()
57 const char* expected_title) { in RunTest() argument
61 ASCIIToUTF16(expected_title)); in RunTest()
/external/chromium_org/content/browser/
Dplugin_browsertest.cc86 base::string16 expected_title(ASCIIToUTF16("OK")); in LoadAndWaitInWindow() local
87 TitleWatcher title_watcher(window->web_contents(), expected_title); in LoadAndWaitInWindow()
98 EXPECT_EQ(expected_title, title); in LoadAndWaitInWindow()
173 base::string16 expected_title(ASCIIToUTF16("OK")); in IN_PROC_BROWSER_TEST_F() local
174 TitleWatcher title_watcher(shell()->web_contents(), expected_title); in IN_PROC_BROWSER_TEST_F()
178 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
204 base::string16 expected_title(ASCIIToUTF16("OK")); in IN_PROC_BROWSER_TEST_F() local
205 TitleWatcher title_watcher(shell()->web_contents(), expected_title); in IN_PROC_BROWSER_TEST_F()
210 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
411 base::string16 expected_title(ASCIIToUTF16("OK")); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura_browsertest.cc199 base::string16 expected_title = ASCIIToUTF16("Title: #1"); in TestOverscrollNavigation() local
200 content::TitleWatcher title_watcher(web_contents, expected_title); in TestOverscrollNavigation()
207 EXPECT_EQ(expected_title, actual_title); in TestOverscrollNavigation()
217 base::string16 expected_title = ASCIIToUTF16("Title:"); in TestOverscrollNavigation() local
218 content::TitleWatcher title_watcher(web_contents, expected_title); in TestOverscrollNavigation()
225 EXPECT_EQ(expected_title, actual_title); in TestOverscrollNavigation()
235 base::string16 expected_title = ASCIIToUTF16("Title: #1"); in TestOverscrollNavigation() local
236 content::TitleWatcher title_watcher(web_contents, expected_title); in TestOverscrollNavigation()
243 EXPECT_EQ(expected_title, actual_title); in TestOverscrollNavigation()
441 base::string16 expected_title = ASCIIToUTF16("Title: #2"); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/content/test/
Dcontent_browser_test_test.cc34 base::string16 expected_title(ASCIIToUTF16("OK")); in Test() local
35 TitleWatcher title_watcher(shell()->web_contents(), expected_title); in Test()
38 EXPECT_EQ(expected_title, title); in Test()
/external/chromium/chrome/browser/
Dunload_uitest.cc106 void CheckTitle(const std::wstring& expected_title) { in CheckTitle() argument
110 if (expected_title == GetActiveTabTitle()) in CheckTitle()
115 EXPECT_EQ(expected_title, GetActiveTabTitle()); in CheckTitle()
119 const std::wstring& expected_title) { in NavigateToDataURL() argument
121 CheckTitle(expected_title); in NavigateToDataURL()
148 const std::wstring& expected_title = L"") { in LoadUrlAndQuitBrowser() argument
151 NavigateToDataURL(html_content, expected_title); in LoadUrlAndQuitBrowser()
/external/chromium_org/content/browser/worker_host/test/
Dworker_browsertest.cc45 const base::string16 expected_title = ASCIIToUTF16("OK"); in RunTest() local
46 TitleWatcher title_watcher(window->web_contents(), expected_title); in RunTest()
49 EXPECT_EQ(expected_title, final_title); in RunTest()
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_org/chrome/browser/history/
Dhistory_browsertest.cc104 base::string16 expected_title(ASCIIToUTF16("OK")); in LoadAndWaitForURL() local
106 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); in LoadAndWaitForURL()
109 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in LoadAndWaitForURL()
469 base::string16 expected_title(ASCIIToUTF16("Target Page")); in IN_PROC_BROWSER_TEST_F() local
471 browser()->tab_strip_model()->GetActiveWebContents(), expected_title); in IN_PROC_BROWSER_TEST_F()
474 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
491 base::string16 expected_title(ASCIIToUTF16("History")); in IN_PROC_BROWSER_TEST_F() local
492 content::TitleWatcher title_watcher(web_contents, expected_title); in IN_PROC_BROWSER_TEST_F()
494 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/webstore_private/
Dwebstore_private_apitest.cc154 base::string16 expected_title = UTF8ToUTF16("PASS: about:blank"); in IN_PROC_BROWSER_TEST_F() local
156 content::TitleWatcher watcher(contents, expected_title); in IN_PROC_BROWSER_TEST_F()
162 EXPECT_EQ(expected_title, final_title); in IN_PROC_BROWSER_TEST_F()
171 base::string16 expected_title = UTF8ToUTF16("PASS: about:blank"); in IN_PROC_BROWSER_TEST_F() local
173 content::TitleWatcher watcher(contents, expected_title); in IN_PROC_BROWSER_TEST_F()
179 EXPECT_EQ(expected_title, final_title); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/webui/print_preview/
Dprint_preview_ui_browsertest.cc99 base::string16 expected_title(ASCIIToUTF16("ready")); in IN_PROC_BROWSER_TEST_F() local
102 content::TitleWatcher title_watcher(tab, expected_title); in IN_PROC_BROWSER_TEST_F()
109 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dstar_view_browsertest.cc102 base::string16 expected_title(ASCIIToUTF16("ready")); in IN_PROC_BROWSER_TEST_F() local
105 content::TitleWatcher title_watcher(tab, expected_title); in IN_PROC_BROWSER_TEST_F()
111 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/ui/webui/
Dprint_preview_ui_uitest.cc29 string16 expected_title = in AssertIsPrintPage() local
31 ASSERT_EQ(expected_title, WideToUTF16Hack(title)); in AssertIsPrintPage()
/external/chromium_org/chrome/browser/ui/webui/options/
Doptions_ui_browsertest.cc71 base::string16 expected_title = l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE); in VerifyTitle() local
72 EXPECT_NE(title.find(expected_title), base::string16::npos); in VerifyTitle()
/external/chromium_org/chrome/test/functional/
Dspecial_tabs.py266 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/
Dmedia_browsertest.cc62 const base::string16 expected_title = ASCIIToUTF16(expected); in RunTest() local
64 TitleWatcher title_watcher(shell()->web_contents(), expected_title); in RunTest()
69 EXPECT_EQ(expected_title, final_title); in RunTest()
/external/chromium/chrome/browser/ui/webui/options/
Doptions_ui_uitest.cc31 string16 expected_title = l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE); in AssertIsOptionsPage() local
34 ASSERT_FALSE(WideToUTF16Hack(title).find(expected_title) == string16::npos); in AssertIsOptionsPage()
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_manager_browsertest.cc601 base::string16 expected_title = ASCIIToUTF16("msg"); in IN_PROC_BROWSER_TEST_F() local
602 TitleWatcher title_watcher(foo_contents, expected_title); in IN_PROC_BROWSER_TEST_F()
610 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
630 expected_title = ASCIIToUTF16("msg2"); in IN_PROC_BROWSER_TEST_F()
631 TitleWatcher title_watcher2(foo_contents, expected_title); in IN_PROC_BROWSER_TEST_F()
637 ASSERT_EQ(expected_title, title_watcher2.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
982 base::string16 expected_title = ASCIIToUTF16("Modified Title"); in IN_PROC_BROWSER_TEST_F() local
983 TitleWatcher title_watcher(contents, expected_title); in IN_PROC_BROWSER_TEST_F()
990 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in IN_PROC_BROWSER_TEST_F()
1378 base::string16 expected_title = ASCIIToUTF16("msg"); in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/chrome/browser/apps/
Dweb_view_interactive_browsertest.cc300 base::string16 expected_title(ASCIIToUTF16(title)); in WaitForTitle() local
302 content::TitleWatcher title_watcher(guest_web_contents(), expected_title); in WaitForTitle()
304 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in WaitForTitle()
327 base::string16 expected_title = ASCIIToUTF16("PASSED2"); in PopupTestHelper() local
329 content::TitleWatcher title_watcher(guest_web_contents(), expected_title); in PopupTestHelper()
333 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle()); in PopupTestHelper()
/external/chromium_org/content/public/test/
Dbrowser_test_utils.h199 const base::string16& expected_title);
203 void AlsoWaitForTitle(const base::string16& expected_title);

12