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 #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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "chrome/test/automation/browser_proxy.h" | 43 #include "chrome/test/automation/browser_proxy.h" |
44 #include "chrome/test/automation/javascript_execution_controller.h" | 44 #include "chrome/test/automation/javascript_execution_controller.h" |
45 #include "chrome/test/automation/proxy_launcher.h" | 45 #include "chrome/test/automation/proxy_launcher.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/base/chrome_process_util.h" | 48 #include "chrome/test/base/chrome_process_util.h" |
49 #include "chrome/test/base/test_switches.h" | 49 #include "chrome/test/base/test_switches.h" |
50 #include "content/common/debug_flags.h" | 50 #include "content/common/debug_flags.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" |
53 #include "ui/gfx/gl/gl_implementation.h" | 53 #include "ui/gl/gl_implementation.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 |
58 | 58 |
59 #if defined(USE_AURA) | 59 #if defined(USE_AURA) |
60 #include "ui/compositor/compositor_switches.h" | 60 #include "ui/compositor/compositor_switches.h" |
61 #endif | 61 #endif |
62 | 62 |
63 using base::Time; | 63 using base::Time; |
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 base::PlatformThread::Sleep(kDelay); | 752 base::PlatformThread::Sleep(kDelay); |
753 } | 753 } |
754 | 754 |
755 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() | 755 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() |
756 << " seconds" | 756 << " seconds" |
757 << " call failed " << fail_count << " times" | 757 << " call failed " << fail_count << " times" |
758 << " state was incorrect " << incorrect_state_count << " times"; | 758 << " state was incorrect " << incorrect_state_count << " times"; |
759 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; | 759 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; |
760 return false; | 760 return false; |
761 } | 761 } |
OLD | NEW |