test_switches.cc revision 68043e1e95eeb07d5cae7aca370b26518b0867d6
15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2012 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "base/test/test_switches.h"
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Time (in milliseconds) that the tests should wait before timing out.
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// TODO(phajdan.jr): Clean up the switch names.
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)const char switches::kTestLargeTimeout[] = "test-large-timeout";
10424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)
1158537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles)// Maximum number of tests to run in a single batch.
1258537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles)const char switches::kTestLauncherBatchLimit[] = "test-launcher-batch-limit";
1358537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles)
1458537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles)// Number of parallel test launcher jobs.
1558537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles)const char switches::kTestLauncherJobs[] = "test-launcher-jobs";
1658537e28ecd584eab876aee8be7156509866d23aTorne (Richard Coles)
17424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)// Path to test results file in our custom test launcher format.
18424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)const char switches::kTestLauncherOutput[] = "test-launcher-output";
19424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)
20424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)// Time (in milliseconds) that the tests should wait before timing out.
2168043e1e95eeb07d5cae7aca370b26518b0867d6Torne (Richard Coles)const char switches::kTestLauncherTimeout[] = "test-launcher-timeout";
22424c4d7b64af9d0d8fd9624f381f469654d5e3d2Torne (Richard Coles)// TODO(phajdan.jr): Clean up the switch names.
235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)const char switches::kTestTinyTimeout[] = "test-tiny-timeout";
245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)const char switches::kUiTestActionTimeout[] = "ui-test-action-timeout";
255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)const char switches::kUiTestActionMaxTimeout[] = "ui-test-action-max-timeout";
26