michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: const modules = [ michael@0: "addonutils.js", michael@0: "addonsreconciler.js", michael@0: "browserid_identity.js", michael@0: "constants.js", michael@0: "engines/addons.js", michael@0: "engines/bookmarks.js", michael@0: "engines/clients.js", michael@0: "engines/forms.js", michael@0: "engines/history.js", michael@0: "engines/passwords.js", michael@0: "engines/prefs.js", michael@0: "engines/tabs.js", michael@0: "engines.js", michael@0: "identity.js", michael@0: "jpakeclient.js", michael@0: "keys.js", michael@0: "main.js", michael@0: "notifications.js", michael@0: "policies.js", michael@0: "record.js", michael@0: "resource.js", michael@0: "rest.js", michael@0: "service.js", michael@0: "stages/cluster.js", michael@0: "stages/declined.js", michael@0: "stages/enginesync.js", michael@0: "status.js", michael@0: "userapi.js", michael@0: "util.js", michael@0: ]; michael@0: michael@0: const testingModules = [ michael@0: "fakeservices.js", michael@0: "rotaryengine.js", michael@0: "utils.js", michael@0: "fxa_utils.js", michael@0: ]; michael@0: michael@0: function run_test() { michael@0: for (let m of modules) { michael@0: let res = "resource://services-sync/" + m; michael@0: _("Attempting to load " + res); michael@0: Cu.import(res, {}); michael@0: } michael@0: michael@0: for (let m of testingModules) { michael@0: let res = "resource://testing-common/services/sync/" + m; michael@0: _("Attempting to load " + res); michael@0: Cu.import(res, {}); michael@0: } michael@0: }