Closed Bug 1984474 Opened 7 months ago Closed 7 months ago

AbstractFetchDownloadServiceTest.WHEN clearAllDownloadsNotificationsAndJobs is called THEN all non-completed downloads are cancelled does not correctly test the expected behaviour

Categories

(Firefox for Android :: Downloads, defect)

All
Android
defect

Tracking

()

RESOLVED FIXED
144 Branch
Tracking Status
firefox144 --- fixed

People

(Reporter: npoon, Assigned: npoon)

References

Details

(Whiteboard: [fxdroid][group4])

Attachments

(1 file)

searchfox

  • All download items use the same download ID, which is an issue because service.downloadJobs is a map where the key is the download ID

After changing that, we need to make some additional changes to get the test passing. There's some issues with the verify in the forEach block

Assignee: nobody → npoon
Status: NEW → ASSIGNED
Pushed by npoon@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/55d0b030a1e6 https://hg.mozilla.org/integration/autoland/rev/843cf1cbb35c Fix AbstractFetchDownloadServiceTest.WHEN clearAllDownloadsNotificationsAndJobs is called THEN all non-completed downloads are cancelled to test the correct behaviour r=android-reviewers,007
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: