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 "base/environment.h" | 5 #include "base/environment.h" |
6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/sys_info.h" | 10 #include "base/sys_info.h" |
11 #include "base/time.h" | 11 #include "base/time.h" |
12 #include "chrome/common/chrome_constants.h" | 12 #include "chrome/common/chrome_constants.h" |
13 #include "chrome/common/chrome_paths.h" | 13 #include "chrome/common/chrome_paths.h" |
14 #include "chrome/common/env_vars.h" | 14 #include "chrome/common/env_vars.h" |
15 #include "chrome/test/automation/automation_proxy.h" | 15 #include "chrome/test/automation/automation_proxy.h" |
| 16 #include "chrome/test/base/ui_test_utils.h" |
16 #include "chrome/test/ui/ui_perf_test.h" | 17 #include "chrome/test/ui/ui_perf_test.h" |
17 #include "chrome/test/ui_test_utils.h" | |
18 #include "net/base/net_util.h" | 18 #include "net/base/net_util.h" |
19 | 19 |
20 using base::TimeDelta; | 20 using base::TimeDelta; |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
24 class ShutdownTest : public UIPerfTest { | 24 class ShutdownTest : public UIPerfTest { |
25 public: | 25 public: |
26 ShutdownTest() { | 26 ShutdownTest() { |
27 show_window_ = true; | 27 show_window_ = true; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 #define MAYBE_TwentyTabsSessionEnding TwentyTabsSessionEnding | 144 #define MAYBE_TwentyTabsSessionEnding TwentyTabsSessionEnding |
145 #endif | 145 #endif |
146 | 146 |
147 TEST_F(ShutdownTest, MAYBE_TwentyTabsSessionEnding) { | 147 TEST_F(ShutdownTest, MAYBE_TwentyTabsSessionEnding) { |
148 RunShutdownTest("shutdown", "twentytabs-session-ending", | 148 RunShutdownTest("shutdown", "twentytabs-session-ending", |
149 true, /* important */ TWENTY_TABS, | 149 true, /* important */ TWENTY_TABS, |
150 ProxyLauncher::SESSION_ENDING); | 150 ProxyLauncher::SESSION_ENDING); |
151 } | 151 } |
152 | 152 |
153 } // namespace | 153 } // namespace |
OLD | NEW |