| 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 12 matching lines...) Expand all Loading... |
| 23 #include "base/process_util.h" | 23 #include "base/process_util.h" |
| 24 #include "base/scoped_ptr.h" | 24 #include "base/scoped_ptr.h" |
| 25 #include "base/scoped_temp_dir.h" | 25 #include "base/scoped_temp_dir.h" |
| 26 #include "base/string_number_conversions.h" | 26 #include "base/string_number_conversions.h" |
| 27 #include "base/string_split.h" | 27 #include "base/string_split.h" |
| 28 #include "base/test/test_file_util.h" | 28 #include "base/test/test_file_util.h" |
| 29 #include "base/time.h" | 29 #include "base/time.h" |
| 30 #include "base/utf_string_conversions.h" | 30 #include "base/utf_string_conversions.h" |
| 31 #include "chrome/app/chrome_command_ids.h" | 31 #include "chrome/app/chrome_command_ids.h" |
| 32 #include "chrome/browser/net/url_fixer_upper.h" | 32 #include "chrome/browser/net/url_fixer_upper.h" |
| 33 #include "chrome/common/automation_messages.h" |
| 33 #include "chrome/common/chrome_constants.h" | 34 #include "chrome/common/chrome_constants.h" |
| 34 #include "chrome/common/chrome_paths.h" | 35 #include "chrome/common/chrome_paths.h" |
| 35 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
| 36 #include "chrome/common/debug_flags.h" | 37 #include "chrome/common/debug_flags.h" |
| 37 #include "chrome/common/logging_chrome.h" | 38 #include "chrome/common/logging_chrome.h" |
| 38 #include "chrome/common/json_value_serializer.h" | 39 #include "chrome/common/json_value_serializer.h" |
| 39 #include "chrome/common/url_constants.h" | 40 #include "chrome/common/url_constants.h" |
| 40 #include "chrome/test/automation/automation_messages.h" | |
| 41 #include "chrome/test/automation/automation_proxy.h" | 41 #include "chrome/test/automation/automation_proxy.h" |
| 42 #include "chrome/test/automation/browser_proxy.h" | 42 #include "chrome/test/automation/browser_proxy.h" |
| 43 #include "chrome/test/automation/javascript_execution_controller.h" | 43 #include "chrome/test/automation/javascript_execution_controller.h" |
| 44 #include "chrome/test/automation/tab_proxy.h" | 44 #include "chrome/test/automation/tab_proxy.h" |
| 45 #include "chrome/test/automation/window_proxy.h" | 45 #include "chrome/test/automation/window_proxy.h" |
| 46 #include "chrome/test/chrome_process_util.h" | 46 #include "chrome/test/chrome_process_util.h" |
| 47 #include "chrome/test/test_launcher_utils.h" | 47 #include "chrome/test/test_launcher_utils.h" |
| 48 #include "chrome/test/test_switches.h" | 48 #include "chrome/test/test_switches.h" |
| 49 #include "googleurl/src/gurl.h" | 49 #include "googleurl/src/gurl.h" |
| 50 #include "net/base/net_util.h" | 50 #include "net/base/net_util.h" |
| (...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 } | 1169 } |
| 1170 | 1170 |
| 1171 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() | 1171 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() |
| 1172 << " seconds" | 1172 << " seconds" |
| 1173 << " call failed " << fail_count << " times" | 1173 << " call failed " << fail_count << " times" |
| 1174 << " state was incorrect " << incorrect_state_count << " times"; | 1174 << " state was incorrect " << incorrect_state_count << " times"; |
| 1175 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; | 1175 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; |
| 1176 return false; | 1176 return false; |
| 1177 } | 1177 } |
| 1178 | 1178 |
| OLD | NEW |