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

Issue 8230034: Split most of RenderViewTest and associated classes into content. (Closed)

Created:
9 years, 2 months ago by Jói
Modified:
9 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Split most of RenderViewTest and associated classes into content. BUG=99224 TEST=existing browser_tests, unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105511

Patch Set 1 #

Patch Set 2 : Ready for review? #

Patch Set 3 : Ready for review! #

Total comments: 14

Patch Set 4 : Addressing review comments and merging to lkgr. #

Patch Set 5 : Hopefully fixes [git mv] fiasco #

Patch Set 6 : Fixed crash in TranslateHelper tests. Still crashes in second test with --single_process as before. #

Patch Set 7 : Mac / clang fixes. #

Patch Set 8 : Fix Mac build breaks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+951 lines, -1628 lines) Patch
M chrome/browser/extensions/extension_messages_browsertest.cc View 1 11 chunks +14 lines, -14 lines 0 comments Download
M chrome/browser/sessions/tab_restore_service_browsertest.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 3 chunks +6 lines, -10 lines 0 comments Download
M chrome/renderer/autofill/autofill_agent.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/autofill/autofill_browsertest.cc View 1 7 chunks +11 lines, -9 lines 0 comments Download
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 1 6 chunks +6 lines, -6 lines 0 comments Download
M chrome/renderer/autofill/form_autofill_browsertest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_manager_browsertest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
A chrome/renderer/chrome_mock_render_thread.h View 1 2 3 1 chunk +102 lines, -0 lines 0 comments Download
A chrome/renderer/chrome_mock_render_thread.cc View 1 1 chunk +198 lines, -0 lines 0 comments Download
M chrome/renderer/content_settings_observer_browsertest.cc View 1 8 chunks +9 lines, -9 lines 0 comments Download
D chrome/renderer/mock_keyboard.h View 1 chunk +0 lines, -107 lines 0 comments Download
D chrome/renderer/mock_keyboard.cc View 1 chunk +0 lines, -47 lines 0 comments Download
D chrome/renderer/mock_keyboard_driver_win.h View 1 chunk +0 lines, -42 lines 0 comments Download
D chrome/renderer/mock_keyboard_driver_win.cc View 1 chunk +0 lines, -163 lines 0 comments Download
D chrome/renderer/mock_render_thread.h View 1 2 3 1 chunk +0 lines, -191 lines 0 comments Download
D chrome/renderer/mock_render_thread.cc View 1 2 3 1 chunk +0 lines, -350 lines 0 comments Download
M chrome/renderer/page_click_tracker_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/print_web_view_helper_browsertest.cc View 1 2 3 21 chunks +36 lines, -33 lines 0 comments Download
M chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/translate_helper_browsertest.cc View 1 2 3 4 5 5 chunks +19 lines, -14 lines 0 comments Download
A chrome/test/base/chrome_render_view_test.h View 1 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/test/base/chrome_render_view_test.cc View 1 1 chunk +90 lines, -0 lines 0 comments Download
M chrome/test/base/render_view_test.h View 1 1 chunk +0 lines, -136 lines 0 comments Download
M chrome/test/base/render_view_test.cc View 1 1 chunk +0 lines, -364 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/external_popup_menu_unittest.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 18 chunks +28 lines, -28 lines 0 comments Download
M content/renderer/render_view_browsertest_mac.mm View 1 2 3 4 5 6 7 3 chunks +5 lines, -3 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
A + content/test/mock_keyboard.h View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
A + content/test/mock_keyboard.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + content/test/mock_keyboard_driver_win.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
A + content/test/mock_keyboard_driver_win.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A content/test/mock_render_thread.h View 1 2 3 4 5 6 1 chunk +121 lines, -0 lines 0 comments Download
A content/test/mock_render_thread.cc View 1 2 3 1 chunk +184 lines, -0 lines 0 comments Download
A + content/test/render_view_test.h View 1 2 3 5 chunks +12 lines, -19 lines 0 comments Download
A + content/test/render_view_test.cc View 1 9 chunks +19 lines, -45 lines 0 comments Download
M content/test/render_widget_browsertest.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/test/render_widget_browsertest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Jói
9 years, 2 months ago (2011-10-13 03:58:11 UTC) #1
jam
lgtm http://codereview.chromium.org/8230034/diff/3041/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): http://codereview.chromium.org/8230034/diff/3041/chrome/chrome_tests.gypi#newcode143 chrome/chrome_tests.gypi:143: 'renderer/chrome_mock_render_thread.cc', nit: ordering http://codereview.chromium.org/8230034/diff/3041/chrome/chrome_tests.gypi#newcode1882 chrome/chrome_tests.gypi:1882: 'test/base/chrome_render_view_test.cc', nit: ordering ...
9 years, 2 months ago (2011-10-13 17:35:32 UTC) #2
Jói
Addressed review comments and merged to lkgr (there was a bit of manual merging needed ...
9 years, 2 months ago (2011-10-13 18:47:26 UTC) #3
jam
http://codereview.chromium.org/8230034/diff/3041/content/test/mock_render_thread.h File content/test/mock_render_thread.h (right): http://codereview.chromium.org/8230034/diff/3041/content/test/mock_render_thread.h#newcode1 content/test/mock_render_thread.h:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
9 years, 2 months ago (2011-10-13 19:03:44 UTC) #4
Jói
I'm using git and I have lots of local changes in between, so it's a ...
9 years, 2 months ago (2011-10-13 19:09:40 UTC) #5
Jói
OK, so I tried very hard and jumped through several hoops to try to get ...
9 years, 2 months ago (2011-10-13 21:15:31 UTC) #6
jam
oh I wasn't aware that you were using git. if you're doing it like the ...
9 years, 2 months ago (2011-10-13 21:39:07 UTC) #7
Jói
PTAL at translate_helper_browsertest.cc, this fixes the crash we were seeing even in process-per-browsertest mode. I'm ...
9 years, 2 months ago (2011-10-13 21:40:12 UTC) #8
jam
still lgtm On 2011/10/13 21:40:12, Jói wrote: > PTAL at translate_helper_browsertest.cc, this fixes the crash ...
9 years, 2 months ago (2011-10-13 21:43:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joi@chromium.org/8230034/16001
9 years, 2 months ago (2011-10-13 21:45:51 UTC) #10
commit-bot: I haz the power
Presubmit check for 8230034-16001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 2 months ago (2011-10-13 21:46:11 UTC) #11
Jói
9 years, 2 months ago (2011-10-13 21:47:52 UTC) #12
will commit by hand once trybots are happy

On Thu, Oct 13, 2011 at 2:46 PM,  <commit-bot@chromium.org> wrote:
> Presubmit check for 8230034-16001 failed and returned exit status 1.
>
> Running presubmit commit checks ...
>
> ** Presubmit Warnings **
> New code should not use wstrings.  If you are calling an API that accepts a
> wstring, fix the API.
>    content/test/mock_keyboard.cc:20
>    content/test/mock_keyboard.h:94
>    content/test/mock_keyboard_driver_win.cc:152
>    content/test/mock_keyboard_driver_win.h:24
>    content/test/render_view_test.h:81
>
> Presubmit checks took 3.4s to calculate.
>
> Was the presubmit check useful? Please send feedback & hate mail to
> maruel@chromium.org!
>
>
> http://codereview.chromium.org/8230034/
>

Powered by Google App Engine
This is Rietveld 408576698