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
3 // found in the LICENSE file.
5 #include "base/test/test_switches.h"
7 // Time (in milliseconds) that the tests should wait before timing out.
8 // TODO(phajdan.jr): Clean up the switch names.
9 const char switches::kTestLargeTimeout[] = "test-large-timeout";
11 // Maximum number of tests to run in a single batch.
12 const char switches::kTestLauncherBatchLimit[] = "test-launcher-batch-limit";
14 // Number of parallel test launcher jobs.
15 const char switches::kTestLauncherJobs[] = "test-launcher-jobs";
17 // Path to test results file in our custom test launcher format.
18 const char switches::kTestLauncherOutput[] = "test-launcher-output";
20 // Path to test results file with all the info from the test launcher.
21 const char switches::kTestLauncherSummaryOutput[] =
22 "test-launcher-summary-output";
24 // Flag controlling when test stdio is displayed as part of the launcher's
26 const char switches::kTestLauncherPrintTestStdio[] =
27 "test-launcher-print-test-stdio";
29 // Index of the test shard to run, starting from 0 (first shard) to total shards
30 // minus one (last shard).
31 const char switches::kTestLauncherShardIndex[] =
32 "test-launcher-shard-index";
34 // Total number of shards. Must be the same for all shards.
35 const char switches::kTestLauncherTotalShards[] =
36 "test-launcher-total-shards";
38 // Time (in milliseconds) that the tests should wait before timing out.
39 const char switches::kTestLauncherTimeout[] = "test-launcher-timeout";
40 // TODO(phajdan.jr): Clean up the switch names.
41 const char switches::kTestTinyTimeout[] = "test-tiny-timeout";
42 const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout";
43 const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout";