| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 """ | 5 """ |
| 6 Recipe for running AndroidWebViewShell instrumentation layout tests using | 6 Recipe for running AndroidWebViewShell instrumentation layout tests using |
| 7 system WebView. | 7 system WebView. |
| 8 """ | 8 """ |
| 9 | 9 |
| 10 from recipe_engine.types import freeze | 10 from infra.libs.infra_types import freeze |
| 11 | 11 |
| 12 DEPS = [ | 12 DEPS = [ |
| 13 'adb', | 13 'adb', |
| 14 'bot_update', | 14 'bot_update', |
| 15 'chromium', | 15 'chromium', |
| 16 'chromium_android', | 16 'chromium_android', |
| 17 'gclient', | 17 'gclient', |
| 18 'json', | 18 'json', |
| 19 'path', | 19 'path', |
| 20 'properties', | 20 'properties', |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 api.chromium_android.test_report() | 82 api.chromium_android.test_report() |
| 83 | 83 |
| 84 def run_tests(api): | 84 def run_tests(api): |
| 85 droid = api.chromium_android | 85 droid = api.chromium_android |
| 86 for suite in INSTRUMENTATION_TESTS: | 86 for suite in INSTRUMENTATION_TESTS: |
| 87 droid.run_instrumentation_suite(suite['test'], verbose=True, | 87 droid.run_instrumentation_suite(suite['test'], verbose=True, |
| 88 **suite.get('kwargs', {})) | 88 **suite.get('kwargs', {})) |
| 89 | 89 |
| 90 def GenTests(api): | 90 def GenTests(api): |
| 91 yield api.test('basic') + api.properties.scheduled() | 91 yield api.test('basic') + api.properties.scheduled() |
| OLD | NEW |