OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 tests which run for ChromeFrame. | 5 // This file provides reliablity tests which run for ChromeFrame. |
6 // | 6 // |
7 // Usage: | 7 // Usage: |
8 // <reliability test exe> --list=file --startline=start --endline=end [...] | 8 // <reliability test exe> --list=file --startline=start --endline=end [...] |
9 // Upon invocation, it visits each of the URLs on line numbers between start | 9 // Upon invocation, it visits each of the URLs on line numbers between start |
10 // and end, inclusive, stored in the input file. The line number starts from 1. | 10 // and end, inclusive, stored in the input file. The line number starts from 1. |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "base/path_service.h" | 30 #include "base/path_service.h" |
31 #include "base/string_number_conversions.h" | 31 #include "base/string_number_conversions.h" |
32 #include "base/string_util.h" | 32 #include "base/string_util.h" |
33 #include "base/test/test_file_util.h" | 33 #include "base/test/test_file_util.h" |
34 #include "base/time.h" | 34 #include "base/time.h" |
35 #include "base/utf_string_conversions.h" | 35 #include "base/utf_string_conversions.h" |
36 #include "chrome/browser/browser_thread.h" | 36 #include "chrome/browser/browser_thread.h" |
37 #include "chrome/browser/net/url_fixer_upper.h" | 37 #include "chrome/browser/net/url_fixer_upper.h" |
38 #include "chrome/browser/prefs/pref_service.h" | 38 #include "chrome/browser/prefs/pref_service.h" |
39 #include "chrome/browser/prefs/pref_value_store.h" | 39 #include "chrome/browser/prefs/pref_value_store.h" |
40 #include "chrome/common/automation_messages.h" | |
41 #include "chrome/common/chrome_constants.h" | 40 #include "chrome/common/chrome_constants.h" |
42 #include "chrome/common/chrome_paths.h" | 41 #include "chrome/common/chrome_paths.h" |
43 #include "chrome/common/chrome_paths_internal.h" | 42 #include "chrome/common/chrome_paths_internal.h" |
44 #include "chrome/common/chrome_switches.h" | 43 #include "chrome/common/chrome_switches.h" |
45 #include "chrome/common/json_pref_store.h" | 44 #include "chrome/common/json_pref_store.h" |
46 #include "chrome/common/logging_chrome.h" | 45 #include "chrome/common/logging_chrome.h" |
47 #include "chrome/common/pref_names.h" | 46 #include "chrome/common/pref_names.h" |
48 #include "chrome_frame/test/chrome_frame_test_utils.h" | 47 #include "chrome_frame/test/chrome_frame_test_utils.h" |
49 #include "chrome_frame/test/ie_event_sink.h" | 48 #include "chrome_frame/test/ie_event_sink.h" |
| 49 #include "chrome/test/automation/automation_messages.h" |
50 #include "chrome/test/automation/automation_proxy.h" | 50 #include "chrome/test/automation/automation_proxy.h" |
51 #include "chrome/test/automation/browser_proxy.h" | 51 #include "chrome/test/automation/browser_proxy.h" |
52 #include "chrome/test/automation/tab_proxy.h" | 52 #include "chrome/test/automation/tab_proxy.h" |
53 #include "chrome/test/automation/window_proxy.h" | 53 #include "chrome/test/automation/window_proxy.h" |
54 #include "chrome/test/ui/ui_test.h" | 54 #include "chrome/test/ui/ui_test.h" |
55 #include "chrome/test/reliability/page_load_test.h" | 55 #include "chrome/test/reliability/page_load_test.h" |
56 #include "chrome_frame/utils.h" | 56 #include "chrome_frame/utils.h" |
57 #include "net/base/net_util.h" | 57 #include "net/base/net_util.h" |
58 #include "testing/gmock/include/gmock/gmock.h" | 58 #include "testing/gmock/include/gmock/gmock.h" |
59 #include "testing/gtest/include/gtest/gtest.h" | 59 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); | 580 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); |
581 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { | 581 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { |
582 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); | 582 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); |
583 if (!file_util::AbsolutePath(&g_v8_log_path)) | 583 if (!file_util::AbsolutePath(&g_v8_log_path)) |
584 g_v8_log_path = FilePath(); | 584 g_v8_log_path = FilePath(); |
585 } | 585 } |
586 } | 586 } |
587 } | 587 } |
588 } | 588 } |
589 } | 589 } |
OLD | NEW |