services/healthreport/tests/xpcshell/test_load_modules.js

branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
equal deleted inserted replaced
-1:000000000000 0:6f2558115e44
1 /* Any copyright is dedicated to the Public Domain.
2 * http://creativecommons.org/publicdomain/zero/1.0/ */
3
4 "use strict";
5
6 const modules = [
7 "healthreporter.jsm",
8 "profile.jsm",
9 "providers.jsm",
10 ];
11
12 function run_test() {
13 for (let m of modules) {
14 let resource = "resource://gre/modules/services/healthreport/" + m;
15 Components.utils.import(resource, {});
16 }
17
18 Components.utils.import("resource://gre/modules/HealthReport.jsm", {});
19 }
20

mercurial