OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 26 matching lines...) Expand all Loading... |
37 #include "chrome/common/chrome_switches.h" | 37 #include "chrome/common/chrome_switches.h" |
38 #include "chrome/common/logging_chrome.h" | 38 #include "chrome/common/logging_chrome.h" |
39 #include "chrome/common/url_constants.h" | 39 #include "chrome/common/url_constants.h" |
40 #include "chrome/test/automation/automation_proxy.h" | 40 #include "chrome/test/automation/automation_proxy.h" |
41 #include "chrome/test/automation/browser_proxy.h" | 41 #include "chrome/test/automation/browser_proxy.h" |
42 #include "chrome/test/automation/javascript_execution_controller.h" | 42 #include "chrome/test/automation/javascript_execution_controller.h" |
43 #include "chrome/test/automation/proxy_launcher.h" | 43 #include "chrome/test/automation/proxy_launcher.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/base/chrome_process_util.h" | 46 #include "chrome/test/base/chrome_process_util.h" |
47 #include "chrome/test/test_switches.h" | 47 #include "chrome/test/base/test_switches.h" |
48 #include "content/common/debug_flags.h" | 48 #include "content/common/debug_flags.h" |
49 #include "content/common/json_value_serializer.h" | 49 #include "content/common/json_value_serializer.h" |
50 #include "googleurl/src/gurl.h" | 50 #include "googleurl/src/gurl.h" |
51 #include "net/base/net_util.h" | 51 #include "net/base/net_util.h" |
52 #include "ui/gfx/gl/gl_implementation.h" | 52 #include "ui/gfx/gl/gl_implementation.h" |
53 #include "ui/gfx/gl/gl_switches.h" | 53 #include "ui/gfx/gl/gl_switches.h" |
54 | 54 |
55 #if defined(OS_WIN) | 55 #if defined(OS_WIN) |
56 #include "base/win/windows_version.h" | 56 #include "base/win/windows_version.h" |
57 #endif | 57 #endif |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms() / kCycles); | 781 base::PlatformThread::Sleep(TestTimeouts::action_timeout_ms() / kCycles); |
782 } | 782 } |
783 | 783 |
784 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() | 784 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() |
785 << " seconds" | 785 << " seconds" |
786 << " call failed " << fail_count << " times" | 786 << " call failed " << fail_count << " times" |
787 << " state was incorrect " << incorrect_state_count << " times"; | 787 << " state was incorrect " << incorrect_state_count << " times"; |
788 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; | 788 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; |
789 return false; | 789 return false; |
790 } | 790 } |
OLD | NEW |