OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <link rel="stylesheet" href="qunit.css"/> | 4 <link rel="stylesheet" href="qunit.css"/> |
5 <script src="jquery-1.7.1.min.js"></script> | 5 <script src="jquery-1.7.1.min.js"></script> |
6 <script src="qunit.js"></script> | 6 <script src="qunit.js"></script> |
7 <script src="common.js" type="text/javascript;version=1.7"></script> | 7 <script src="common.js" type="text/javascript;version=1.7"></script> |
8 <script src="httpd.js" type="text/javascript;version=1.7"></script> | 8 <script src="httpd.js" type="text/javascript;version=1.7"></script> |
9 <script type="text/javascript;version=1.7"> | 9 <script type="text/javascript;version=1.7"> |
10 Cu.import("resource://gre/modules/Services.jsm"); | |
11 | |
12 function getTestFiles() | 10 function getTestFiles() |
13 { | 11 { |
14 function require(module) | 12 function require(module) |
15 { | 13 { |
16 let result = {}; | 14 let result = {}; |
17 result.wrappedJSObject = result; | 15 result.wrappedJSObject = result; |
18 Services.obs.notifyObservers(result, "adblockplustests-require", modul
e); | 16 Services.obs.notifyObservers(result, "adblockplustests-require", modul
e); |
19 return result.exports; | 17 return result.exports; |
20 } | 18 } |
21 | 19 |
(...skipping 28 matching lines...) Expand all Loading... |
50 </script> | 48 </script> |
51 </head> | 49 </head> |
52 <body> | 50 <body> |
53 <h1 id="qunit-header">Adblock Plus unit tests</h1> | 51 <h1 id="qunit-header">Adblock Plus unit tests</h1> |
54 <h2 id="qunit-banner"></h2> | 52 <h2 id="qunit-banner"></h2> |
55 <div id="qunit-testrunner-toolbar"></div> | 53 <div id="qunit-testrunner-toolbar"></div> |
56 <h2 id="qunit-userAgent"></h2> | 54 <h2 id="qunit-userAgent"></h2> |
57 <ol id="qunit-tests"></ol> | 55 <ol id="qunit-tests"></ol> |
58 </body> | 56 </body> |
59 </html> | 57 </html> |
OLD | NEW |