|
|
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
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
|
Total messages: 18 (0 generated)
|