4 |
4 |
5 |
5 |
6 class JScript(QUnitTestCase): |
6 class JScript(QUnitTestCase): |
7 |
7 |
8 all_js_tests = ( |
8 all_js_tests = ( |
9 ("jstests/test_datetime.js",( |
9 ("jstests/test_utils.js", ( |
10 "../data/cubicweb.js", |
10 "../data/cubicweb.js", |
11 "../data/cubicweb.compat.js",)), |
11 "../data/cubicweb.compat.js", |
|
12 "../data/cubicweb.python.js", |
|
13 "jstests/utils.js", |
|
14 ), |
|
15 ), |
|
16 |
12 ("jstests/test_htmlhelpers.js", ( |
17 ("jstests/test_htmlhelpers.js", ( |
13 "../data/cubicweb.js", |
18 "../data/cubicweb.js", |
14 "../data/cubicweb.compat.js", |
19 "../data/cubicweb.compat.js", |
15 "../data/cubicweb.python.js", |
20 "../data/cubicweb.python.js", |
16 "../data/cubicweb.htmlhelpers.js")), |
21 "../data/cubicweb.htmlhelpers.js", |
17 ("jstests/test_ajax.js",( |
22 ), |
|
23 ), |
|
24 |
|
25 ("jstests/test_ajax.js", ( |
18 "../data/cubicweb.python.js", |
26 "../data/cubicweb.python.js", |
19 "../data/cubicweb.js", |
27 "../data/cubicweb.js", |
20 "../data/cubicweb.compat.js", |
28 "../data/cubicweb.compat.js", |
21 "../data/cubicweb.htmlhelpers.js", |
29 "../data/cubicweb.htmlhelpers.js", |
22 "../data/cubicweb.ajax.js", |
30 "../data/cubicweb.ajax.js", |
23 ),( |
31 ), ( |
24 "jstests/ajax_url0.html", |
32 "jstests/ajax_url0.html", |
25 "jstests/ajax_url1.html", |
33 "jstests/ajax_url1.html", |
26 "jstests/ajax_url2.html", |
34 "jstests/ajax_url2.html", |
27 "jstests/ajaxresult.json", |
35 "jstests/ajaxresult.json", |
28 )) |
36 ), |
|
37 ), |
29 ) |
38 ) |
30 |
39 |
31 |
40 |
32 if __name__ == '__main__': |
41 if __name__ == '__main__': |
33 unittest_main() |
42 unittest_main() |