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

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

Issue 7049004: Normalize chrome://foo/ trailing slashes, ChromeURLHostEquals comparison, RIP dead consts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move ChromeURLHostEquals to web_ui_util. Created 9 years, 7 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
« no previous file with comments | « chrome/browser/ui/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/ui/webui/web_ui_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 } 64 }
65 65
66 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestAboutAboutPageLTR) {\ 66 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestAboutAboutPageLTR) {\
67 RunBidiCheckerOnPage(chrome::kChromeUIAboutAboutURL, false);\ 67 RunBidiCheckerOnPage(chrome::kChromeUIAboutAboutURL, false);\
68 } 68 }
69 69
70 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestAboutPageLTR) {\ 70 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestAboutPageLTR) {\
71 RunBidiCheckerOnPage(chrome::kChromeUIAboutURL, false);\ 71 RunBidiCheckerOnPage(chrome::kChromeUIAboutURL, false);\
72 } 72 }
73 73
74 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestAppLauncherPageLTR) {\
75 RunBidiCheckerOnPage(chrome::kChromeUIAppLauncherURL, false);\
76 }
77
78 // 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
79 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, 75 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest,
80 DISABLED_TestBookmarksPageLTR) {\ 76 DISABLED_TestBookmarksPageLTR) {\
81 RunBidiCheckerOnPage(chrome::kChromeUIBookmarksURL, false);\ 77 RunBidiCheckerOnPage(chrome::kChromeUIBookmarksURL, false);\
82 } 78 }
83 79
84 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestBugReportPageLTR) {\ 80 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTest, TestBugReportPageLTR) {\
85 RunBidiCheckerOnPage(chrome::kChromeUIBugReportURL, false);\ 81 RunBidiCheckerOnPage(chrome::kChromeUIBugReportURL, false);\
86 } 82 }
87 83
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 "0000"); 125 "0000");
130 126
131 PersonalDataManager* personal_data_manager = 127 PersonalDataManager* personal_data_manager =
132 browser()->profile()->GetPersonalDataManager(); 128 browser()->profile()->GetPersonalDataManager();
133 ASSERT_TRUE(personal_data_manager); 129 ASSERT_TRUE(personal_data_manager);
134 130
135 personal_data_manager->AddProfile(profile); 131 personal_data_manager->AddProfile(profile);
136 132
137 RunBidiCheckerOnPage(url.c_str(), false); 133 RunBidiCheckerOnPage(url.c_str(), false);
138 } 134 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_toolbar_gtk.cc ('k') | chrome/browser/ui/webui/web_ui_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698