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 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "chrome/common/pref_names.h" | 47 #include "chrome/common/pref_names.h" |
48 #include "chrome/test/automation/automation_proxy.h" | 48 #include "chrome/test/automation/automation_proxy.h" |
49 #include "chrome/test/automation/browser_proxy.h" | 49 #include "chrome/test/automation/browser_proxy.h" |
50 #include "chrome/test/automation/tab_proxy.h" | 50 #include "chrome/test/automation/tab_proxy.h" |
51 #include "chrome/test/automation/window_proxy.h" | 51 #include "chrome/test/automation/window_proxy.h" |
52 #include "chrome/test/ui/ui_test.h" | 52 #include "chrome/test/ui/ui_test.h" |
53 #include "chrome_frame/test/chrome_frame_test_utils.h" | 53 #include "chrome_frame/test/chrome_frame_test_utils.h" |
54 #include "chrome_frame/test/ie_event_sink.h" | 54 #include "chrome_frame/test/ie_event_sink.h" |
55 #include "chrome_frame/test/reliability/page_load_test.h" | 55 #include "chrome_frame/test/reliability/page_load_test.h" |
56 #include "chrome_frame/utils.h" | 56 #include "chrome_frame/utils.h" |
57 #include "content/test/test_browser_thread.h" | 57 #include "content/public/test/test_browser_thread.h" |
58 #include "net/base/net_util.h" | 58 #include "net/base/net_util.h" |
59 #include "testing/gmock/include/gmock/gmock.h" | 59 #include "testing/gmock/include/gmock/gmock.h" |
60 #include "testing/gtest/include/gtest/gtest.h" | 60 #include "testing/gtest/include/gtest/gtest.h" |
61 | 61 |
62 using testing::StrCaseEq; | 62 using testing::StrCaseEq; |
63 using testing::StrCaseNe; | 63 using testing::StrCaseNe; |
64 | 64 |
65 namespace { | 65 namespace { |
66 | 66 |
67 // See comments at the beginning of the file for the definition of switches. | 67 // See comments at the beginning of the file for the definition of switches. |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); | 579 parsed_command_line.GetSwitchValuePath(switches::kJavaScriptFlags)); |
580 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { | 580 if (v8_command_line.HasSwitch(kV8LogFileSwitch)) { |
581 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); | 581 g_v8_log_path = v8_command_line.GetSwitchValuePath(kV8LogFileSwitch); |
582 if (!file_util::AbsolutePath(&g_v8_log_path)) | 582 if (!file_util::AbsolutePath(&g_v8_log_path)) |
583 g_v8_log_path = FilePath(); | 583 g_v8_log_path = FilePath(); |
584 } | 584 } |
585 } | 585 } |
586 } | 586 } |
587 } | 587 } |
588 } | 588 } |
OLD | NEW |