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 |
11 | 11 |
12 #include <set> | 12 #include <set> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "app/gfx/gl/gl_implementation.h" | |
16 #include "app/sql/connection.h" | 15 #include "app/sql/connection.h" |
17 #include "base/base_switches.h" | 16 #include "base/base_switches.h" |
18 #include "base/command_line.h" | 17 #include "base/command_line.h" |
19 #include "base/environment.h" | 18 #include "base/environment.h" |
20 #include "base/file_path.h" | 19 #include "base/file_path.h" |
21 #include "base/file_util.h" | 20 #include "base/file_util.h" |
22 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
23 #include "base/memory/scoped_temp_dir.h" | 22 #include "base/memory/scoped_temp_dir.h" |
24 #include "base/path_service.h" | 23 #include "base/path_service.h" |
25 #include "base/process_util.h" | 24 #include "base/process_util.h" |
(...skipping 17 matching lines...) Expand all Loading... |
43 #include "chrome/test/automation/javascript_execution_controller.h" | 42 #include "chrome/test/automation/javascript_execution_controller.h" |
44 #include "chrome/test/automation/proxy_launcher.h" | 43 #include "chrome/test/automation/proxy_launcher.h" |
45 #include "chrome/test/automation/tab_proxy.h" | 44 #include "chrome/test/automation/tab_proxy.h" |
46 #include "chrome/test/automation/window_proxy.h" | 45 #include "chrome/test/automation/window_proxy.h" |
47 #include "chrome/test/chrome_process_util.h" | 46 #include "chrome/test/chrome_process_util.h" |
48 #include "chrome/test/test_launcher_utils.h" | 47 #include "chrome/test/test_launcher_utils.h" |
49 #include "chrome/test/test_switches.h" | 48 #include "chrome/test/test_switches.h" |
50 #include "content/common/debug_flags.h" | 49 #include "content/common/debug_flags.h" |
51 #include "googleurl/src/gurl.h" | 50 #include "googleurl/src/gurl.h" |
52 #include "net/base/net_util.h" | 51 #include "net/base/net_util.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 |
58 | 58 |
59 | 59 |
60 using base::Time; | 60 using base::Time; |
61 using base::TimeDelta; | 61 using base::TimeDelta; |
62 using base::TimeTicks; | 62 using base::TimeTicks; |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
868 incorrect_state_count++; | 868 incorrect_state_count++; |
869 } | 869 } |
870 | 870 |
871 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() | 871 LOG(INFO) << "Elapsed time: " << (base::Time::Now() - start).InSecondsF() |
872 << " seconds" | 872 << " seconds" |
873 << " call failed " << fail_count << " times" | 873 << " call failed " << fail_count << " times" |
874 << " state was incorrect " << incorrect_state_count << " times"; | 874 << " state was incorrect " << incorrect_state_count << " times"; |
875 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; | 875 ADD_FAILURE() << "Timeout reached in " << __FUNCTION__; |
876 return false; | 876 return false; |
877 } | 877 } |
OLD | NEW |