Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | /* Any copyright is dedicated to the Public Domain. |
michael@0 | 2 | http://creativecommons.org/publicdomain/zero/1.0/ */ |
michael@0 | 3 | |
michael@0 | 4 | const modules = [ |
michael@0 | 5 | "addonutils.js", |
michael@0 | 6 | "addonsreconciler.js", |
michael@0 | 7 | "browserid_identity.js", |
michael@0 | 8 | "constants.js", |
michael@0 | 9 | "engines/addons.js", |
michael@0 | 10 | "engines/bookmarks.js", |
michael@0 | 11 | "engines/clients.js", |
michael@0 | 12 | "engines/forms.js", |
michael@0 | 13 | "engines/history.js", |
michael@0 | 14 | "engines/passwords.js", |
michael@0 | 15 | "engines/prefs.js", |
michael@0 | 16 | "engines/tabs.js", |
michael@0 | 17 | "engines.js", |
michael@0 | 18 | "identity.js", |
michael@0 | 19 | "jpakeclient.js", |
michael@0 | 20 | "keys.js", |
michael@0 | 21 | "main.js", |
michael@0 | 22 | "notifications.js", |
michael@0 | 23 | "policies.js", |
michael@0 | 24 | "record.js", |
michael@0 | 25 | "resource.js", |
michael@0 | 26 | "rest.js", |
michael@0 | 27 | "service.js", |
michael@0 | 28 | "stages/cluster.js", |
michael@0 | 29 | "stages/declined.js", |
michael@0 | 30 | "stages/enginesync.js", |
michael@0 | 31 | "status.js", |
michael@0 | 32 | "userapi.js", |
michael@0 | 33 | "util.js", |
michael@0 | 34 | ]; |
michael@0 | 35 | |
michael@0 | 36 | const testingModules = [ |
michael@0 | 37 | "fakeservices.js", |
michael@0 | 38 | "rotaryengine.js", |
michael@0 | 39 | "utils.js", |
michael@0 | 40 | "fxa_utils.js", |
michael@0 | 41 | ]; |
michael@0 | 42 | |
michael@0 | 43 | function run_test() { |
michael@0 | 44 | for (let m of modules) { |
michael@0 | 45 | let res = "resource://services-sync/" + m; |
michael@0 | 46 | _("Attempting to load " + res); |
michael@0 | 47 | Cu.import(res, {}); |
michael@0 | 48 | } |
michael@0 | 49 | |
michael@0 | 50 | for (let m of testingModules) { |
michael@0 | 51 | let res = "resource://testing-common/services/sync/" + m; |
michael@0 | 52 | _("Attempting to load " + res); |
michael@0 | 53 | Cu.import(res, {}); |
michael@0 | 54 | } |
michael@0 | 55 | } |