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 "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/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "base/sys_info.h" | 10 #include "base/sys_info.h" |
11 #include "base/time/time.h" | 11 #include "base/time/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/base/ui_test_utils.h" |
17 #include "chrome/test/perf/perf_test.h" | 17 #include "chrome/test/perf/perf_test.h" |
18 #include "chrome/test/ui/ui_perf_test.h" | 18 #include "chrome/test/ui/ui_perf_test.h" |
19 #include "net/base/net_util.h" | 19 #include "net/base/net_util.h" |
| 20 #include "testing/perf/perf_test.h" |
20 | 21 |
21 using base::TimeDelta; | 22 using base::TimeDelta; |
22 | 23 |
23 namespace { | 24 namespace { |
24 | 25 |
25 class ShutdownTest : public UIPerfTest { | 26 class ShutdownTest : public UIPerfTest { |
26 public: | 27 public: |
27 ShutdownTest() { | 28 ShutdownTest() { |
28 show_window_ = true; | 29 show_window_ = true; |
29 } | 30 } |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 #define MAYBE_TwentyTabsSessionEnding TwentyTabsSessionEnding | 162 #define MAYBE_TwentyTabsSessionEnding TwentyTabsSessionEnding |
162 #endif | 163 #endif |
163 | 164 |
164 TEST_F(ShutdownTest, MAYBE_TwentyTabsSessionEnding) { | 165 TEST_F(ShutdownTest, MAYBE_TwentyTabsSessionEnding) { |
165 RunShutdownTest("shutdown", "twentytabs-session-ending", | 166 RunShutdownTest("shutdown", "twentytabs-session-ending", |
166 true, /* important */ TWENTY_TABS, | 167 true, /* important */ TWENTY_TABS, |
167 ProxyLauncher::SESSION_ENDING); | 168 ProxyLauncher::SESSION_ENDING); |
168 } | 169 } |
169 | 170 |
170 } // namespace | 171 } // namespace |
OLD | NEW |