Improve naming of the test files used for search settings migration/loading tests
Categories
(Firefox :: Search, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(2 files)
For the tests for the search service, we have a lot of settings files (approximately this list) that are used to check that settings are correctly loaded or migrated.
I think we should move these to their own directory, e.g. toolkit/components/search/tests/xpcshell/settings/
and rename them something along the lines of v1-wrong-default-engine-hashes.json
. Having the version in there will help identify where we are testing migration from particular versions.
We'll likely need to dig into the tests and see if there's clearer names for some of these. We might also want to add a comment
field at the top of the file with more information about what the file is intended for.
Updated•3 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 1•2 months ago
|
||
test_settings_ignorelist.js didn't need to be separate. Additionally, it was not explicitly checking that the
engine from settings was not installed - it only checked that some engines were loaded successfully.
This also updates the settings file, and adds an additional OpenSearch type engine to be ignored.
Assignee | ||
Comment 2•2 months ago
|
||
Comment 4•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7a3f1c2d2def
https://hg.mozilla.org/mozilla-central/rev/b76472b1d15c
Description
•