[Android] Fix the uiautomator test runner's use of InstrumentationOptions.

BUG=398520

Review URL: https://codereview.chromium.org/422393002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@287217 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
jbudorick@chromium.org 2014-08-02 17:02:02 +00:00
Родитель a11efe6556
Коммит 9822974280
3 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -14,7 +14,6 @@ InstrumentationOptions = collections.namedtuple('InstrumentationOptions', [
'exclude_annotations',
'test_filter',
'test_data',
'test_runner',
'save_perf_json',
'screenshot_failures',
'wait_for_debugger',
@ -22,4 +21,5 @@ InstrumentationOptions = collections.namedtuple('InstrumentationOptions', [
'test_apk',
'test_apk_path',
'test_apk_jar_path',
'test_runner',
'test_support_apk_path'])

Просмотреть файл

@ -39,6 +39,7 @@ class TestRunner(instr_test_runner.TestRunner):
test_apk=None,
test_apk_path=None,
test_apk_jar_path=None,
test_runner=None,
test_support_apk_path=None)
super(TestRunner, self).__init__(instrumentation_options, device,
shard_index, test_pkg)

Просмотреть файл

@ -291,7 +291,6 @@ def ProcessInstrumentationOptions(options, error_func):
options.exclude_annotations,
options.test_filter,
options.test_data,
options.test_runner,
options.save_perf_json,
options.screenshot_failures,
options.wait_for_debugger,
@ -299,6 +298,7 @@ def ProcessInstrumentationOptions(options, error_func):
options.test_apk,
options.test_apk_path,
options.test_apk_jar_path,
options.test_runner,
options.test_support_apk_path
)