Closed Bug 1229051 Opened 10 years ago Closed 10 years ago

Reenable C++ unit tests for UrlClassifier

Categories

(Toolkit :: Safe Browsing, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: gcp, Assigned: gcp)

References

Details

Attachments

(1 file)

C++ unit tests for some UrlClassifier parts exist but were disabled in bug 648911. Time to fix this.
Blocks: 1135022
Comment on attachment 8693620 [details] [diff] [review] Reenable C++ unit tests for UrlClassifier by converting to gtest Review of attachment 8693620 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/components/url-classifier/tests/gtest/TestUrlClassifierUtils.cpp @@ -272,5 @@ > printf("CanonicalizeHostname on long string (%dms)\n", > PR_IntervalToMilliseconds(clockEnd - clockStart)); > } > - > -void TestFragmentSet() We don't need to test this anymore or is the test broken?
Attachment #8693620 - Flags: review?(francois) → review+
Assignee: nobody → gpascutto
Status: NEW → ASSIGNED
(In reply to François Marier [:francois] from comment #2) > > -void TestFragmentSet() > > We don't need to test this anymore or is the test broken? The class that it's testing no longer seems to exist.
https://hg.mozilla.org/integration/mozilla-inbound/rev/d8000ef38139d5ea90a35c0ae13f4e3854920f08 Bug 1229051 - Reenable C++ unit tests for UrlClassifier by converting to gtest. r=francois
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: