0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/pummel
James M Snell 4f2e372716 test: add common.noop, default for common.mustCall()
Export a new common.noop no-operation function for general use.
Allow using common.mustCall() without a fn argument to simplify
test cases.

Replace various non-op functions throughout tests with common.noop

PR-URL: https://github.com/nodejs/node/pull/12027
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
2017-03-26 12:47:15 -07:00
..
test-abort-fatal-error.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-child-process-spawn-loop.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-crypto-dh.js meta: restore original copyright header 2017-03-10 11:23:48 -08: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 meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-dtrace-jsstack.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-exec.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-fs-watch-file-slow.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-fs-watch-file.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-fs-watch-non-recursive.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-http-client-reconnect-bug.js test: add common.noop, default for common.mustCall() 2017-03-26 12:47:15 -07:00
test-http-many-keep-alive-connections.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-http-upload-timeout.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-https-ci-reneg-attack.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-https-large-response.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-https-no-reader.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-keep-alive.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-connect-econnrefused.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-connect-memleak.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-many-clients.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-pause.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-pingpong-delay.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-pingpong.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-throttle.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-timeout2.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-timeout.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-net-write-callbacks.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-next-tick-infinite-calls.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-process-cpuUsage.js process: add process.cpuUsage() - implementation, doc, tests 2016-04-29 16:07:06 -07:00
test-process-hrtime.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-process-uptime.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-regress-GH-814_2.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-regress-GH-814.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-regress-GH-892.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-stream2-basic.js test: add common.noop, default for common.mustCall() 2017-03-26 12:47:15 -07:00
test-stream-pipe-multi.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-timer-wrap2.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-timer-wrap.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-timers.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-tls-ci-reneg-attack.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-tls-connect-memleak.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-tls-securepair-client.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-tls-server-large-request.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-tls-session-timeout.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-tls-throttle.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-vm-memleak.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
test-watch-file.js meta: restore original copyright header 2017-03-10 11:23:48 -08:00
testcfg.py