| 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 // 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "chrome/common/json_pref_store.h" | 57 #include "chrome/common/json_pref_store.h" |
| 58 #include "chrome/common/logging_chrome.h" | 58 #include "chrome/common/logging_chrome.h" |
| 59 #include "chrome/common/pref_names.h" | 59 #include "chrome/common/pref_names.h" |
| 60 #include "chrome/common/render_messages.h" | 60 #include "chrome/common/render_messages.h" |
| 61 #include "chrome/common/url_constants.h" | 61 #include "chrome/common/url_constants.h" |
| 62 #include "chrome/test/automation/automation_proxy.h" | 62 #include "chrome/test/automation/automation_proxy.h" |
| 63 #include "chrome/test/automation/browser_proxy.h" | 63 #include "chrome/test/automation/browser_proxy.h" |
| 64 #include "chrome/test/automation/tab_proxy.h" | 64 #include "chrome/test/automation/tab_proxy.h" |
| 65 #include "chrome/test/automation/window_proxy.h" | 65 #include "chrome/test/automation/window_proxy.h" |
| 66 #include "chrome/test/ui/ui_test.h" | 66 #include "chrome/test/ui/ui_test.h" |
| 67 #include "content/common/notification_service.h" | |
| 68 #include "net/base/net_util.h" | 67 #include "net/base/net_util.h" |
| 69 #include "ui/base/keycodes/keyboard_codes.h" | 68 #include "ui/base/keycodes/keyboard_codes.h" |
| 70 #include "v8/include/v8-testing.h" | 69 #include "v8/include/v8-testing.h" |
| 71 | 70 |
| 72 namespace { | 71 namespace { |
| 73 | 72 |
| 74 // See comments at the beginning of the file for the definition of switches. | 73 // See comments at the beginning of the file for the definition of switches. |
| 75 const char kSiteSwitch[] = "site"; | 74 const char kSiteSwitch[] = "site"; |
| 76 const char kStartPageSwitch[] = "startpage"; | 75 const char kStartPageSwitch[] = "startpage"; |
| 77 const char kEndPageSwitch[] = "endpage"; | 76 const char kEndPageSwitch[] = "endpage"; |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 if (!g_end_url.empty()) { | 802 if (!g_end_url.empty()) { |
| 804 NavigateToURLLogResult( | 803 NavigateToURLLogResult( |
| 805 g_end_url, log_file, NULL, g_continuous_load, false); | 804 g_end_url, log_file, NULL, g_continuous_load, false); |
| 806 } | 805 } |
| 807 | 806 |
| 808 log_file.close(); | 807 log_file.close(); |
| 809 } | 808 } |
| 810 | 809 |
| 811 } // namespace | 810 } // namespace |
| 812 | 811 |
| OLD | NEW |