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

Side by Side Diff: chrome/test/ui/ui_test_suite.cc

Issue 3162047: FBTF: Move some heavy, repeatedly emitted symbols to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac fixes Created 10 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
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 "chrome/test/ui/ui_test_suite.h" 5 #include "chrome/test/ui/ui_test_suite.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/process_util.h" 11 #include "base/process_util.h"
12 #include "base/string_number_conversions.h" 12 #include "base/string_number_conversions.h"
13 #include "chrome/common/chrome_switches.h"
13 #include "chrome/common/env_vars.h" 14 #include "chrome/common/env_vars.h"
14 15
15 // Timeout for the test in milliseconds. UI tests only. 16 // Timeout for the test in milliseconds. UI tests only.
16 const char UITestSuite::kTestTimeout[] = "test-timeout"; 17 const char UITestSuite::kTestTimeout[] = "test-timeout";
17 18
18 // Parameters to run test in parallel. UI tests only. 19 // Parameters to run test in parallel. UI tests only.
19 const char UITestSuite::kBatchCount[] = "batch-count"; 20 const char UITestSuite::kBatchCount[] = "batch-count";
20 const char UITestSuite::kBatchIndex[] = "batch-index"; 21 const char UITestSuite::kBatchIndex[] = "batch-index";
21 const char UITestSuite::kGTestTotalShards[] = "GTEST_TOTAL_SHARDS="; 22 const char UITestSuite::kGTestTotalShards[] = "GTEST_TOTAL_SHARDS=";
22 const char UITestSuite::kGTestShardIndex[] = "GTEST_SHARD_INDEX="; 23 const char UITestSuite::kGTestShardIndex[] = "GTEST_SHARD_INDEX=";
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 if (!base::LaunchApp(crash_service.ToWStringHack(), false, false, 132 if (!base::LaunchApp(crash_service.ToWStringHack(), false, false,
132 &crash_service_)) { 133 &crash_service_)) {
133 printf("Couldn't start crash_service.exe, so this ui_test run won't tell " \ 134 printf("Couldn't start crash_service.exe, so this ui_test run won't tell " \
134 "you if any test crashes!\n"); 135 "you if any test crashes!\n");
135 return; 136 return;
136 } 137 }
137 138
138 printf("Started crash_service.exe so you know if a test crashes!\n"); 139 printf("Started crash_service.exe so you know if a test crashes!\n");
139 } 140 }
140 #endif 141 #endif
OLDNEW
« no previous file with comments | « chrome/test/test_launcher/out_of_proc_test_runner.cc ('k') | chrome/test/unit/chrome_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698