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 // This file provides reliablity test which runs under UI test framework. The | 5 // This file provides reliablity test which runs under UI test framework. The |
6 // test is intended to run within QEMU environment. | 6 // test is intended to run within QEMU environment. |
7 // | 7 // |
8 // Usage 1: reliability_test | 8 // Usage 1: reliability_test |
9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly | 9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly |
10 // used by buildbot, to verify reliability_test itself runs ok. | 10 // used by buildbot, to verify reliability_test itself runs ok. |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 #include "base/command_line.h" | 40 #include "base/command_line.h" |
41 #include "base/environment.h" | 41 #include "base/environment.h" |
42 #include "base/file_path.h" | 42 #include "base/file_path.h" |
43 #include "base/file_util.h" | 43 #include "base/file_util.h" |
44 #include "base/file_version_info.h" | 44 #include "base/file_version_info.h" |
45 #include "base/i18n/time_formatting.h" | 45 #include "base/i18n/time_formatting.h" |
46 #include "base/memory/scoped_ptr.h" | 46 #include "base/memory/scoped_ptr.h" |
47 #include "base/path_service.h" | 47 #include "base/path_service.h" |
48 #include "base/prefs/json_pref_store.h" | 48 #include "base/prefs/json_pref_store.h" |
| 49 #include "base/prefs/pref_registry_simple.h" |
| 50 #include "base/prefs/pref_service.h" |
49 #include "base/string_util.h" | 51 #include "base/string_util.h" |
50 #include "base/strings/string_number_conversions.h" | 52 #include "base/strings/string_number_conversions.h" |
51 #include "base/test/test_file_util.h" | 53 #include "base/test/test_file_util.h" |
52 #include "base/threading/platform_thread.h" | 54 #include "base/threading/platform_thread.h" |
53 #include "base/time.h" | 55 #include "base/time.h" |
54 #include "chrome/browser/net/url_fixer_upper.h" | 56 #include "chrome/browser/net/url_fixer_upper.h" |
55 #include "chrome/browser/prefs/pref_registry_simple.h" | |
56 #include "chrome/browser/prefs/pref_service.h" | |
57 #include "chrome/browser/prefs/pref_service_mock_builder.h" | 57 #include "chrome/browser/prefs/pref_service_mock_builder.h" |
58 #include "chrome/common/automation_messages.h" | 58 #include "chrome/common/automation_messages.h" |
59 #include "chrome/common/chrome_constants.h" | 59 #include "chrome/common/chrome_constants.h" |
60 #include "chrome/common/chrome_paths.h" | 60 #include "chrome/common/chrome_paths.h" |
61 #include "chrome/common/chrome_switches.h" | 61 #include "chrome/common/chrome_switches.h" |
62 #include "chrome/common/chrome_version_info.h" | 62 #include "chrome/common/chrome_version_info.h" |
63 #include "chrome/common/logging_chrome.h" | 63 #include "chrome/common/logging_chrome.h" |
64 #include "chrome/common/pref_names.h" | 64 #include "chrome/common/pref_names.h" |
65 #include "chrome/common/render_messages.h" | 65 #include "chrome/common/render_messages.h" |
66 #include "chrome/common/url_constants.h" | 66 #include "chrome/common/url_constants.h" |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 if (!g_end_url.empty()) { | 830 if (!g_end_url.empty()) { |
831 NavigateToURLLogResult( | 831 NavigateToURLLogResult( |
832 g_end_url, log_file, NULL, g_continuous_load, false); | 832 g_end_url, log_file, NULL, g_continuous_load, false); |
833 } | 833 } |
834 | 834 |
835 log_file.close(); | 835 log_file.close(); |
836 } | 836 } |
837 | 837 |
838 } // namespace | 838 } // namespace |
839 | 839 |
OLD | NEW |