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

Issue 1839853002: Moving remaining mocks from WebTestProxyBase into TestRunner. (Closed)

Created:
4 years, 8 months ago by Łukasz Anforowicz
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@splitting-web-view-test-client
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moving remaining mocks from WebTestProxyBase into TestRunner. This CL moves SpellCheckClient and MockCredentialManagerClient from WebTestProxyBase into TestRunner. This keeps the mocks closer to the actual usage and helps further limit the amount of code left inside WebTestProxyBase (most of the code has been moved out into WebFrameTestClient and WebViewTestClient in the few previous CLs). This CL also makes WebTestRunner responsible for installing mocks it manages into a particular WebView (i.e. this CL moves this code out of LayoutTestContentRendererClient::RenderViewCreated and into WebTestRunner::InitializeWebViewWithMocks). Note that the removed WebTestProxyBase::PostSpellCheckEvent method didn't disappear altogether, but was instead inlined into SpellCheckClient::FinishLastTextCheck. BUG=595089 Committed: https://crrev.com/5c2279cfe031d3fe92687e7e83f13feeafb407c0 Cr-Commit-Position: refs/heads/master@{#385194}

Patch Set 1 #

Patch Set 2 : Rebasing... #

Patch Set 3 : Rebasing... #

Patch Set 4 : Rebasing... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -51 lines) Patch
M components/test_runner/spell_check_client.h View 2 chunks +10 lines, -4 lines 0 comments Download
M components/test_runner/spell_check_client.cc View 3 chunks +8 lines, -5 lines 0 comments Download
M components/test_runner/test_runner.h View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M components/test_runner/test_runner.cc View 1 2 3 5 chunks +13 lines, -6 lines 0 comments Download
M components/test_runner/web_test_proxy.h View 1 4 chunks +0 lines, -11 lines 0 comments Download
M components/test_runner/web_test_proxy.cc View 1 3 chunks +1 line, -21 lines 0 comments Download
M components/test_runner/web_test_runner.h View 1 chunk +7 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/layout_test_content_renderer_client.cc View 2 chunks +6 lines, -4 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (7 generated)
Łukasz Anforowicz
jochen@, could you please take a look?
4 years, 8 months ago (2016-03-30 22:51:10 UTC) #3
jochen (gone - plz use gerrit)
lgtm
4 years, 8 months ago (2016-03-31 15:14:41 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839853002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839853002/60001
4 years, 8 months ago (2016-04-05 04:25:10 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/164526)
4 years, 8 months ago (2016-04-05 04:35:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1839853002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1839853002/60001
4 years, 8 months ago (2016-04-05 16:39:46 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-05 16:44:56 UTC) #12
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 16:46:24 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5c2279cfe031d3fe92687e7e83f13feeafb407c0
Cr-Commit-Position: refs/heads/master@{#385194}

Powered by Google App Engine
This is Rietveld 408576698