| 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 25 matching lines...) Expand all Loading... |
| 36 #include <vector> | 36 #include <vector> |
| 37 | 37 |
| 38 #include "base/command_line.h" | 38 #include "base/command_line.h" |
| 39 #include "base/environment.h" | 39 #include "base/environment.h" |
| 40 #include "base/file_path.h" | 40 #include "base/file_path.h" |
| 41 #include "base/file_util.h" | 41 #include "base/file_util.h" |
| 42 #include "base/file_version_info.h" | 42 #include "base/file_version_info.h" |
| 43 #include "base/i18n/time_formatting.h" | 43 #include "base/i18n/time_formatting.h" |
| 44 #include "base/memory/scoped_ptr.h" | 44 #include "base/memory/scoped_ptr.h" |
| 45 #include "base/path_service.h" | 45 #include "base/path_service.h" |
| 46 #include "base/prefs/json_pref_store.h" |
| 46 #include "base/string_number_conversions.h" | 47 #include "base/string_number_conversions.h" |
| 47 #include "base/string_util.h" | 48 #include "base/string_util.h" |
| 48 #include "base/test/test_file_util.h" | 49 #include "base/test/test_file_util.h" |
| 49 #include "base/threading/platform_thread.h" | 50 #include "base/threading/platform_thread.h" |
| 50 #include "base/time.h" | 51 #include "base/time.h" |
| 51 #include "chrome/browser/net/url_fixer_upper.h" | 52 #include "chrome/browser/net/url_fixer_upper.h" |
| 52 #include "chrome/browser/prefs/pref_service.h" | 53 #include "chrome/browser/prefs/pref_service.h" |
| 53 #include "chrome/browser/prefs/pref_service_mock_builder.h" | 54 #include "chrome/browser/prefs/pref_service_mock_builder.h" |
| 54 #include "chrome/common/automation_messages.h" | 55 #include "chrome/common/automation_messages.h" |
| 55 #include "chrome/common/chrome_constants.h" | 56 #include "chrome/common/chrome_constants.h" |
| 56 #include "chrome/common/chrome_paths.h" | 57 #include "chrome/common/chrome_paths.h" |
| 57 #include "chrome/common/chrome_switches.h" | 58 #include "chrome/common/chrome_switches.h" |
| 58 #include "chrome/common/chrome_version_info.h" | 59 #include "chrome/common/chrome_version_info.h" |
| 59 #include "chrome/common/json_pref_store.h" | |
| 60 #include "chrome/common/logging_chrome.h" | 60 #include "chrome/common/logging_chrome.h" |
| 61 #include "chrome/common/pref_names.h" | 61 #include "chrome/common/pref_names.h" |
| 62 #include "chrome/common/render_messages.h" | 62 #include "chrome/common/render_messages.h" |
| 63 #include "chrome/common/url_constants.h" | 63 #include "chrome/common/url_constants.h" |
| 64 #include "chrome/test/automation/automation_proxy.h" | 64 #include "chrome/test/automation/automation_proxy.h" |
| 65 #include "chrome/test/automation/browser_proxy.h" | 65 #include "chrome/test/automation/browser_proxy.h" |
| 66 #include "chrome/test/automation/tab_proxy.h" | 66 #include "chrome/test/automation/tab_proxy.h" |
| 67 #include "chrome/test/automation/window_proxy.h" | 67 #include "chrome/test/automation/window_proxy.h" |
| 68 #include "chrome/test/ui/ui_test.h" | 68 #include "chrome/test/ui/ui_test.h" |
| 69 #include "net/base/net_util.h" | 69 #include "net/base/net_util.h" |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 if (!g_end_url.empty()) { | 812 if (!g_end_url.empty()) { |
| 813 NavigateToURLLogResult( | 813 NavigateToURLLogResult( |
| 814 g_end_url, log_file, NULL, g_continuous_load, false); | 814 g_end_url, log_file, NULL, g_continuous_load, false); |
| 815 } | 815 } |
| 816 | 816 |
| 817 log_file.close(); | 817 log_file.close(); |
| 818 } | 818 } |
| 819 | 819 |
| 820 } // namespace | 820 } // namespace |
| 821 | 821 |
| OLD | NEW |