| OLD | NEW |
| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 } | 180 } |
| 181 | 181 |
| 182 //============================== | 182 //============================== |
| 183 // chrome://newtab | 183 // chrome://newtab |
| 184 //============================== | 184 //============================== |
| 185 | 185 |
| 186 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestNewTabPage) { | 186 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestNewTabPage) { |
| 187 RunBidiCheckerOnPage(chrome::kChromeUINewTabURL); | 187 RunBidiCheckerOnPage(chrome::kChromeUINewTabURL); |
| 188 } | 188 } |
| 189 | 189 |
| 190 // http://crbug.com/97453 | 190 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, TestNewTabPage) { |
| 191 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, | |
| 192 DISABLED_TestNewTabPage) { | |
| 193 RunBidiCheckerOnPage(chrome::kChromeUINewTabURL); | 191 RunBidiCheckerOnPage(chrome::kChromeUINewTabURL); |
| 194 } | 192 } |
| 195 | 193 |
| 196 //============================== | 194 //============================== |
| 197 // chrome://plugins | 195 // chrome://plugins |
| 198 //============================== | 196 //============================== |
| 199 | 197 |
| 200 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestPluginsPage) { | 198 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestLTR, TestPluginsPage) { |
| 201 RunBidiCheckerOnPage(chrome::kChromeUIPluginsURL); | 199 RunBidiCheckerOnPage(chrome::kChromeUIPluginsURL); |
| 202 } | 200 } |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 url += std::string(chrome::kSearchEnginesSubPage); | 408 url += std::string(chrome::kSearchEnginesSubPage); |
| 411 RunBidiCheckerOnPage(url.c_str()); | 409 RunBidiCheckerOnPage(url.c_str()); |
| 412 } | 410 } |
| 413 | 411 |
| 414 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, | 412 IN_PROC_BROWSER_TEST_F(WebUIBidiCheckerBrowserTestRTL, |
| 415 TestSettingsSearchEnginesOptionsPage) { | 413 TestSettingsSearchEnginesOptionsPage) { |
| 416 std::string url(chrome::kChromeUISettingsURL); | 414 std::string url(chrome::kChromeUISettingsURL); |
| 417 url += std::string(chrome::kSearchEnginesSubPage); | 415 url += std::string(chrome::kSearchEnginesSubPage); |
| 418 RunBidiCheckerOnPage(url.c_str()); | 416 RunBidiCheckerOnPage(url.c_str()); |
| 419 } | 417 } |
| OLD | NEW |