OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from recipe_engine.types import freeze | 5 from recipe_engine.types import freeze |
6 | 6 |
7 DEPS = [ | 7 DEPS = [ |
8 'adb', | 8 'adb', |
9 'chromium', | 9 'chromium', |
10 'chromium_android', | 10 'chromium_android', |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 flaky_config='flake_fakes.json', | 174 flaky_config='flake_fakes.json', |
175 upload_archives_to_bucket='archives-bucket', | 175 upload_archives_to_bucket='archives-bucket', |
176 known_devices_file=config.get('last_known_devices', None)) | 176 known_devices_file=config.get('last_known_devices', None)) |
177 except api.step.StepFailure as f: | 177 except api.step.StepFailure as f: |
178 failure = f | 178 failure = f |
179 | 179 |
180 api.chromium_android.run_instrumentation_suite( | 180 api.chromium_android.run_instrumentation_suite( |
181 name='AndroidWebViewTest', | 181 name='AndroidWebViewTest', |
182 apk_under_test=api.chromium_android.apk_path('AndroidWebView.apk'), | 182 apk_under_test=api.chromium_android.apk_path('AndroidWebView.apk'), |
183 test_apk=api.chromium_android.apk_path('AndroidWebViewTest.apk'), | 183 test_apk=api.chromium_android.apk_path('AndroidWebViewTest.apk'), |
184 isolate_file_path='android_webview/android_webview_test_apk.isolate', | 184 isolate_file_path='android_webview/android_webview_test_data.isolate', |
185 flakiness_dashboard='test-results.appspot.com', | 185 flakiness_dashboard='test-results.appspot.com', |
186 annotation='SmallTest', | 186 annotation='SmallTest', |
187 except_annotation='FlakyTest', | 187 except_annotation='FlakyTest', |
188 screenshot=True, | 188 screenshot=True, |
189 official_build=True, | 189 official_build=True, |
190 host_driven_root=api.path['checkout'].join('chrome', 'test'), | 190 host_driven_root=api.path['checkout'].join('chrome', 'test'), |
191 timeout_scale=config.get('timeout_scale'), | 191 timeout_scale=config.get('timeout_scale'), |
192 strict_mode=config.get('strict_mode'), | 192 strict_mode=config.get('strict_mode'), |
193 additional_apks=['Additional.apk'], | 193 additional_apks=['Additional.apk'], |
194 device_flags=config.get('device_flags')) | 194 device_flags=config.get('device_flags')) |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 'Created xml report file at file:///path/to/testResult.xml', | 360 'Created xml report file at file:///path/to/testResult.xml', |
361 stream='stdout')) + | 361 stream='stdout')) + |
362 api.override_step_data('Read test result and report failures', | 362 api.override_step_data('Read test result and report failures', |
363 api.raw_io.output(result_xml_with_unexpected_failure_method))) | 363 api.raw_io.output(result_xml_with_unexpected_failure_method))) |
364 | 364 |
365 yield (api.test('webview_cts_invalid_output') + | 365 yield (api.test('webview_cts_invalid_output') + |
366 properties_for('webview_cts') + | 366 properties_for('webview_cts') + |
367 api.override_step_data('Run CTS', api.raw_io.stream_output( | 367 api.override_step_data('Run CTS', api.raw_io.stream_output( |
368 'Invalid CTS output here...', | 368 'Invalid CTS output here...', |
369 stream='stdout'))) | 369 stream='stdout'))) |
OLD | NEW |