Closed Bug 1793258 Opened 2 years ago Closed 2 years ago

news unit tests - replace articleTextListener with PromiseStreamListener

Categories

(MailNews Core :: Networking: NNTP, task)

Tracking

(thunderbird_esr102 wontfix, thunderbird106 affected)

RESOLVED FIXED
107 Branch
Tracking Status
thunderbird_esr102 --- wontfix
thunderbird106 --- affected

People

(Reporter: benc, Assigned: benc)

Details

Attachments

(1 file)

These tests:

mailnews/news/test/unit/test_bug170727.js
mailnews/news/test/unit/test_bug37465.js
mailnews/news/test/unit/test_bug403242.js

All use a custom streamListener from mailnews/news/test/unit/head_server_setup.js. They can all easily be switched to use the common PromiseStreamListener from PromiseTestUtils.jsm.

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/bc7485cd7b10
Use PromiseStreamListener instead of custom articleTextListener in news unit tests. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: