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

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

Issue 6976055: More POSIX support for Chromium, consisting mostly of broadening ifdefs. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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/startup/feature_startup_test.cc ('k') | chrome/test/test_launcher_utils.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/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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 SetUpWithExtensionsProfile("content_scripts50"); 359 SetUpWithExtensionsProfile("content_scripts50");
360 RunStartupTest("warm", "extension_content_scripts50", WARM, NOT_IMPORTANT, 360 RunStartupTest("warm", "extension_content_scripts50", WARM, NOT_IMPORTANT,
361 ProxyLauncher::DEFAULT_THEME, 1, 0); 361 ProxyLauncher::DEFAULT_THEME, 1, 0);
362 } 362 }
363 363
364 TEST_F(StartupTest, PerfComplexTheme) { 364 TEST_F(StartupTest, PerfComplexTheme) {
365 RunStartupTest("warm", "t-theme", WARM, NOT_IMPORTANT, 365 RunStartupTest("warm", "t-theme", WARM, NOT_IMPORTANT,
366 ProxyLauncher::COMPLEX_THEME, 0, 0); 366 ProxyLauncher::COMPLEX_THEME, 0, 0);
367 } 367 }
368 368
369 #if defined(OS_LINUX) 369 #if defined(TOOLKIT_USES_GTK)
370 TEST_F(StartupTest, PerfGtkTheme) { 370 TEST_F(StartupTest, PerfGtkTheme) {
371 RunStartupTest("warm", "gtk-theme", WARM, NOT_IMPORTANT, 371 RunStartupTest("warm", "gtk-theme", WARM, NOT_IMPORTANT,
372 ProxyLauncher::NATIVE_THEME, 0, 0); 372 ProxyLauncher::NATIVE_THEME, 0, 0);
373 } 373 }
374 374
375 TEST_F(StartupTest, PrefNativeFrame) { 375 TEST_F(StartupTest, PrefNativeFrame) {
376 RunStartupTest("warm", "custom-frame", WARM, NOT_IMPORTANT, 376 RunStartupTest("warm", "custom-frame", WARM, NOT_IMPORTANT,
377 ProxyLauncher::CUSTOM_FRAME, 0, 0); 377 ProxyLauncher::CUSTOM_FRAME, 0, 0);
378 } 378 }
379 379
380 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { 380 TEST_F(StartupTest, PerfNativeFrameGtkTheme) {
381 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, 381 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT,
382 ProxyLauncher::CUSTOM_FRAME_NATIVE_THEME, 0, 0); 382 ProxyLauncher::CUSTOM_FRAME_NATIVE_THEME, 0, 0);
383 } 383 }
384 #endif 384 #endif
385 385
386 } // namespace 386 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/startup/feature_startup_test.cc ('k') | chrome/test/test_launcher_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698