0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/async-hooks
Rich Trott a08b59f2a6 test: refactor async-hooks test-callback-error
Two child processes have their logic in a switch statement and a third
uses an `if` statement to detect it. Move all three child process tasks
into switch statement.

PR-URL: https://github.com/nodejs/node/pull/13554
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: David Cai <davidcai1993@yahoo.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
2017-06-11 11:20:31 -07:00
..
coverage.md
hook-checks.js
init-hooks.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-callback-error.js test: refactor async-hooks test-callback-error 2017-06-11 11:20:31 -07:00
test-connection.ssl.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-crypto-pbkdf2.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-crypto-randomBytes.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-embedder.api.async-resource.after-on-destroyed.js test: increase coverage of async_hooks 2017-06-07 11:02:47 +08:00
test-embedder.api.async-resource.before-on-destroyed.js test: increase coverage of async_hooks 2017-06-07 11:02:47 +08:00
test-embedder.api.async-resource.improper-order.js test: increase coverage of async_hooks 2017-06-07 11:02:47 +08:00
test-embedder.api.async-resource.improper-unwind.js test: increase coverage of async_hooks 2017-06-07 11:02:47 +08:00
test-embedder.api.async-resource.js test: increase coverage of async_hooks 2017-06-07 11:02:47 +08:00
test-emit-before-after.js test: increase coverage of async_hooks 2017-06-07 11:02:47 +08:00
test-emit-init.js test: increase coverage of async_hooks 2017-06-07 11:02:47 +08:00
test-enable-disable.js test: increase coverage of async_hooks 2017-06-07 11:02:47 +08:00
test-fseventwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-fsreqwrap-access.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-fsreqwrap-readFile.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-getaddrinforeqwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-getnameinforeqwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-graph.connection.js
test-graph.fsreq-readFile.js
test-graph.intervals.js
test-graph.pipe.js
test-graph.pipeconnect.js
test-graph.shutdown.js
test-graph.signal.js
test-graph.statwatcher.js
test-graph.tcp.js
test-graph.timeouts.js
test-graph.tls-write.js
test-httpparser.request.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-httpparser.response.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-immediate.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-pipeconnectwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-pipewrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-promise.chain-promise-before-init-hooks.js async_hooks: use parent promise as triggerId 2017-06-03 22:42:33 +02:00
test-promise.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-promise.promise-before-init-hooks.js async_hooks: use parent promise as triggerId 2017-06-03 22:42:33 +02:00
test-querywrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-shutdownwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-signalwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-statwatcher.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-tcpwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-timerwrap.setInterval.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-timerwrap.setTimeout.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-tlswrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-ttywrap.readstream.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-ttywrap.writestream.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-udpsendwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-udpwrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-writewrap.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-zlib.zlib-binding.deflate.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
testcfg.py
tick.js
verify-graph.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00