node/test/addons
Andreas Madsen 3faeb49d94 async_hooks: C++ Embedder API overhaul
* Fix AsyncHooksGetTriggerAsyncId such it corresponds to
async_hooks.triggerAsyncId and not async_hooks.initTriggerId.
* Use an async_context struct instead of two async_uid values.
  This change was necessary since the fixing
  AsyncHooksGetTriggerAsyncId otherwise makes it impossible to
  get the correct default trigger id. It also prevents an invalid
  triggerAsyncId in MakeCallback.
* Rename async_uid to async_id for consistency
* Rename get_uid to get_async_id
* Add get_trigger_async_id to AsyncResource class

PR-URL: https://github.com/nodejs/node/pull/14040
Backport-PR-URL: https://github.com/nodejs/node/pull/14109
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-07-19 15:02:24 -04:00
..
async-hello-world test: remove unneeded HandleScope usage 2017-07-18 19:56:57 +02:00
async-hooks-id async_hooks: C++ Embedder API overhaul 2017-07-19 15:02:24 -04:00
async-hooks-promise async_hooks: proper id stacking for Promises 2017-07-11 19:16:44 +02:00
async-resource async_hooks: C++ Embedder API overhaul 2017-07-19 15:02:24 -04:00
at-exit test: remove undef NDEBUG from at-exit addons test 2017-07-18 19:57:34 +02:00
buffer-free-callback addons: remove semicolons from after module definition 2017-05-15 20:33:06 +02:00
heap-profiler test: add not-called check to heap-profiler test 2017-05-14 20:04:20 -07:00
hello-world test: remove unneeded HandleScope usage 2017-07-18 19:56:57 +02:00
hello-world-function-export test: remove unneeded HandleScope usage 2017-07-18 19:56:57 +02:00
load-long-path test: simplify test skipping 2017-07-19 15:02:06 -04:00
make-callback test,lib,doc: use function declarations 2017-05-01 15:56:58 -07:00
make-callback-recurse test: add a second argument to assert.throws() 2017-04-07 16:22:55 +03:00
new-target test: add new.target add-on regression test 2016-11-21 14:34:25 +01:00
node-module-version tools: add unescaped regexp dot rule to linter 2017-03-29 10:53:28 +02:00
null-buffer-neuter addons: remove semicolons from after module definition 2017-05-15 20:33:06 +02:00
openssl-binding test: simplify test skipping 2017-07-19 15:02:06 -04:00
parse-encoding addons: remove semicolons from after module definition 2017-05-15 20:33:06 +02:00
repl-domain-abort test: replace indexOf with includes and startsWith 2017-07-19 15:01:59 -04:00
stringbytes-external-exceed-max test: simplify test skipping 2017-07-19 15:02:06 -04:00
symlinked-module test: simplify test skipping 2017-07-19 15:02:06 -04:00
zlib-binding test: enable addons test to pass with debug build 2016-10-06 10:27:30 -07:00
.gitignore
testcfg.py