Closed Bug 1440029 Opened 7 years ago Closed 7 years ago

Add a test for the TrustOverrideUtils.h

Categories

(Core :: Security: PSM, enhancement, P2)

60 Branch
enhancement

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 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+
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!
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 :)
Keywords: checkin-needed
Keywords: checkin-needed
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.

Attachment

General

Created:
Updated:
Size: