Commit 0975ee25 authored by Andrew Luo's avatar Andrew Luo Committed by Commit Bot

Run tests on the WebView bots with and without field trials.

Change-Id: I49e7cab2a169292d3650aea164da068ce69871d0
Bug: 997309
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763263
Commit-Queue: Andrew Luo <aluo@chromium.org>
Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Reviewed-by: default avatarBen Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690422}
parent 812e07da
...@@ -71,6 +71,14 @@ PACKAGE_INFO.update({ ...@@ -71,6 +71,14 @@ PACKAGE_INFO.update({
chrome.PackageInfo('com.google.android.webview', chrome.PackageInfo('com.google.android.webview',
'com.android.cts.webkit.WebViewStartupCtsActivity', 'com.android.cts.webkit.WebViewStartupCtsActivity',
'webview-command-line', None), 'webview-command-line', None),
'android_system_webview_shell':
chrome.PackageInfo('org.chromium.webview_shell',
'org.chromium.webview_shell.WebViewBrowserActivity',
'webview-command-line', None),
'android_webview_ui_test':
chrome.PackageInfo('org.chromium.webview_ui_test',
'org.chromium.webview_ui_test.WebViewUiTestActivity',
'webview-command-line', None),
}) })
......
This diff is collapsed.
...@@ -2547,6 +2547,7 @@ ...@@ -2547,6 +2547,7 @@
"apks/SystemWebView.apk", "apks/SystemWebView.apk",
"--replace-system-package", "--replace-system-package",
"org.chromium.webview_shell,apks/SystemWebViewShell.apk", "org.chromium.webview_shell,apks/SystemWebViewShell.apk",
"--use-apk-under-test-flags-file",
], ],
"label": "//android_webview/tools/system_webview_shell:system_webview_shell_layout_test_apk", "label": "//android_webview/tools/system_webview_shell:system_webview_shell_layout_test_apk",
"type": "console_test_launcher", "type": "console_test_launcher",
...@@ -2967,6 +2968,7 @@ ...@@ -2967,6 +2968,7 @@
"args": [ "args": [
"--use-webview-provider", "--use-webview-provider",
"apks/SystemWebView.apk", "apks/SystemWebView.apk",
"--use-apk-under-test-flags-file",
], ],
"label": "//android_webview/tools/automated_ui_tests:webview_ui_test_app_test_apk", "label": "//android_webview/tools/automated_ui_tests:webview_ui_test_app_test_apk",
"type": "console_test_launcher", "type": "console_test_launcher",
......
...@@ -4621,6 +4621,15 @@ ...@@ -4621,6 +4621,15 @@
'system_webview_shell_layout_test_apk': {}, 'system_webview_shell_layout_test_apk': {},
}, },
'system_webview_shell_instrumentation_tests_no_field_trial': {
'system_webview_shell_layout_test_apk_no_field_trial': {
'args': [
'--disable-field-trial-config',
],
'test': 'system_webview_shell_layout_test_apk',
},
},
'telemetry_perf_unittests_isolated_scripts': { 'telemetry_perf_unittests_isolated_scripts': {
'telemetry_perf_unittests': { 'telemetry_perf_unittests': {
'swarming': { 'swarming': {
...@@ -4768,10 +4777,38 @@ ...@@ -4768,10 +4777,38 @@
}, },
}, },
'webview_cts_tests_gtest_no_field_trial': {
'webview_cts_tests_no_field_trial': {
'args': [
'--disable-field-trial-config',
],
'swarming': {
'shards': 3,
'cipd_packages': [
{
"cipd_package": 'chromium/android_webview/tools/cts_archive',
'location': 'android_webview/tools/cts_archive',
'revision': 'version:1.7',
}
]
},
'test': 'webview_cts_tests',
},
},
'webview_ui_instrumentation_tests': { 'webview_ui_instrumentation_tests': {
'webview_ui_test_app_test_apk': {}, 'webview_ui_test_app_test_apk': {},
}, },
'webview_ui_instrumentation_tests_no_field_trial': {
'webview_ui_test_app_test_apk_no_field_trial': {
'args': [
'--disable-field-trial-config',
],
'test': 'webview_ui_test_app_test_apk',
},
},
'win7_32_bit_gtests': { 'win7_32_bit_gtests': {
'base_unittests': {}, 'base_unittests': {},
'browser_tests': { 'browser_tests': {
...@@ -5587,8 +5624,11 @@ ...@@ -5587,8 +5624,11 @@
'webview_bot_gtests': [ 'webview_bot_gtests': [
'system_webview_shell_instrumentation_tests', 'system_webview_shell_instrumentation_tests',
'system_webview_shell_instrumentation_tests_no_field_trial',
'webview_ui_instrumentation_tests', 'webview_ui_instrumentation_tests',
'webview_ui_instrumentation_tests_no_field_trial',
'webview_cts_tests_gtest', 'webview_cts_tests_gtest',
'webview_cts_tests_gtest_no_field_trial',
], ],
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment