0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/pummel
cjihrig 7dd82dd1c3 test: add common.mustNotCall()
This commit adds a mustNotCall() helper for testing. This provides
an alternative to using common.fail() as a callback, or creating
a callback function for the sole purpose of calling common.fail().

PR-URL: https://github.com/nodejs/node/pull/11152
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
2017-02-06 14:07:55 -05:00
..
test-abort-fatal-error.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-child-process-spawn-loop.js test: refactor the code in test-child-process-spawn-loop.js 2017-01-09 09:36:11 -08:00
test-crypto-dh.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-crypto-timing-safe-equal-benchmarks.js test: make flaky pummel test more reliable 2016-10-24 22:44:45 +02:00
test-dh-regr.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-dtrace-jsstack.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-exec.js test: improve tests in pummel/test-exec 2017-01-13 09:24:22 -08:00
test-fs-watch-file-slow.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-fs-watch-file.js test: add common.mustNotCall() 2017-02-06 14:07:55 -05:00
test-fs-watch-non-recursive.js test: add common.mustNotCall() 2017-02-06 14:07:55 -05:00
test-http-client-reconnect-bug.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-http-many-keep-alive-connections.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-http-upload-timeout.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-https-ci-reneg-attack.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-https-large-response.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-https-no-reader.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-keep-alive.js test: refactor the code of test-keep-alive.js 2017-01-10 11:14:24 -08:00
test-net-connect-econnrefused.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-net-connect-memleak.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-net-many-clients.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-net-pause.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-net-pingpong-delay.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-net-pingpong.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-net-throttle.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-net-timeout2.js test: add common.mustNotCall() 2017-02-06 14:07:55 -05:00
test-net-timeout.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-net-write-callbacks.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-next-tick-infinite-calls.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-process-cpuUsage.js
test-process-hrtime.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-process-uptime.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-regress-GH-814_2.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-regress-GH-814.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-regress-GH-892.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-stream2-basic.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-stream-pipe-multi.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-timer-wrap2.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-timer-wrap.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-timers.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-tls-ci-reneg-attack.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-tls-connect-memleak.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-tls-securepair-client.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-tls-server-large-request.js test: use repeat() instead of new Array().join() 2017-02-01 20:06:04 -08:00
test-tls-session-timeout.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-tls-throttle.js test: s/assert.equal/assert.strictEqual/ 2017-01-11 14:19:26 +00:00
test-vm-memleak.js test: use eslint to fix var->const/let 2017-01-11 11:43:52 +00:00
test-watch-file.js test: refactor test-watch-file.js 2017-01-09 23:21:38 -08:00
testcfg.py