|
1 | 1 | require("./common").globalCheck = false; |
2 | 2 |
|
3 | | -require("./simple/test-assert.js"); |
4 | | -require("./simple/test-event-emitter-check-listener-leaks.js"); |
5 | | -require("./simple/test-event-emitter-modify-in-emit.js"); |
6 | | -require("./simple/test-event-emitter-num-args.js"); |
7 | | -require("./simple/test-event-emitter-remove-all-listeners.js"); |
8 | | -require("./simple/test-global.js"); |
9 | | -require("./simple/test-next-tick-doesnt-hang.js"); |
10 | | -require("./simple/test-next-tick-ordering2.js"); |
11 | | -require("./simple/test-path.js"); |
12 | | -require("./simple/test-querystring.js"); |
13 | | -require("./simple/test-sys.js"); |
14 | | -require("./simple/test-timers-zero-timeout.js"); |
15 | | -require("./simple/test-timers.js"); |
16 | | -require("./simple/test-url.js"); |
17 | | -require("./simple/test-util-format.js"); |
18 | | -require("./simple/test-util-inspect.js"); |
19 | | -require("./simple/test-util.js"); |
| 3 | +try { require("./simple/test-assert.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 4 | +try { require("./simple/test-event-emitter-check-listener-leaks.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 5 | +try { require("./simple/test-event-emitter-modify-in-emit.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 6 | +try { require("./simple/test-event-emitter-num-args.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 7 | +try { require("./simple/test-event-emitter-remove-all-listeners.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 8 | +try { require("./simple/test-global.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 9 | +try { require("./simple/test-next-tick-doesnt-hang.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 10 | +try { require("./simple/test-next-tick-ordering2.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 11 | +try { require("./simple/test-path.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 12 | +try { require("./simple/test-querystring.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 13 | +try { require("./simple/test-sys.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 14 | +try { require("./simple/test-timers-zero-timeout.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 15 | +try { require("./simple/test-timers.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 16 | +try { require("./simple/test-url.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 17 | +try { require("./simple/test-util-format.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 18 | +try { require("./simple/test-util-inspect.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
| 19 | +try { require("./simple/test-util.js"); } catch(e) { window.test(false, "Node.js Test should not fail with " + e ); } |
20 | 20 |
|
21 | 21 | window.test(true, "Node.js simple tests should complete"); |
22 | 22 |
|
|
0 commit comments