Searched defs:expected_title (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/content/browser/shared_worker/
H A Dworker_browsertest.cc43 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/media/
H A Dmedia_browsertest.cc32 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 Dencrypted_media_browsertest.cc122 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/content/browser/loader/
H A Dresource_dispatcher_host_browsertest.cc66 const std::string& expected_title) {
67 base::string16 expected_title16(ASCIIToUTF16(expected_title));
65 CheckTitleTest(const GURL& url, const std::string& expected_title) argument
/external/chromium_org/content/browser/
H A Dsession_history_browsertest.cc101 const std::string& expected_title) {
102 base::string16 expected_title16(base::ASCIIToUTF16(expected_title));
100 NavigateAndCheckTitle(const char* filename, const std::string& expected_title) argument
/external/chromium_org/chrome/browser/prefetch/
H A Dprefetch_browsertest.cc67 const base::string16 expected_title = local
71 browser->tab_strip_model()->GetActiveWebContents(), expected_title);
73 return expected_title == title_watcher.WaitAndGetTitle();
/external/chromium_org/content/browser/media/
H A Dmedia_browsertest.cc32 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/content/renderer/
H A Dbrowser_render_view_browsertest.cc158 // 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/extensions/api/webstore_private/
H A Dwebstore_private_apitest.cc185 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/
H A Dreferrer_policy_browsertest.cc167 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 Dunload_browsertest.cc135 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 Derrorpage_browsertest.cc312 // 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...]
/external/chromium_org/chrome/browser/sessions/
H A Dbetter_session_restore_browsertest.cc224 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);
/external/chromium_org/chrome/browser/ui/webui/options/
H A Doptions_ui_browsertest.cc170 base::string16 expected_title = l10n_util::GetStringUTF16(IDS_SETTINGS_TITLE); local
171 EXPECT_NE(title.find(expected_title), base::string16::npos);
/external/chromium_org/chrome/browser/ui/login/
H A Dlogin_prompt_browsertest.cc233 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/search/
H A Dinstant_extended_interactive_uitest.cc979 std::string expected_title = local
981 EXPECT_EQ(ASCIIToUTF16(expected_title), contents->GetTitle());
/external/chromium_org/content/browser/frame_host/
H A Drender_frame_host_manager_browsertest.cc602 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 Dweb_contents_view_aura_browsertest.cc307 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/chrome/browser/apps/
H A Dweb_view_interactive_browsertest.cc438 base::string16 expected_title(base::ASCIIToUTF16(title));
440 content::TitleWatcher title_watcher(guest_web_contents(), expected_title); local
442 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle());
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_model_unittest.cc42 const std::string expected_title; member in struct:bookmarks::__anon6362::__anon6363
71 const std::string expected_title; member in struct:bookmarks::__anon6362::__anon6364
383 EXPECT_EQ(ASCIIToUTF16(url_whitespace_test_cases[i].expected_title),
469 EXPECT_EQ(ASCIIToUTF16(title_whitespace_test_cases[i].expected_title),
565 EXPECT_EQ(ASCIIToUTF16(title_whitespace_test_cases[i].expected_title),
/external/chromium_org/content/public/test/
H A Dbrowser_test_utils.cc597 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/ui/
H A Dbrowser_browsertest.cc346 const base::string16& expected_title) {
347 base::string16 page_title = WindowCaptionFromPageTitle(expected_title);
2185 base::string16 expected_title(ASCIIToUTF16("Disallowed"));
2187 browser()->tab_strip_model()->GetActiveWebContents(), expected_title);
2190 ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle());
345 LocaleWindowCaptionFromPageTitle( const base::string16& expected_title) argument
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_browsertest.cc199 base::string16 expected_title = base::ASCIIToUTF16(expected_title_ascii); local
200 if (web_contents->GetTitle() == expected_title)
202 content::TitleWatcher title_watcher(web_contents, expected_title);
203 EXPECT_EQ(expected_title, title_watcher.WaitAndGetTitle());

Completed in 514 milliseconds