fune/testing/xpcshell/example/unit/xpcshell-with-prefs.ini
Rob Wu 6d4afa244f Bug 1723198 - Don't delete user.js in remotexpcshelltests.py + tests r=jmaher
The new tests in testing/xpcshell/example/ cover the following scenarios:

- Local AND remote xpcshell tests. In contrast, modifications to
  selftest.py in bug 1635227 only covered runxpcshelltests.

- `prefs=` inheritance from ancestor manifests as implemented by
  https://hg.mozilla.org/mozilla-central/rev/ac51a01611dc

- Per-file `prefs` setters (used in bug 1638099).

- Multiple prefs and comments per `prefs` line.

Differential Revision: https://phabricator.services.mozilla.com/D121632
2021-08-10 12:14:05 +00:00

16 lines
480 B
INI

[DEFAULT]
head =
support-files = prefs_test_common.js
prefs =
dummy.pref.from.test.ancestor=Ancestor
dummy.pref.from.test.manifest=1
[test_prefs_defaults.js]
[test_prefs_defaults_and_file.js]
prefs = # Multiple prefs, for additional test coverage over xpcshell.ini
dummy.pref.from.test.file=2
dummy.pref.from.test.duplicate=first
dummy.pref.from.test.duplicate=final
dummy.pref.from.test.manifest=1337 # overrides manifest
[include:xpcshell-included-with-prefs.ini]