Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Side by Side Diff: chrome/test/perf/shutdown_test.cc

Issue 23509002: Factor out a perf test result printer method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/perf/rendering/throughput_tests.cc ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/test/perf/rendering/throughput_tests.cc ('k') | chrome/test/perf/startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698