OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/prefs/pref_service.h" | |
12 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
13 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
14 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
15 #include "base/time/time.h" | 14 #include "base/time/time.h" |
16 #include "base/values.h" | 15 #include "base/values.h" |
17 #include "build/build_config.h" | 16 #include "build/build_config.h" |
18 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 17 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
19 #include "chrome/browser/history/history_service_factory.h" | 18 #include "chrome/browser/history/history_service_factory.h" |
20 #include "chrome/browser/prefs/session_startup_pref.h" | 19 #include "chrome/browser/prefs/session_startup_pref.h" |
21 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
22 #include "chrome/browser/ui/browser.h" | 21 #include "chrome/browser/ui/browser.h" |
23 #include "chrome/common/url_constants.h" | 22 #include "chrome/common/url_constants.h" |
24 #include "chrome/test/base/ui_test_utils.h" | 23 #include "chrome/test/base/ui_test_utils.h" |
25 #include "components/autofill/core/browser/autofill_profile.h" | 24 #include "components/autofill/core/browser/autofill_profile.h" |
26 #include "components/autofill/core/browser/autofill_test_utils.h" | 25 #include "components/autofill/core/browser/autofill_test_utils.h" |
27 #include "components/autofill/core/browser/personal_data_manager.h" | 26 #include "components/autofill/core/browser/personal_data_manager.h" |
28 #include "components/history/core/browser/history_service.h" | 27 #include "components/history/core/browser/history_service.h" |
| 28 #include "components/prefs/pref_service.h" |
29 #include "content/public/browser/browser_thread.h" | 29 #include "content/public/browser/browser_thread.h" |
30 #include "ui/base/resource/resource_bundle.h" | 30 #include "ui/base/resource/resource_bundle.h" |
31 | 31 |
32 // Test cases here are disabled on all platforms due to http://crbug.com/511439 | 32 // Test cases here are disabled on all platforms due to http://crbug.com/511439 |
33 | 33 |
34 using autofill::AutofillProfile; | 34 using autofill::AutofillProfile; |
35 using autofill::PersonalDataManager; | 35 using autofill::PersonalDataManager; |
36 | 36 |
37 static const base::FilePath::CharType* kWebUIBidiCheckerLibraryJS = | 37 static const base::FilePath::CharType* kWebUIBidiCheckerLibraryJS = |
38 FILE_PATH_LITERAL("third_party/bidichecker/bidichecker_packaged.js"); | 38 FILE_PATH_LITERAL("third_party/bidichecker/bidichecker_packaged.js"); |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 | 735 |
736 IN_PROC_BROWSER_TEST_F(DISABLED_WebUIBidiCheckerBrowserTestLTR, | 736 IN_PROC_BROWSER_TEST_F(DISABLED_WebUIBidiCheckerBrowserTestLTR, |
737 TestHistoryFrame) { | 737 TestHistoryFrame) { |
738 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL); | 738 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL); |
739 } | 739 } |
740 | 740 |
741 IN_PROC_BROWSER_TEST_F(DISABLED_WebUIBidiCheckerBrowserTestRTL, | 741 IN_PROC_BROWSER_TEST_F(DISABLED_WebUIBidiCheckerBrowserTestRTL, |
742 TestHistoryFrame) { | 742 TestHistoryFrame) { |
743 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL); | 743 RunBidiCheckerOnPage(chrome::kChromeUIHistoryFrameURL); |
744 } | 744 } |
OLD | NEW |