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

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

Issue 10703136: WebKit gardening. Disable a test which started to fail on Linux perf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « no previous file | no next file » | 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/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"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 } 111 }
112 } 112 }
113 113
114 std::string times; 114 std::string times;
115 for (int i = 0; i < numCycles; ++i) 115 for (int i = 0; i < numCycles; ++i)
116 base::StringAppendF(&times, "%.2f,", timings[i].InMillisecondsF()); 116 base::StringAppendF(&times, "%.2f,", timings[i].InMillisecondsF());
117 perf_test::PrintResultList(graph, "", trace, times, "ms", important); 117 perf_test::PrintResultList(graph, "", trace, times, "ms", important);
118 } 118 }
119 }; 119 };
120 120
121 TEST_F(ShutdownTest, SimpleWindowClose) { 121 TEST_F(ShutdownTest, DISABLED_SimpleWindowClose) {
122 RunShutdownTest("shutdown", "simple-window-close", 122 RunShutdownTest("shutdown", "simple-window-close",
123 true, /* important */ SIMPLE, ProxyLauncher::WINDOW_CLOSE); 123 true, /* important */ SIMPLE, ProxyLauncher::WINDOW_CLOSE);
124 } 124 }
125 125
126 TEST_F(ShutdownTest, SimpleUserQuit) { 126 TEST_F(ShutdownTest, SimpleUserQuit) {
127 RunShutdownTest("shutdown", "simple-user-quit", 127 RunShutdownTest("shutdown", "simple-user-quit",
128 true, /* important */ SIMPLE, ProxyLauncher::USER_QUIT); 128 true, /* important */ SIMPLE, ProxyLauncher::USER_QUIT);
129 } 129 }
130 130
131 TEST_F(ShutdownTest, SimpleSessionEnding) { 131 TEST_F(ShutdownTest, SimpleSessionEnding) {
(...skipping 28 matching lines...) Expand all
160 #define MAYBE_TwentyTabsSessionEnding TwentyTabsSessionEnding 160 #define MAYBE_TwentyTabsSessionEnding TwentyTabsSessionEnding
161 #endif 161 #endif
162 162
163 TEST_F(ShutdownTest, MAYBE_TwentyTabsSessionEnding) { 163 TEST_F(ShutdownTest, MAYBE_TwentyTabsSessionEnding) {
164 RunShutdownTest("shutdown", "twentytabs-session-ending", 164 RunShutdownTest("shutdown", "twentytabs-session-ending",
165 true, /* important */ TWENTY_TABS, 165 true, /* important */ TWENTY_TABS,
166 ProxyLauncher::SESSION_ENDING); 166 ProxyLauncher::SESSION_ENDING);
167 } 167 }
168 168
169 } // namespace 169 } // namespace
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698