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

Issue 2629093002: Parameterize the CertVerifyProc tests so they can be run with (Closed)

Created:
3 years, 11 months ago by eroman
Modified:
3 years, 10 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Parameterize the CertVerifyProc tests so they can be run with implementations other than CertVerifyProc::CreateDefault(). BUG=649017 Review-Url: https://codereview.chromium.org/2629093002 Cr-Commit-Position: refs/heads/master@{#448086} Committed: https://chromium.googlesource.com/chromium/src/+/a51779b5e41d1d8e1498e8dc10d4795b5988515f

Patch Set 1 #

Total comments: 39

Patch Set 2 : Switch to TYPED_TEST() #

Patch Set 3 : Fix headers #

Total comments: 1

Patch Set 4 : Revert back to patchset 1 (plus merge master) #

Patch Set 5 : Re-apply some of the useful changes from patchset 2 #

Patch Set 6 : Address comments #

Total comments: 8

Patch Set 7 : Address sleevi comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+515 lines, -444 lines) Patch
M net/cert/cert_verify_proc_unittest.cc View 1 2 3 4 5 6 78 chunks +515 lines, -444 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (20 generated)
eroman
https://codereview.chromium.org/2629093002/diff/1/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc (right): https://codereview.chromium.org/2629093002/diff/1/net/cert/cert_verify_proc_unittest.cc#newcode113 net/cert/cert_verify_proc_unittest.cc:113: CERT_VERIFY_PROC_BUILTIN, I will scrub all the "built-in" stuff prior ...
3 years, 11 months ago (2017-01-12 07:26:09 UTC) #6
Ryan Sleevi
So I left some initial comments. I'm struggling right now to determine whether the complexity ...
3 years, 11 months ago (2017-01-12 20:01:56 UTC) #7
eroman
https://codereview.chromium.org/2629093002/diff/1/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc (right): https://codereview.chromium.org/2629093002/diff/1/net/cert/cert_verify_proc_unittest.cc#newcode104 net/cert/cert_verify_proc_unittest.cc:104: enum CertVerifyProcName { On 2017/01/12 20:01:56, Ryan Sleevi wrote: ...
3 years, 11 months ago (2017-01-12 21:42:48 UTC) #8
Ryan Sleevi
I can't convince myself that the template solution we discussed yesterday is fundamentally better, so ...
3 years, 11 months ago (2017-01-13 17:22:10 UTC) #9
eroman
Switched to TYPE_TEST(). See if you like that better before I respond to the other ...
3 years, 11 months ago (2017-01-13 22:12:23 UTC) #12
Ryan Sleevi
This is why I said hold up before going down that route, so I can ...
3 years, 11 months ago (2017-01-14 00:15:13 UTC) #17
eroman
I had already started exploring some of the alternatives we discussed in person yesterday, so ...
3 years, 11 months ago (2017-01-14 01:10:56 UTC) #20
Ryan Sleevi
https://codereview.chromium.org/2629093002/diff/40001/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc (right): https://codereview.chromium.org/2629093002/diff/40001/net/cert/cert_verify_proc_unittest.cc#newcode113 net/cert/cert_verify_proc_unittest.cc:113: } As mentioned in the other review, the naming ...
3 years, 11 months ago (2017-01-14 01:50:28 UTC) #21
eroman
PTAL. I have rolled back to patchset #1, and tried to address the comments using ...
3 years, 10 months ago (2017-02-01 01:13:55 UTC) #22
Ryan Sleevi
Mostly LG with a few nits. And I can see there's a lot of crap ...
3 years, 10 months ago (2017-02-01 23:46:38 UTC) #23
eroman
https://codereview.chromium.org/2629093002/diff/100001/net/cert/cert_verify_proc_unittest.cc File net/cert/cert_verify_proc_unittest.cc (right): https://codereview.chromium.org/2629093002/diff/100001/net/cert/cert_verify_proc_unittest.cc#newcode192 net/cert/cert_verify_proc_unittest.cc:192: } On 2017/02/01 23:46:38, Ryan Sleevi wrote: > This ...
3 years, 10 months ago (2017-02-02 00:36:55 UTC) #25
eroman
ping
3 years, 10 months ago (2017-02-03 20:00:48 UTC) #29
Ryan Sleevi
Sorry, should have LGTM'd that, since they were nits
3 years, 10 months ago (2017-02-03 21:11:58 UTC) #30
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/2629093002/120001
3 years, 10 months ago (2017-02-03 21:25:25 UTC) #32
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 22:10:58 UTC) #35
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/a51779b5e41d1d8e1498e8dc10d4...

Powered by Google App Engine
This is Rietveld 408576698