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

Side by Side Diff: chrome/test/functional/media/media_test_env_names.py

Issue 9666032: Cleanup deprecated PyAuto media tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update year. Created 8 years, 9 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
OLDNEW
(Empty)
1 # Copyright (c) 2011 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
6 class MediaTestEnvNames(object):
7 """Class that contains all environment names used in media tests.
8
9 Since PyAuto does not support commandline arguments, we have to rely on
10 environment variables. The following are the names of the environment
11 variables that are used in chrome/src/test/functional/media_test_runner.py
12 and media tests (subclasses of MediaTestBase in
13 chrome/src/test/functional/media_test_base.py)
14 """
15 # PLAYER_HTML is a HTML file that contains media tag and other
16 # JavaScript code for running the test.
17 # Use this to indicate its URL.
18 PLAYER_HTML_URL_ENV_NAME = 'PLAYER_HTML_URL'
19
20 # Display the result output in compact form (e.g., "local", "remote").
21 PLAYER_HTML_URL_NICKNAME_ENV_NAME = 'PLAYER_HTML_URL_NICKNAME'
22
23 # Use this when you want to add extra information in the result output.
24 EXTRA_NICKNAME_ENV_NAME = 'EXTRA_NICKNAME'
25
26 # Define this environment variable when you do not want to report
27 # the first result output. First result includes time to start up the
28 # browser.
29 REMOVE_FIRST_RESULT_ENV_NAME = 'REMOVE_FIRST_RESULT'
30
31 # Add t=Data() parameter in query string to disable media cache
32 # if this environment is defined.
33 ADD_T_PARAMETER_ENV_NAME = 'ADD_T_PARAMETER'
34
35 # Define the number of tries.
36 N_RUNS_ENV_NAME = 'N_RUNS'
37
38 # Define the tag name in HTML (either video or audio).
39 MEDIA_TAG_ENV_NAME = 'HTML_TAG'
40
41 # Define the media file name.
42 MEDIA_FILENAME_ENV_NAME = 'MEDIA_FILENAME'
43
44 # Define the media file nickname that is used for display.
45 MEDIA_FILENAME_NICKNAME_ENV_NAME = 'MEDIA_FILENAME_NICKNAME'
46
47 # Define the interval for the measurement.
48 MEASURE_INTERVAL_ENV_NAME = 'MEASURE_INTERVALS'
49
50 # Define the test scenario file, which contains all operations during tests.
51 TEST_SCENARIO_FILE_ENV_NAME = 'TEST_SCENARIO_FILE'
52
53 # Define the test scenario, which contains operations during tests.
54 TEST_SCENARIO_ENV_NAME = 'TEST_SCENARIO'
55
56 # Define this environment variable if we want to run test using binaries of
57 # reference build, otherwise do not define this variable.
58 REFERENCE_BUILD_ENV_NAME = 'REFERENCE_BUILD'
59
60 # Define the path to the directory that contains binaries of reference build.
61 REFERENCE_BUILD_DIR_ENV_NAME = 'REFERENCE_BUILD_DIR'
62
63 # Define track(caption) file.
64 TRACK_FILE_ENV_NAME = 'TRACK_FILE'
65
66 # Define the number of additional players shown for stress testing.
67 N_EXTRA_PLAYERS_ENV_NAME = 'N_EXTRA_PLAYERS'
68
69 # Define this if this is jerky test.
70 JERKY_TEST_ENV_NAME = 'JERKY_TEST'
71
72 # Define location of the jerky tool binary.
73 JERKY_TOOL_BINARY_LOCATION_ENV_NAME = 'JERKY_TOOL_LOC'
74
75 # Define output directory of the jerky tool.
76 JERKY_TOOL_OUTPUT_DIR_ENV_NAME = 'JERKY_TOOL_OUTPUT_DIR'
77
78 # Define baseline directory of the jerky tool.
79 JERKY_TOOL_BASELINE_DIR_ENV_NAME = 'JERKY_TOOL_BASELINE_DIR'
OLDNEW
« no previous file with comments | « chrome/test/functional/media/media_test_base.py ('k') | chrome/test/functional/media/media_test_matrix.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698