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