Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright 2013 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 """Defines named tuples of contains options relevant to each test type.""" | |
|
frankf
2013/07/31 19:03:56
Let's move each option to the respective subdir th
gkanwar1
2013/07/31 19:09:30
We still need to put common options in a common lo
| |
| 6 | |
| 7 import collections | |
| 8 | |
| 9 | |
| 10 COMMON_OPTIONS = [ | |
| 11 'build_type', | |
| 12 'tool', | |
| 13 'cleanup_test_files', | |
| 14 'push_deps', | |
| 15 ] | |
| 16 | |
| 17 COMMON_JAVA_OPTIONS = [ | |
| 18 'annotations', | |
| 19 'exclude_annotations', | |
| 20 'test_filter', | |
| 21 'test_data', | |
| 22 'save_perf_json', | |
| 23 'screenshot_failures', | |
| 24 'disable_assertions', | |
| 25 ] | |
| 26 | |
| 27 UIAUTOMATOR_OPTIONS = [ | |
| 28 'uiautomator_jar', | |
| 29 'uiautomator_info_jar', | |
| 30 'package_name', | |
| 31 ] | |
| 32 | |
| 33 INSTRUMENTATION_OPTIONS = [ | |
| 34 'wait_for_debugger', | |
| 35 'test_apk', | |
| 36 'test_apk_path', | |
| 37 'test_apk_jar_path', | |
| 38 ] | |
| 39 | |
| 40 GTEST_FRAMEWORK_OPTIONS = [ | |
| 41 'gtest_filter', | |
| 42 'test_arguments', | |
| 43 'timeout', | |
| 44 'suite_name', | |
| 45 ] | |
| 46 | |
| 47 UIAutomatorOptions = collections.namedtuple('UIAutomatorOptions', | |
| 48 COMMON_OPTIONS + | |
| 49 COMMON_JAVA_OPTIONS + | |
| 50 UIAUTOMATOR_OPTIONS) | |
| 51 | |
| 52 InstrumentationOptions = collections.namedtuple('InstrumentationOptions', | |
| 53 COMMON_OPTIONS + | |
| 54 COMMON_JAVA_OPTIONS + | |
| 55 INSTRUMENTATION_OPTIONS) | |
| 56 | |
| 57 GTestOptions = collections.namedtuple('GTestOptions', | |
| 58 COMMON_OPTIONS + | |
| 59 GTEST_FRAMEWORK_OPTIONS) | |
| OLD | NEW |