Closed Bug 1958905 Opened 1 year ago Closed 1 year ago

Investigate how to use fakes with test fixtures

Categories

(Firefox for Android :: General, task)

All
Android
task

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: npoon, Assigned: npoon)

References

Details

(Whiteboard: [fxdroid][group4])

Attachments

(1 file)

Currently, we need to create a FakeFileSizeFormatter file for tests that use this class in different packages. See 1, 2, 3. Ideally, we want to have this in the test package of where FileSizeFormatter lives. This does not work at the moment due to gradle dependency issues, which should be fixed with the use of test fixtures. Then, we should make 1 FakeFileSizeFormatter file / class in the test package of where FileSizeFormatter lives and use this in all of the tests

Whiteboard: [fxdroid][group4]

Nick, thanks for filing this. I don't think this blocked Bug 1948708

My suggestion would be to remove that.

No longer blocks: 1948708
See Also: → 1951907

The Bugbug bot thinks this bug should belong to the 'Firefox for Android::UI Tests' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → UI Tests
Assignee: nobody → npoon
Status: NEW → ASSIGNED
Component: UI Tests → General
Pushed by npoon@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4a8400a4687c https://hg.mozilla.org/integration/autoland/rev/79883bccebbf Consolidate FakeFileSizeFormatter with test fixtures r=android-reviewers,adhingra,giorga
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Regressions: 1970365
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: