| 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/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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |