Closed Bug 1316193 Opened 8 years ago Closed 8 years ago

Convert XPCOM test TestThreadPoolListener to a gtest

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: erahm, Assigned: erahm)

References

Details

Attachments

(1 file)

Convert xpcom/tests/TestThreadPoolListener.cpp to a gtest and move to xpcom/tests/gtest/.
MozReview-Commit-ID: JiyYTGGuKJo
Attachment #8809111 - Flags: review?(benjamin)
Assignee: nobody → erahm
Status: NEW → ASSIGNED
Comment on attachment 8809111 [details] [diff] [review] Convert XPCOM test TestThreadPoolListener to a gtest + EXPECT_TRUE(false) << "Too many threads!"; Should probably be FAIL() << " Too many threads!";
Attachment #8809111 - Flags: review?(benjamin) → review+
(In reply to Benjamin Smedberg [:bsmedberg] from comment #2) > Comment on attachment 8809111 [details] [diff] [review] > Convert XPCOM test TestThreadPoolListener to a gtest > > + EXPECT_TRUE(false) << "Too many threads!"; > > Should probably be FAIL() << " Too many threads!"; Fail doesn't work here as the function returns an nsresult.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: