Bug 731366 - Increase coverage and usefulness of test_load_modules. r=rnewman
authorGregory Szorc <gps@mozilla.com>
Tue, 28 Feb 2012 19:11:10 -0800
changeset 89777 b4b8a60097b01b07e5288338c7c6779a5d3f1dab
parent 89776 54f2d811e79aea6fa09777e0e8e3a42f7d50552f
child 89778 ba7ce48a3f134dec4c3d60f61484b08f640d8221
push id975
push userffxbld
push dateTue, 13 Mar 2012 21:39:16 +0000
treeherdermozilla-aurora@99faebf9dc36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman
bugs731366
milestone13.0a1
Bug 731366 - Increase coverage and usefulness of test_load_modules. r=rnewman
services/sync/tests/unit/test_load_modules.js
services/sync/tests/unit/xpcshell.ini
--- a/services/sync/tests/unit/test_load_modules.js
+++ b/services/sync/tests/unit/test_load_modules.js
@@ -1,27 +1,34 @@
 const modules = [
+                 "addonsreconciler.js",
+                 "async.js",
                  "constants.js",
+                 "engines/addons.js",
                  "engines/bookmarks.js",
                  "engines/clients.js",
                  "engines/forms.js",
                  "engines/history.js",
                  "engines/passwords.js",
                  "engines/prefs.js",
                  "engines/tabs.js",
                  "engines.js",
                  "ext/Observers.js",
                  "ext/Preferences.js",
                  "identity.js",
+                 "jpakeclient.js",
                  "log4moz.js",
                  "main.js",
                  "notifications.js",
+                 "policies.js",
                  "record.js",
                  "resource.js",
+                 "rest.js",
                  "service.js",
+                 "status.js",
                  "util.js",
 ];
 
 function run_test() {
   for each (let m in modules) {
     _("Attempting to load resource://services-sync/" + m);
     Cu.import("resource://services-sync/" + m, {});
   }
--- a/services/sync/tests/unit/xpcshell.ini
+++ b/services/sync/tests/unit/xpcshell.ini
@@ -1,11 +1,13 @@
 [DEFAULT]
 head = head_appinfo.js head_helpers.js head_http_server.js
-tail = 
+tail =
+
+[test_load_modules.js]
 
 [test_Observers.js]
 [test_Preferences.js]
 [test_addons_engine.js]
 [test_addons_reconciler.js]
 [test_addons_store.js]
 [test_addons_tracker.js]
 [test_async_chain.js]
@@ -44,17 +46,16 @@ skip-if = os == "android"
 [test_hmac_error.js]
 [test_httpd_sync_server.js]
 [test_interval_triggers.js]
 [test_jpakeclient.js]
 # Bug 618233: this test produces random failures on Windows 7.
 # Bug 676978: test hangs on Android (see also testing/xpcshell/xpcshell.ini)
 skip-if = os == "win" || os == "android"
 [test_keys.js]
-[test_load_modules.js]
 [test_log4moz.js]
 [test_node_reassignment.js]
 [test_notifications.js]
 [test_password_store.js]
 [test_password_tracker.js]
 [test_places_guid_downgrade.js]
 [test_prefs_store.js]
 [test_prefs_tracker.js]