diff options
Diffstat (limited to 'toolkit/identity/tests/unit/test_load_modules.js')
-rw-r--r-- | toolkit/identity/tests/unit/test_load_modules.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/toolkit/identity/tests/unit/test_load_modules.js b/toolkit/identity/tests/unit/test_load_modules.js new file mode 100644 index 000000000..4c531312c --- /dev/null +++ b/toolkit/identity/tests/unit/test_load_modules.js @@ -0,0 +1,20 @@ +/* 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/. */ + +const modules = [ + "Identity.jsm", + "IdentityProvider.jsm", + "IdentityStore.jsm", + "jwcrypto.jsm", + "RelyingParty.jsm", + "Sandbox.jsm", +]; + +function run_test() { + for (let m of modules) { + let resource = "resource://gre/modules/identity/" + m; + Components.utils.import(resource, {}); + do_print("loaded " + resource); + } +} |