Descriptionhtml_viewer/web_view: An app for running layout-tests.
The standalone app (layout_test_runner) can be used as a driver with the
run-webkit-tests script in blink to run the layout tests. A brief explanation
of how it works:
. The app launches mojo:web_view_test_runner.
. In system-check mode, the mojo:web_view_test_runner app terminates when the
view-tree host comes up successfully, instead of loading any pages.
. LayoutTestHTMLViewer installs a callback on WebTestInterfaces to run a callback
when the test stops running.
. When a test stops running, LayoutTestHTMLViewer notifies the
mojo:web_view_test_runner app about it through the LayoutTestRunner interface.
Command:
./third_party/WebKit/Tools/Scripts/run-webkit-tests \
--driver-name=layout_test_runner \
--additional-driver-flag=--content-handlers=text/html,mojo:layout_test_html_viewer \
--debug \
--target=Debug_gn \
fast/events/touch/create-touch-event.html
Only text-only tests are supported right now. Pixel/audio output are yet to be
done. Some stats:
. fast/dom: 1434 passes out of 1963 tests.
. fast/events: 449 passes out of 738 tests.
. fast/events/touch: 99 passes out of 131 tests.
BUG=478250
R=jochen@chromium.org, rsleevi@chromium.org, sky@chromium.org
Committed: https://crrev.com/60cb54f6837ab9b7f0377b36fa7e33cd076ba088
Cr-Commit-Position: refs/heads/master@{#348053}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : gn-check #Patch Set 5 : gn-check #Patch Set 6 : . #Patch Set 7 : . #Patch Set 8 : fix-win-build #
Total comments: 5
Patch Set 9 : dedicated-app #Patch Set 10 : . #
Total comments: 8
Patch Set 11 : . #Patch Set 12 : . #
Total comments: 2
Patch Set 13 : . #
Total comments: 2
Patch Set 14 : . #Patch Set 15 : . #Patch Set 16 : . #Patch Set 17 : . #Patch Set 18 : . #Patch Set 19 : tot/merge #Messages
Total messages: 29 (7 generated)
|