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

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

Issue 10698009: Make profile history easily filterable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to tot Created 8 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/feature_startup_test.cc ('k') | chrome/test/ui/ui_test.h » ('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/stringprintf.h" 8 #include "base/stringprintf.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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 UITestBase::COMPLEX_THEME, 0, 0); 461 UITestBase::COMPLEX_THEME, 0, 0);
462 } 462 }
463 463
464 TEST_F(StartupTest, ProfilingScript1) { 464 TEST_F(StartupTest, ProfilingScript1) {
465 SetUpWithFileURL(); 465 SetUpWithFileURL();
466 SetUpWithProfiling(); 466 SetUpWithProfiling();
467 RunStartupTest("warm", "profiling_scripts1", WARM, NOT_IMPORTANT, 467 RunStartupTest("warm", "profiling_scripts1", WARM, NOT_IMPORTANT,
468 UITestBase::DEFAULT_THEME, 1, 0); 468 UITestBase::DEFAULT_THEME, 1, 0);
469 } 469 }
470 470
471 #if defined(TOOLKIT_GTK)
472 TEST_F(StartupTest, PerfGtkTheme) {
473 RunStartupTest("warm", "gtk-theme", WARM, NOT_IMPORTANT,
474 UITestBase::NATIVE_THEME, 0, 0);
475 }
476
477 TEST_F(StartupTest, PrefNativeFrame) {
478 RunStartupTest("warm", "custom-frame", WARM, NOT_IMPORTANT,
479 UITestBase::CUSTOM_FRAME, 0, 0);
480 }
481
482 TEST_F(StartupTest, PerfNativeFrameGtkTheme) {
483 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT,
484 UITestBase::CUSTOM_FRAME_NATIVE_THEME, 0, 0);
485 }
486 #endif
487
488 } // namespace 471 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/perf/feature_startup_test.cc ('k') | chrome/test/ui/ui_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698