forked from mirrors/gecko-dev
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
16 lines
533 B
JavaScript
16 lines
533 B
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
function run_test() {
|
|
/* import-globals-from prefs_test_common.js */
|
|
load("prefs_test_common.js");
|
|
|
|
check_common_xpcshell_with_prefs();
|
|
|
|
Assert.equal(
|
|
Services.prefs.getStringPref("dummy.pref.from.test.ancestor"),
|
|
"ReplacedParent",
|
|
"Pref set in included test manifest takes precedence over ancestor"
|
|
);
|
|
}
|