[Android WebViewShell] Add support for running (some) blink layout tests in WebViewShell.
commit154900da3b6e2794a37a1a13f885c23dd95f9f3a
authortimvolodine <timvolodine@chromium.org>
Fri, 26 Jun 2015 13:03:52 +0000 (26 06:03 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 26 Jun 2015 13:04:29 +0000 (26 13:04 +0000)
treea8e4b66df4e8ddc06243c1d77e680e828ea9aa09
parenta2e3a27e9ad25b0ebb915f25eed57ff658ebfa1e
[Android WebViewShell] Add support for running (some) blink layout tests in WebViewShell.

This patch does the following:
- adds framework support for running a subset of blink layout tests in the webview shell
- adds 2 sample tests, one of which tests the global interface exposed in webview
- adds functionality to rebase the tests
- adds a script to run the tests on an android device

The testing works similarly to layout testing in blink in that a html file is loaded
using webview which executes some JavaScript. The latter generates textual output and
the result is compared against an expectations file.

BUG=497861

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

Cr-Commit-Position: refs/heads/master@{#336361}
android_webview/tools/WebViewShell/AndroidManifest.xml
android_webview/tools/WebViewShell/res/values/strings.xml
android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTest.java [new file with mode: 0644]
android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTestActivity.java [new file with mode: 0644]
android_webview/tools/WebViewShell/src/org/chromium/webview_shell/WebViewLayoutTestRunner.java [new file with mode: 0644]
android_webview/tools/WebViewShell/test/experimental/basic-logging-expected.txt [new file with mode: 0644]
android_webview/tools/WebViewShell/test/experimental/basic-logging.html [new file with mode: 0644]
android_webview/tools/WebViewShell/test/resources/js-test.js [new file with mode: 0644]
android_webview/tools/WebViewShell/test/test_runner.sh [new file with mode: 0755]
android_webview/tools/WebViewShell/test/webexposed/global-interface-listing-expected.txt [new file with mode: 0644]