Closed Bug 1180084 Opened 9 years ago Closed 9 years ago

Convert TestPLDHash.cpp to a gtest

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

Attachments

(1 file)

gtest seems to be the direction we're moving towards, and it certainly makes
this test more compact, reducing its length by 86 lines.
Hmm, maybe this should go in xpcom/glue/tests/gtest/ rather than xpcom/tests/gtest/?
Personally, I think it is better to avoid more subdirectories when possible. I have a vague sense that glue/ vs base/ is more about the linkage of stuff which I wouldn't think would really apply to a gtest.
Comment on attachment 8629191 [details] [diff] [review]
Convert TestPLDHash.cpp to a gtest

Review of attachment 8629191 [details] [diff] [review]:
-----------------------------------------------------------------

Sure.  Is this going to get in the way of your "try to test edge cases from a child process" work elsewhere?
Attachment #8629191 - Flags: review?(nfroyd) → review+
(In reply to Nathan Froyd [:froydnj] [:nfroyd] from comment #4)
>
> Sure.  Is this going to get in the way of your "try to test edge cases from
> a child process" work elsewhere?

Hopefully not. What little testing of the edge case stuff I've done has been on top of this gtest patch.
https://hg.mozilla.org/mozilla-central/rev/40740cddc131
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: