OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 URLs. This is mainly used | 9 // Upon invocation, it visits a hard coded list of URLs. This is mainly used |
10 // by buildbot, to verify reliability_test itself runs ok. | 10 // by buildbot, to verify reliability_test itself runs ok. |
(...skipping 22 matching lines...) Expand all Loading... |
33 // --nopagedown: won't simulate page down key presses after page load. | 33 // --nopagedown: won't simulate page down key presses after page load. |
34 // --savedebuglog: save Chrome and v8 debug log for each page loaded. | 34 // --savedebuglog: save Chrome and v8 debug log for each page loaded. |
35 | 35 |
36 #include <fstream> | 36 #include <fstream> |
37 #include <iostream> | 37 #include <iostream> |
38 | 38 |
39 #include "base/command_line.h" | 39 #include "base/command_line.h" |
40 #include "base/file_util.h" | 40 #include "base/file_util.h" |
41 #include "base/path_service.h" | 41 #include "base/path_service.h" |
42 #include "base/string_util.h" | 42 #include "base/string_util.h" |
43 #include "chrome/browser/url_fixer_upper.h" | 43 #include "chrome/browser/net/url_fixer_upper.h" |
44 #include "chrome/common/chrome_constants.h" | 44 #include "chrome/common/chrome_constants.h" |
45 #include "chrome/common/chrome_paths.h" | 45 #include "chrome/common/chrome_paths.h" |
46 #include "chrome/common/chrome_switches.h" | 46 #include "chrome/common/chrome_switches.h" |
47 #include "chrome/common/logging_chrome.h" | 47 #include "chrome/common/logging_chrome.h" |
48 #include "chrome/common/pref_names.h" | 48 #include "chrome/common/pref_names.h" |
49 #include "chrome/common/pref_service.h" | 49 #include "chrome/common/pref_service.h" |
50 #include "chrome/test/automation/automation_messages.h" | 50 #include "chrome/test/automation/automation_messages.h" |
51 #include "chrome/test/automation/automation_proxy.h" | 51 #include "chrome/test/automation/automation_proxy.h" |
52 #include "chrome/test/automation/browser_proxy.h" | 52 #include "chrome/test/automation/browser_proxy.h" |
53 #include "chrome/test/automation/tab_proxy.h" | 53 #include "chrome/test/automation/tab_proxy.h" |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { | 629 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { |
630 v8_log_path = v8_command_line.GetSwitchValue(kV8LogFileSwitch); | 630 v8_log_path = v8_command_line.GetSwitchValue(kV8LogFileSwitch); |
631 if (!file_util::AbsolutePath(&v8_log_path)) { | 631 if (!file_util::AbsolutePath(&v8_log_path)) { |
632 v8_log_path.clear(); | 632 v8_log_path.clear(); |
633 } | 633 } |
634 } | 634 } |
635 } | 635 } |
636 } | 636 } |
637 } | 637 } |
638 } | 638 } |
OLD | NEW |