Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Issue 10941011: Rewrite layout_browsertests to use content_shell --dump-render-tree to execute layout tests (Closed)

Created:
8 years, 3 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 2 months ago
Reviewers:
dgrogan, jam, jsbell
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, kinuko+watch, jam, tzik+watch_chromium.org
Visibility:
Public.

Description

Rewrite layout_browsertests to use content_shell --dump-render-tree to execute layout tests break down of changes - refactor WebKitTestResultPrinter to print to a stream - allow for swapping the result printer - add testRunner.workerThreadCount implementation and testRunner.overridePreference stub - rip out the fake testRunner and result getting / formatting code from InProcessBrowserLayoutTest - make it use WebKitTestController to run the tests - remove all the code for copying resources around (since we don't need to patch the tests, we can just read the original) BUG=none TEST=layout_browsertests passes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158803

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -251 lines) Patch
M content/browser/audio_browsertest.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M content/browser/fileapi/blob_layout_browsertest.cc View 1 chunk +1 line, -22 lines 0 comments Download
M content/browser/in_process_webkit/indexed_db_layout_browsertest.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M content/browser/media_browsertest.cc View 1 chunk +1 line, -16 lines 0 comments Download
M content/browser/worker_host/test/worker_browsertest.cc View 4 chunks +3 lines, -25 lines 2 comments Download
M content/shell/shell.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/shell/shell_browser_main.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
M content/shell/shell_javascript_dialog_creator.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M content/shell/webkit_test_runner.js View 2 chunks +8 lines, -0 lines 0 comments Download
M content/shell/webkit_test_runner_bindings.cc View 3 chunks +20 lines, -0 lines 0 comments Download
M content/shell/webkit_test_runner_host.h View 5 chunks +14 lines, -3 lines 0 comments Download
M content/shell/webkit_test_runner_host.cc View 11 chunks +51 lines, -34 lines 0 comments Download
M content/test/content_browser_test.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/test/layout_browsertest.h View 2 chunks +8 lines, -7 lines 0 comments Download
M content/test/layout_browsertest.cc View 9 chunks +33 lines, -112 lines 1 comment Download

Messages

Total messages: 18 (0 generated)
jochen (gone - plz use gerrit)
plz review
8 years, 3 months ago (2012-09-18 13:17:51 UTC) #1
jochen (gone - plz use gerrit)
+dgrogan, jsbell Looks like we need to fix the expectations for intversion-delete-in-upgradeneeded.html and basics-shared-workers.html I ...
8 years, 3 months ago (2012-09-18 18:48:26 UTC) #2
jochen (gone - plz use gerrit)
Joshua rebased the test in webkit r128920 thanks
8 years, 3 months ago (2012-09-18 19:18:34 UTC) #3
jam
https://codereview.chromium.org/10941011/diff/3001/content/browser/worker_host/test/worker_browsertest.cc File content/browser/worker_host/test/worker_browsertest.cc (right): https://codereview.chromium.org/10941011/diff/3001/content/browser/worker_host/test/worker_browsertest.cc#newcode199 content/browser/worker_host/test/worker_browsertest.cc:199: // "abort-exception-assert.html", how did this work before?
8 years, 3 months ago (2012-09-18 20:04:08 UTC) #4
jochen (gone - plz use gerrit)
On 2012/09/18 20:04:08, John Abd-El-Malek wrote: > https://codereview.chromium.org/10941011/diff/3001/content/browser/worker_host/test/worker_browsertest.cc > File content/browser/worker_host/test/worker_browsertest.cc (right): > > https://codereview.chromium.org/10941011/diff/3001/content/browser/worker_host/test/worker_browsertest.cc#newcode199 ...
8 years, 3 months ago (2012-09-18 20:06:14 UTC) #5
jam
lgtm https://codereview.chromium.org/10941011/diff/3001/content/browser/worker_host/test/worker_browsertest.cc File content/browser/worker_host/test/worker_browsertest.cc (right): https://codereview.chromium.org/10941011/diff/3001/content/browser/worker_host/test/worker_browsertest.cc#newcode199 content/browser/worker_host/test/worker_browsertest.cc:199: // "abort-exception-assert.html", On 2012/09/18 20:04:08, John Abd-El-Malek wrote: ...
8 years, 3 months ago (2012-09-18 20:29:53 UTC) #6
jsbell
lgtm
8 years, 3 months ago (2012-09-18 21:13:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/10941011/3001
8 years, 3 months ago (2012-09-21 21:22:01 UTC) #8
commit-bot: I haz the power
Retried try job too often for step(s) content_browsertests
8 years, 3 months ago (2012-09-22 00:46:40 UTC) #9
dgrogan
On 2012/09/22 00:46:40, I haz the power (commit-bot) wrote: > Retried try job too often ...
8 years, 2 months ago (2012-09-25 18:04:16 UTC) #10
dgrogan
https://chromiumcodereview.appspot.com/10941011/diff/3001/content/test/layout_browsertest.cc File content/test/layout_browsertest.cc (left): https://chromiumcodereview.appspot.com/10941011/diff/3001/content/test/layout_browsertest.cc#oldcode196 content/test/layout_browsertest.cc:196: ReplaceSubstringsAfterOffset(&actual_text, 0, "\r", ""); Looks like we now need ...
8 years, 2 months ago (2012-09-25 18:04:31 UTC) #11
jochen (gone - plz use gerrit)
On 2012/09/25 18:04:31, dgrogan wrote: > https://chromiumcodereview.appspot.com/10941011/diff/3001/content/test/layout_browsertest.cc > File content/test/layout_browsertest.cc (left): > > https://chromiumcodereview.appspot.com/10941011/diff/3001/content/test/layout_browsertest.cc#oldcode196 > ...
8 years, 2 months ago (2012-09-25 18:06:22 UTC) #12
dgrogan
> Can you point me at which expected.txt file has \r\n? the baselines shouldn't > ...
8 years, 2 months ago (2012-09-25 18:29:46 UTC) #13
dgrogan
> hexdump LayoutTests/fast/events/message-channel-gc-expected.txt doesn't show any > \r\n so I bet it's something with the ...
8 years, 2 months ago (2012-09-25 18:53:03 UTC) #14
dgrogan
The properties should be fixed in wk 129539 and 129542
8 years, 2 months ago (2012-09-25 19:32:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/10941011/3001
8 years, 2 months ago (2012-09-26 07:26:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/10941011/3001
8 years, 2 months ago (2012-09-26 13:14:21 UTC) #17
commit-bot: I haz the power
8 years, 2 months ago (2012-09-26 15:20:09 UTC) #18
Change committed as 158803

Powered by Google App Engine
This is Rietveld 408576698