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

Issue 2793823002: Add unittests for certificate and file parsing. (Closed)

Created:
3 years, 8 months ago by martijnc
Modified:
3 years, 8 months ago
Reviewers:
davidben
CC:
cbentzel+watch_chromium.org, chromium-reviews, lgarron, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unittests for the certificate and file parsing logic in the transport security state generator. BUG=595493 Review-Url: https://codereview.chromium.org/2793823002 Cr-Commit-Position: refs/heads/master@{#461900} Committed: https://chromium.googlesource.com/chromium/src/+/304189c3d5089ead05a2dfb3360e141d2b92eda0

Patch Set 1 #

Total comments: 24

Patch Set 2 : comments davidben #

Total comments: 1

Messages

Total messages: 25 (17 generated)
martijnc
These are the last pieces from https://codereview.chromium.org/2660793002. The functions that do the input file parsing ...
3 years, 8 months ago (2017-04-03 18:57:49 UTC) #5
Ryan Sleevi
Thanks for sending this out. Unfortunately, there's a few other things going on and I'm ...
3 years, 8 months ago (2017-04-03 19:06:09 UTC) #6
martijnc
davidben: I think you are familiar with the preload code, can you review this patch?
3 years, 8 months ago (2017-04-03 19:30:12 UTC) #8
davidben
Thanks! Minor nits but otherwise looks good. https://codereview.chromium.org/2793823002/diff/20001/net/tools/transport_security_state_generator/cert_util_unittest.cc File net/tools/transport_security_state_generator/cert_util_unittest.cc (right): https://codereview.chromium.org/2793823002/diff/20001/net/tools/transport_security_state_generator/cert_util_unittest.cc#newcode138 net/tools/transport_security_state_generator/cert_util_unittest.cc:138: GetX509CertificateFromPEM(std::string(kInvalidPublicKeyPEM))); I ...
3 years, 8 months ago (2017-04-03 20:53:02 UTC) #9
martijnc
https://codereview.chromium.org/2793823002/diff/20001/net/tools/transport_security_state_generator/cert_util_unittest.cc File net/tools/transport_security_state_generator/cert_util_unittest.cc (right): https://codereview.chromium.org/2793823002/diff/20001/net/tools/transport_security_state_generator/cert_util_unittest.cc#newcode138 net/tools/transport_security_state_generator/cert_util_unittest.cc:138: GetX509CertificateFromPEM(std::string(kInvalidPublicKeyPEM))); On 2017/04/03 at 20:53:02, davidben wrote: > I ...
3 years, 8 months ago (2017-04-04 18:31:10 UTC) #17
davidben
lgtm https://codereview.chromium.org/2793823002/diff/100001/net/tools/transport_security_state_generator/input_file_parsers.cc File net/tools/transport_security_state_generator/input_file_parsers.cc (right): https://codereview.chromium.org/2793823002/diff/100001/net/tools/transport_security_state_generator/input_file_parsers.cc#newcode181 net/tools/transport_security_state_generator/input_file_parsers.cc:181: certs_input, "\n", base::KEEP_WHITESPACE, base::SPLIT_WANT_ALL)) { Oh, my bad! ...
3 years, 8 months ago (2017-04-04 23:35:32 UTC) #21
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/2793823002/100001
3 years, 8 months ago (2017-04-04 23:36:29 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 23:46:02 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/304189c3d5089ead05a2dfb3360e...

Powered by Google App Engine
This is Rietveld 408576698