Closed Bug 587550 Opened 14 years ago Closed 14 years ago

Fix broken UnicharSelfTest.cpp

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

intl/unicharutil/tests/UnicharSelfTest.cpp was broken by the de-COMification of nsICaseConverter in bug 575043.

This test is not run as part of the automatic test suite, but it would be nice to get it working again for purposes of testing code in bug 145975 for correctness and speed.
I tried to do this on Friday, but couldn't get my modifications to build.  I'll post what I have on Monday; it would be nice if someone who understands the build better (:cough: khuey) could look at it.
So the right way to do this is probably to put back the contract ID stuff that I accidentally removed.  I see you marked this blocking the perf bug though; you probably don't want to test this stuff through XPCOM if you're interested in meaningful perf numbers.

We'll chat tomorrow.
Well, if some stuff was accidentally removed, we should add it back.  But I was figuring that we'd just de-COM the test.
Attached patch Patch v1Splinter Review
Huh.  I managed to get it to work.  I thought this was what I was doing all along...
Assignee: smontagu → justin.lebar+bug
Status: NEW → ASSIGNED
Attachment #466435 - Flags: review?(me)
Comment on attachment 466435 [details] [diff] [review]
Patch v1

r=me (this is essentially a linkage/build issue so I don't think that Simon needs to review it.

Can you file a followup on making this use the test harness so that failures cause the build to go orange?
Attachment #466435 - Flags: review?(me) → review+
Attachment #466435 - Flags: approval2.0?
Blocks: 587831
(In reply to comment #5)
> Can you file a followup on making this use the test harness so that failures
> cause the build to go orange?

Filed as bug 587831.
Comment on attachment 466435 [details] [diff] [review]
Patch v1

Unflagging for approval since this is test-only.
Attachment #466435 - Flags: approval2.0?
http://hg.mozilla.org/mozilla-central/rev/878049d882e6
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: