summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/example/unit/xpcshell-with-prefs.toml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xpcshell/example/unit/xpcshell-with-prefs.toml')
-rw-r--r--testing/xpcshell/example/unit/xpcshell-with-prefs.toml19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/xpcshell/example/unit/xpcshell-with-prefs.toml b/testing/xpcshell/example/unit/xpcshell-with-prefs.toml
new file mode 100644
index 0000000000..047521865e
--- /dev/null
+++ b/testing/xpcshell/example/unit/xpcshell-with-prefs.toml
@@ -0,0 +1,19 @@
+[DEFAULT]
+head = ""
+support-files = ["prefs_test_common.js"]
+prefs = [
+ "dummy.pref.from.test.ancestor='Ancestor'",
+ "dummy.pref.from.test.manifest=1",
+]
+
+["include:xpcshell-included-with-prefs.toml"]
+
+["test_prefs_defaults.js"]
+
+["test_prefs_defaults_and_file.js"]
+prefs = [
+ "dummy.pref.from.test.file=2",
+ "dummy.pref.from.test.manifest=1337", # overrides manifest
+ "dummy.pref.from.test.duplicate='first'", # Multiple prefs, for additional test coverage over xpcshell.toml
+ "dummy.pref.from.test.duplicate='final'",
+]