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

Issue 2562473002: Fixing SecurityKeySocket unit test issues and cleanup (Closed)

Created:
4 years ago by joedow
Modified:
4 years ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixing SecurityKeySocket unit test issues The low-level security key unit tests had a few problems that I am fixing in this CL: 1.) Several unit tests didn't actually test anything 2.) The other unit tests did not have enough validation There is also some minor renaming and trimming to get more code to fit on a single line instead of spanning mulitple lines. BUG=630659 Committed: https://crrev.com/865c534bef93f875acf0073efcbbf79e201339fd Cr-Commit-Position: refs/heads/master@{#438408}

Patch Set 1 #

Patch Set 2 : Fixing some comments and unnecessary headers #

Total comments: 6

Patch Set 3 : Addressing Feedback #

Patch Set 4 : Added one more validation to the timeout unit test #

Total comments: 6

Patch Set 5 : Addressing CR Feedback #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -68 lines) Patch
M remoting/host/security_key/security_key_auth_handler_posix.cc View 1 2 5 chunks +21 lines, -31 lines 0 comments Download
M remoting/host/security_key/security_key_auth_handler_posix_unittest.cc View 1 2 3 4 11 chunks +105 lines, -23 lines 0 comments Download
M remoting/host/security_key/security_key_extension_session.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M remoting/host/security_key/security_key_socket.cc View 1 2 6 chunks +24 lines, -12 lines 0 comments Download

Messages

Total messages: 36 (28 generated)
joedow
PTAL!
4 years ago (2016-12-07 18:10:31 UTC) #12
Sergey Ulanov
I'm not sure how this change is related to the issue in the bug. The ...
4 years ago (2016-12-07 20:41:36 UTC) #13
joedow
I've updated this CL to focus on improving the unit test coverage. I was initially ...
4 years ago (2016-12-13 20:30:44 UTC) #21
Sergey Ulanov
lgtm https://codereview.chromium.org/2562473002/diff/60001/remoting/host/security_key/security_key_auth_handler_posix_unittest.cc File remoting/host/security_key/security_key_auth_handler_posix_unittest.cc (right): https://codereview.chromium.org/2562473002/diff/60001/remoting/host/security_key/security_key_auth_handler_posix_unittest.cc#newcode48 remoting/host/security_key/security_key_auth_handler_posix_unittest.cc:48: const unsigned char kSshErrorData[] = {0x00, 0x00, 0x00, ...
4 years ago (2016-12-14 00:17:03 UTC) #22
joedow
Thanks!! https://codereview.chromium.org/2562473002/diff/60001/remoting/host/security_key/security_key_auth_handler_posix_unittest.cc File remoting/host/security_key/security_key_auth_handler_posix_unittest.cc (right): https://codereview.chromium.org/2562473002/diff/60001/remoting/host/security_key/security_key_auth_handler_posix_unittest.cc#newcode48 remoting/host/security_key/security_key_auth_handler_posix_unittest.cc:48: const unsigned char kSshErrorData[] = {0x00, 0x00, 0x00, ...
4 years ago (2016-12-14 00:41:35 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2562473002/100001
4 years ago (2016-12-14 03:01:01 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years ago (2016-12-14 03:06:19 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-14 03:09:02 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/865c534bef93f875acf0073efcbbf79e201339fd
Cr-Commit-Position: refs/heads/master@{#438408}

Powered by Google App Engine
This is Rietveld 408576698