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

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

Issue 9006003: Refactor and fix feedback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra include. Created 9 years 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/bidi_checker_web_ui_test.h" 5 #include "chrome/browser/ui/webui/bidi_checker_web_ui_test.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/i18n/rtl.h" 8 #include "base/i18n/rtl.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 //============================== 137 //==============================
138 // chrome://bugreport 138 // chrome://bugreport
139 //============================== 139 //==============================
140 // TestBugReportPage fails on chromeos Debug build. crbug.com/105631 140 // TestBugReportPage fails on chromeos Debug build. crbug.com/105631
141 #if defined(OS_CHROMEOS) 141 #if defined(OS_CHROMEOS)
142 #define MAYBE_TestBugReportPage DISABLED_TestBugReportPage 142 #define MAYBE_TestBugReportPage DISABLED_TestBugReportPage
143 #else 143 #else
144 #define MAYBE_TestBugReportPage TestBugReportPage 144 #define MAYBE_TestBugReportPage TestBugReportPage
145 #endif 145 #endif
146 146
147 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, MAYBE_TestBugReportPage) 147 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR,
148 { 148 MAYBE_TestBugReportPage) {
149 // The bugreport page receives its contents as GET arguments. Here we provide 149 // The bugreport page receives its contents as GET arguments. Here we provide
150 // a custom, Hebrew typed, description message. 150 // a custom, Hebrew typed, description message.
151 RunBidiCheckerOnPage( 151 RunBidiCheckerOnPage(
152 "chrome://bugreport#0?description=%D7%91%D7%93%D7%99%D7%A7%D7%94" 152 "chrome://feedback#0?description=%D7%91%D7%93%D7%99%D7%A7%D7%94"
153 "&issueType=1"); 153 "&issueType=1");
154 } 154 }
155 155
156 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, 156 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL,
157 MAYBE_TestBugReportPage) { 157 MAYBE_TestBugReportPage) {
158 RunBidiCheckerOnPage("chrome://bugreport#0?description=test&issueType=1"); 158 RunBidiCheckerOnPage("chrome://feedback#0?description=test&issueType=1");
159 } 159 }
160 160
161 //============================== 161 //==============================
162 // chrome://crashes 162 // chrome://crashes
163 //============================== 163 //==============================
164 164
165 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestCrashesPage) { 165 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestCrashesPage) {
166 RunBidiCheckerOnPage(chrome::kChromeUICrashesURL); 166 RunBidiCheckerOnPage(chrome::kChromeUICrashesURL);
167 } 167 }
168 168
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 url += std::string(chrome::kSearchEnginesSubPage); 415 url += std::string(chrome::kSearchEnginesSubPage);
416 RunBidiCheckerOnPage(url.c_str()); 416 RunBidiCheckerOnPage(url.c_str());
417 } 417 }
418 418
419 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, 419 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL,
420 TestSettingsSearchEnginesOptionsPage) { 420 TestSettingsSearchEnginesOptionsPage) {
421 std::string url(chrome::kChromeUISettingsURL); 421 std::string url(chrome::kChromeUISettingsURL);
422 url += std::string(chrome::kSearchEnginesSubPage); 422 url += std::string(chrome::kSearchEnginesSubPage);
423 RunBidiCheckerOnPage(url.c_str()); 423 RunBidiCheckerOnPage(url.c_str());
424 } 424 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698