node/test/async-hooks
Сковорода Никита Андреевич f864509991
test,benchmark: use new Buffer API where appropriate
For tests / benchmarks that are creating Buffer instances for
any reason other than to test Buffer constructor, use the new
Buffer.alloc/Buffer.from API instead of the deprecated API.

PR-URL: https://github.com/nodejs/node/pull/18980
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2018-03-05 10:07:17 +00:00
..
coverage.md test: adding tests for initHooks API 2017-05-10 22:22:33 +02:00
hook-checks.js test: fix spelling in test case comments 2018-01-24 07:58:27 -06:00
init-hooks.js async_hooks: replace concat w template literals 2017-10-12 06:26:51 -07:00
test-callback-error.js src,doc,test: Fix common misspellings 2018-01-30 10:23:51 -06:00
test-connection.ssl.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-crypto-pbkdf2.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-crypto-randomBytes.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-disable-in-init.js test: remove unused function args 2017-08-24 15:29:22 -07:00
test-embedder.api.async-resource-no-type.js async_hooks,doc: some async_hooks improvements 2017-09-15 09:06:13 -07:00
test-embedder.api.async-resource.after-on-destroyed.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-embedder.api.async-resource.before-on-destroyed.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-embedder.api.async-resource.improper-order.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-embedder.api.async-resource.improper-unwind.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-embedder.api.async-resource.js test: replace assert.throws w/ common.expectsError 2017-12-12 03:28:40 -05:00
test-embedder.api.async-resource.runInAsyncScope.js async_hooks: deprecate unsafe emit{Before,After} 2018-02-21 14:20:20 -05:00
test-emit-before-after.js async_hooks: deprecate undocumented API 2018-01-08 01:39:45 -05:00
test-emit-init.js async_hooks: deprecate undocumented API 2018-01-08 01:39:45 -05:00
test-enable-disable.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-enable-in-init.js async_hooks: fix nested hooks mutation 2017-07-13 11:59:18 +02:00
test-fseventwrap.js test: accommodate AIX by watching file 2017-06-20 07:47:46 -07:00
test-fsreqwrap-access.js test: improve async hooks test error messages 2017-06-03 23:08:24 +02:00
test-fsreqwrap-readFile.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-getaddrinforeqwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-getnameinforeqwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.connection.js test: simplify test skipping 2017-07-04 12:41:49 +03:00
test-graph.fsreq-readFile.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.http.js async_hooks,test: only use IPv6 in http test 2018-01-31 13:51:04 -06:00
test-graph.intervals.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.pipe.js test: remove unused param in test-graph.pipe 2017-08-29 16:31:45 -03:00
test-graph.pipeconnect.js test: move tmpdir to submodule of common 2018-02-21 10:18:51 -05:00
test-graph.shutdown.js async_wrap: add provider types for net server 2017-12-12 03:27:50 -05:00
test-graph.signal.js test: fix flaky async-hooks/test-graph.signal 2017-12-12 03:27:51 -05:00
test-graph.statwatcher.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.tcp.js test: remove common.PORT from parallel tests 2017-12-12 03:28:10 -05:00
test-graph.timeouts.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-graph.tls-write.js test: remove common.PORT from parallel tests 2017-12-12 03:28:10 -05:00
test-httpparser.request.js test: refactor async-hooks/test-httparser tests 2017-08-16 12:06:47 +02:00
test-httpparser.response.js test: refactor async-hooks/test-httparser tests 2017-08-16 12:06:47 +02:00
test-immediate.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-internal-nexttick-default-trigger.js test: fix spelling in test case comments 2018-01-24 07:58:27 -06:00
test-net-get-connections.js async-hooks,net: ensure asyncId=null if no handle 2017-07-05 15:51:08 +02:00
test-no-assert-when-disabled.js async_hooks: enable runtime checks by default 2017-10-30 07:31:23 -07:00
test-pipeconnectwrap.js test: move tmpdir to submodule of common 2018-02-21 10:18:51 -05:00
test-pipewrap.js child_process: fix stdio sockets creation 2018-02-21 14:20:29 -05:00
test-promise.chain-promise-before-init-hooks.js test: use common.crashOnUnhandledRejection 2017-12-12 03:27:22 -05:00
test-promise.js test: use common.crashOnUnhandledRejection 2017-12-12 03:27:24 -05:00
test-promise.promise-before-init-hooks.js test: show incorrect value on test failure 2017-11-07 08:26:57 -05:00
test-querywrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-shutdownwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-signalwrap.js test: fix unreliable async-hooks/test-signalwrap 2018-01-09 04:32:36 -05:00
test-statwatcher.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-tcpwrap.js test: remove common.PORT from parallel tests 2017-12-12 03:28:10 -05:00
test-timerwrap.setInterval.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-timerwrap.setTimeout.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-tlswrap.js test: fix flaky async-hooks/test-tlswrap 2017-10-04 23:53:11 -07:00
test-ttywrap.readstream.js test,async_hooks: skip whether TTY is available 2017-07-12 14:44:41 -04:00
test-ttywrap.writestream.js test,async_hooks: match test-ttywrap.readstream 2017-07-12 14:44:43 -04:00
test-udpsendwrap.js test,benchmark: use new Buffer API where appropriate 2018-03-05 10:07:17 +00:00
test-udpwrap.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
test-writewrap.js test: make sure WriteWrap tests are actually async 2018-02-27 17:56:00 +01:00
test-zlib.zlib-binding.deflate.js async_hooks: rename currentId and triggerId 2017-06-14 12:39:53 +02:00
testcfg.py test: adding tests for initHooks API 2017-05-10 22:22:33 +02:00
tick.js test: adding tests for initHooks API 2017-05-10 22:22:33 +02:00
verify-graph.js test: fix spelling in test case comments 2018-01-24 07:58:27 -06:00