Closed
Bug 1440029
Opened 7 years ago
Closed 7 years ago
Add a test for the TrustOverrideUtils.h
Categories
(Core :: Security: PSM, enhancement, P2)
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: jcj, Assigned: jcj)
References
Details
Attachments
(1 file)
We have a gtest that we tried to land in Bug 1434300 called TrustOverrideTest which breaks the AllocReplacement gtests [1]. This bug is to land that test separately.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1434300#c69
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8952867 [details]
Bug 1440029 - Add a test for TrustOverrideUtils.h
https://reviewboard.mozilla.org/r/222098/#review228042
So what's the plan for not breaking gtests again? Just waiting until bug 1433015 is fixed?
::: security/certverifier/tests/gtest/TrustOverrideTest.cpp:111
(Diff revision 1)
> +
> +static mozilla::UniqueCERTCertificate
> +CertFromString(const char* aPem)
> +{
> + nsCOMPtr<nsIX509Cert> cert = nsNSSCertificate::ConstructFromDER(
> + const_cast<char*>(aPem), strlen(aPem));
style nit: I think it's common to either indent this line only two more than the last or to break the line after the '=' on the previous line (if the rest will fit on one line)
Attachment #8952867 -
Flags: review?(dkeeler) → review+
Assignee | ||
Comment 3•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8952867 [details]
Bug 1440029 - Add a test for TrustOverrideUtils.h
https://reviewboard.mozilla.org/r/222098/#review228042
Yeah, wait until it's fixed. It sounds like Nathan has a plan. I just didn't want to forget this test / code so I put it up. :D
Thanks!
Assignee | ||
Comment 4•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8952867 [details]
Bug 1440029 - Add a test for TrustOverrideUtils.h
https://reviewboard.mozilla.org/r/222098/#review228042
> style nit: I think it's common to either indent this line only two more than the last or to break the line after the '=' on the previous line (if the rest will fit on one line)
Ah. Thanks :)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
Try run looks good after a rebase: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8ed0f9d4de73880e4a1b802ac95e707a35e32df8&selectedJob=164395062
Since bug 1433015 has landed, marking this checkin-needed.
Keywords: checkin-needed
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/4d345e3cfeb9
Add a test for TrustOverrideUtils.h r=keeler
Keywords: checkin-needed
Comment 9•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•