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

Issue 1463293002: Replace MockConnectionToClient with FakeConnectionToClient (Closed)

Created:
5 years, 1 month ago by Sergey Ulanov
Modified:
5 years ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@remove_RejectAuthenticatingClient
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace MockConnectionToClient with FakeConnectionToClient MockConnectionToClient is hard to use and adds a lot of boilerplate in tests. Replacing it with FakeConnectionToClient will make it easier to make changes in the ConnectionToClient interface. BUG=547158 Committed: https://crrev.com/60082fbfeef5936a19bf22a3e31edf2614386e1e Cr-Commit-Position: refs/heads/master@{#361442}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -142 lines) Patch
M remoting/host/chromoting_host_unittest.cc View 1 12 chunks +38 lines, -76 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 5 chunks +6 lines, -11 lines 0 comments Download
M remoting/protocol/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A remoting/protocol/fake_connection_to_client.h View 1 chunk +71 lines, -0 lines 0 comments Download
A remoting/protocol/fake_connection_to_client.cc View 1 1 chunk +66 lines, -0 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 chunk +0 lines, -49 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M remoting/remoting_test.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (6 generated)
Sergey Ulanov
5 years, 1 month ago (2015-11-23 22:48:50 UTC) #6
Jamie
LGTM with one suggestion. https://codereview.chromium.org/1463293002/diff/60001/remoting/host/chromoting_host_unittest.cc File remoting/host/chromoting_host_unittest.cc (right): https://codereview.chromium.org/1463293002/diff/60001/remoting/host/chromoting_host_unittest.cc#newcode333 remoting/host/chromoting_host_unittest.cc:333: // Expect that a client ...
5 years, 1 month ago (2015-11-24 00:38:09 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/1463293002/diff/60001/remoting/host/chromoting_host_unittest.cc File remoting/host/chromoting_host_unittest.cc (right): https://codereview.chromium.org/1463293002/diff/60001/remoting/host/chromoting_host_unittest.cc#newcode333 remoting/host/chromoting_host_unittest.cc:333: // Expect that a client is disconnected, after a ...
5 years, 1 month ago (2015-11-24 01:21:09 UTC) #8
Jamie
lgtm
5 years, 1 month ago (2015-11-24 01:23:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463293002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463293002/80001
5 years ago (2015-11-24 20:13:20 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:80001)
5 years ago (2015-11-24 21:12:56 UTC) #12
commit-bot: I haz the power
5 years ago (2015-11-24 21:13:52 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/60082fbfeef5936a19bf22a3e31edf2614386e1e
Cr-Commit-Position: refs/heads/master@{#361442}

Powered by Google App Engine
This is Rietveld 408576698