Closed Bug 2070049 Opened 2 months ago Closed 2 months ago

Extend and improve the unit test for nsStreamConverter

Categories

(MailNews Core :: MIME, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
157 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(3 external files)

There's more things to test!

Only the nsIURI value is needed to make the converter work, and the channel provides one, but a
channel shouldn't be required.

Whether or not the alternative outputs of nsStreamConverter are actually correct is debatable (I
think that some of them are not), we should have testing to prove that they are working and doing
the basics correctly.

Keywords: leave-open
Target Milestone: --- → 157 Branch
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/1ef644a2ea69 Extend and improve the unit test for nsStreamConverter. r=mkmelin https://hg.mozilla.org/comm-central/rev/4d605473c32b Make nsStreamConverter work with an nsIURI or an nsIChannel. r=mkmelin

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/870e7f613f81
Test various output modes of nsStreamConverter. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Regressions: 2082176
No longer regressions: 2082176
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: