summaryrefslogtreecommitdiffstats
path: root/services/cloudsync/tests/xpcshell/test_module.js
diff options
context:
space:
mode:
Diffstat (limited to 'services/cloudsync/tests/xpcshell/test_module.js')
-rw-r--r--services/cloudsync/tests/xpcshell/test_module.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/services/cloudsync/tests/xpcshell/test_module.js b/services/cloudsync/tests/xpcshell/test_module.js
new file mode 100644
index 000000000..6d31345ed
--- /dev/null
+++ b/services/cloudsync/tests/xpcshell/test_module.js
@@ -0,0 +1,19 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
+"use strict";
+
+Cu.import("resource://gre/modules/CloudSync.jsm");
+
+function run_test () {
+ run_next_test();
+}
+
+add_task(function test_module_load () {
+ ok(CloudSync);
+ let cloudSync = CloudSync();
+ ok(cloudSync.adapters);
+ ok(cloudSync.bookmarks);
+ ok(cloudSync.local);
+ ok(cloudSync.tabs);
+});