summaryrefslogtreecommitdiffstats
path: root/services/crypto/tests/unit/test_load_modules.js
diff options
context:
space:
mode:
Diffstat (limited to 'services/crypto/tests/unit/test_load_modules.js')
-rw-r--r--services/crypto/tests/unit/test_load_modules.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/services/crypto/tests/unit/test_load_modules.js b/services/crypto/tests/unit/test_load_modules.js
new file mode 100644
index 000000000..50f5d709c
--- /dev/null
+++ b/services/crypto/tests/unit/test_load_modules.js
@@ -0,0 +1,16 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
+const modules = [
+ "utils.js",
+ "WeaveCrypto.js",
+];
+
+function run_test() {
+ for (let m of modules) {
+ let resource = "resource://services-crypto/" + m;
+ _("Attempting to import: " + resource);
+ Components.utils.import(resource, {});
+ }
+}
+