Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F37961125
prefs-test.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
787 B
Subscribers
None
prefs-test.js
View Options
/*global do_load_module: false, do_get_file: false, do_get_cwd: false, testing: false, test: false, Assert: false, resetting: false, JSUnit: false, do_test_pending: false, do_test_finished: false, component: false, Cc: false, Ci: false */
/*jshint -W097 */
/*
* 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/.
*/
"use strict"
;
do_load_module
(
"file://"
+
do_get_cwd
().
path
+
"/testHelper.js"
);
testing
(
"prefs.jsm"
);
/*global EnigmailPrefs: false */
test
(
function
shouldSetGetPreference
()
{
const
prefName
=
"mypref"
;
EnigmailPrefs
.
setPref
(
prefName
,
"yourpref"
);
Assert
.
equal
(
"yourpref"
,
EnigmailPrefs
.
getPref
(
prefName
));
});
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 9:03 PM (21 h, 51 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
da/0f/987f0f017c17976d12843974c427
Attached To
rENIG Enigmail
Event Timeline
Log In to Comment