OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/test/ui/ui_test.h" | 5 #include "chrome/test/ui/ui_test.h" |
6 | 6 |
7 #if defined(OS_POSIX) | 7 #if defined(OS_POSIX) |
8 #include <signal.h> | 8 #include <signal.h> |
9 #include <sys/types.h> | 9 #include <sys/types.h> |
10 #endif | 10 #endif |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "base/process_util.h" | 25 #include "base/process_util.h" |
26 #include "base/scoped_ptr.h" | 26 #include "base/scoped_ptr.h" |
27 #include "base/scoped_temp_dir.h" | 27 #include "base/scoped_temp_dir.h" |
28 #include "base/string_number_conversions.h" | 28 #include "base/string_number_conversions.h" |
29 #include "base/string_split.h" | 29 #include "base/string_split.h" |
30 #include "base/test/test_file_util.h" | 30 #include "base/test/test_file_util.h" |
31 #include "base/time.h" | 31 #include "base/time.h" |
32 #include "base/utf_string_conversions.h" | 32 #include "base/utf_string_conversions.h" |
33 #include "chrome/app/chrome_command_ids.h" | 33 #include "chrome/app/chrome_command_ids.h" |
34 #include "chrome/browser/net/url_fixer_upper.h" | 34 #include "chrome/browser/net/url_fixer_upper.h" |
| 35 #include "chrome/common/automation_messages.h" |
35 #include "chrome/common/chrome_constants.h" | 36 #include "chrome/common/chrome_constants.h" |
36 #include "chrome/common/chrome_paths.h" | 37 #include "chrome/common/chrome_paths.h" |
37 #include "chrome/common/chrome_switches.h" | 38 #include "chrome/common/chrome_switches.h" |
38 #include "chrome/common/debug_flags.h" | 39 #include "chrome/common/debug_flags.h" |
39 #include "chrome/common/logging_chrome.h" | 40 #include "chrome/common/logging_chrome.h" |
40 #include "chrome/common/json_value_serializer.h" | 41 #include "chrome/common/json_value_serializer.h" |
41 #include "chrome/common/url_constants.h" | 42 #include "chrome/common/url_constants.h" |
42 #include "chrome/test/automation/automation_messages.h" | |
43 #include "chrome/test/automation/automation_proxy.h" | 43 #include "chrome/test/automation/automation_proxy.h" |
44 #include "chrome/test/automation/browser_proxy.h" | 44 #include "chrome/test/automation/browser_proxy.h" |
45 #include "chrome/test/automation/javascript_execution_controller.h" | 45 #include "chrome/test/automation/javascript_execution_controller.h" |
46 #include "chrome/test/automation/tab_proxy.h" | 46 #include "chrome/test/automation/tab_proxy.h" |
47 #include "chrome/test/automation/window_proxy.h" | 47 #include "chrome/test/automation/window_proxy.h" |
48 #include "chrome/test/chrome_process_util.h" | 48 #include "chrome/test/chrome_process_util.h" |
49 #include "chrome/test/test_launcher_utils.h" | 49 #include "chrome/test/test_launcher_utils.h" |
50 #include "chrome/test/test_switches.h" | 50 #include "chrome/test/test_switches.h" |
51 #include "googleurl/src/gurl.h" | 51 #include "googleurl/src/gurl.h" |
52 #include "net/base/net_util.h" | 52 #include "net/base/net_util.h" |
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1182 } | 1182 } |
1183 | 1183 |
1184 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() | 1184 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() |
1185 << " seconds" | 1185 << " seconds" |
1186 << " call failed " << fail_count << " times" | 1186 << " call failed " << fail_count << " times" |
1187 << " state was incorrect " << incorrect_state_count << " times"; | 1187 << " state was incorrect " << incorrect_state_count << " times"; |
1188 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; | 1188 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; |
1189 return false; | 1189 return false; |
1190 } | 1190 } |
1191 | 1191 |
OLD | NEW |