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

Side by Side Diff: chrome/test/startup/startup_test.cc

Issue 4087009: Update a bunch of FLAKY_ tests to match current reality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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/startup/shutdown_test.cc ('k') | chrome/test/ui/npapi_uitest.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/platform_thread.h" 8 #include "base/platform_thread.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/string_split.h" 10 #include "base/string_split.h"
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 290
291 TEST_F(StartupTest, PerfFewTabs) { 291 TEST_F(StartupTest, PerfFewTabs) {
292 RunPerfTestWithManyTabs("few_tabs", "cmdline", 5, 2, false); 292 RunPerfTestWithManyTabs("few_tabs", "cmdline", 5, 2, false);
293 } 293 }
294 294
295 TEST_F(StartupTest, PerfFewTabsReference) { 295 TEST_F(StartupTest, PerfFewTabsReference) {
296 UseReferenceBuild(); 296 UseReferenceBuild();
297 RunPerfTestWithManyTabs("few_tabs", "cmdline-ref", 5, 2, false); 297 RunPerfTestWithManyTabs("few_tabs", "cmdline-ref", 5, 2, false);
298 } 298 }
299 299
300 // http://crbug.com/52858 300 TEST_F(StartupTest, PerfRestoreFewTabs) {
301 #if defined(OS_MACOSX)
302 #define MAYBE_PerfRestoreFewTabs FLAKY_PerfRestoreFewTabs
303 #else
304 #define MAYBE_PerfRestoreFewTabs PerfRestoreFewTabs
305 #endif
306 TEST_F(StartupTest, MAYBE_PerfRestoreFewTabs) {
307 RunPerfTestWithManyTabs("few_tabs", "restore", 5, 2, true); 301 RunPerfTestWithManyTabs("few_tabs", "restore", 5, 2, true);
308 } 302 }
309 303
310 TEST_F(StartupTest, PerfRestoreFewTabsReference) { 304 TEST_F(StartupTest, PerfRestoreFewTabsReference) {
311 UseReferenceBuild(); 305 UseReferenceBuild();
312 RunPerfTestWithManyTabs("few_tabs", "restore-ref", 5, 2, true); 306 RunPerfTestWithManyTabs("few_tabs", "restore-ref", 5, 2, true);
313 } 307 }
314 308
315 #if defined(OS_MACOSX) 309 #if defined(OS_MACOSX)
316 // http://crbug.com/46609 310 // http://crbug.com/46609
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 UITest::CUSTOM_FRAME, 0, 0); 390 UITest::CUSTOM_FRAME, 0, 0);
397 } 391 }
398 392
399 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { 393 TEST_F(StartupTest, PerfNativeFrameGtkTheme) {
400 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, 394 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT,
401 UITest::CUSTOM_FRAME_NATIVE_THEME, 0, 0); 395 UITest::CUSTOM_FRAME_NATIVE_THEME, 0, 0);
402 } 396 }
403 #endif 397 #endif
404 398
405 } // namespace 399 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/startup/shutdown_test.cc ('k') | chrome/test/ui/npapi_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698