Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: chrome/browser/ui/webui/BidiCheckerWebUITest.cc

Issue 7064052: Revert 88142 to fix sync_integration_tests offline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/BidiCheckerWebUITest.h" 5 #include "chrome/browser/ui/webui/BidiCheckerWebUITest.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const GURL history_url = GURL("http://www.ynet.co.il"); 56 const GURL history_url = GURL("http://www.ynet.co.il");
57 history_service->AddPage(history_url, history::SOURCE_BROWSED); 57 history_service->AddPage(history_url, history::SOURCE_BROWSED);
58 string16 title; 58 string16 title;
59 ASSERT_TRUE(UTF8ToUTF16("\xD7\x91\xD7\x93\xD7\x99\xD7\xA7\xD7\x94\x21", 59 ASSERT_TRUE(UTF8ToUTF16("\xD7\x91\xD7\x93\xD7\x99\xD7\xA7\xD7\x94\x21",
60 12, 60 12,
61 &title)); 61 &title));
62 history_service->SetPageTitle(history_url, title); 62 history_service->SetPageTitle(history_url, title);
63 RunBidiCheckerOnPage(chrome::kChromeUIHistoryURL, false); 63 RunBidiCheckerOnPage(chrome::kChromeUIHistoryURL, false);
64 } 64 }
65 65
66 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestAboutAboutPageLTR) {\
67 RunBidiCheckerOnPage(chrome::kChromeUIAboutAboutURL, false);\
68 }
69
66 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestAboutPageLTR) {\ 70 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestAboutPageLTR) {\
67 RunBidiCheckerOnPage(chrome::kChromeUIAboutURL, false);\ 71 RunBidiCheckerOnPage(chrome::kChromeUIAboutURL, false);\
68 } 72 }
69 73
70 // Times out. http://code.google.com/p/chromium/issues/detail?id=82896 74 // Times out. http://code.google.com/p/chromium/issues/detail?id=82896
71 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, 75 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest,
72 DISABLED_TestBookmarksPageLTR) {\ 76 DISABLED_TestBookmarksPageLTR) {\
73 RunBidiCheckerOnPage(chrome::kChromeUIBookmarksURL, false);\ 77 RunBidiCheckerOnPage(chrome::kChromeUIBookmarksURL, false);\
74 } 78 }
75 79
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 "0000"); 125 "0000");
122 126
123 PersonalDataManager* personal_data_manager = 127 PersonalDataManager* personal_data_manager =
124 browser()->profile()->GetPersonalDataManager(); 128 browser()->profile()->GetPersonalDataManager();
125 ASSERT_TRUE(personal_data_manager); 129 ASSERT_TRUE(personal_data_manager);
126 130
127 personal_data_manager->AddProfile(profile); 131 personal_data_manager->AddProfile(profile);
128 132
129 RunBidiCheckerOnPage(url.c_str(), false); 133 RunBidiCheckerOnPage(url.c_str(), false);
130 } 134 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/ui/webui/chrome_url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698