0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/addons-napi
Anatoli Papirovski 2930bd1317
src: refactor timers to remove TimerWrap
Refactor Timers to behave more similarly to Immediates by having
a single uv_timer_t handle which is stored on the Environment.

No longer expose timers in a public binding and instead make
it part of the internalBinding.

PR-URL: https://github.com/nodejs/node/pull/20894
Fixes: https://github.com/nodejs/node/issues/10154
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
2018-06-24 21:35:05 -07:00
..
1_hello_world n-api,test: make methods static 2018-04-25 10:51:49 -04:00
2_function_arguments n-api,test: make methods static 2018-04-25 10:51:49 -04:00
3_callbacks n-api,test: make methods static 2018-04-25 10:51:49 -04:00
4_object_factory n-api,test: make methods static 2018-04-25 10:51:49 -04:00
5_function_factory n-api,test: make methods static 2018-04-25 10:51:49 -04:00
6_object_wrap n-api: add optional string length parameters 2017-09-18 17:47:34 -04:00
7_factory_wrap tools: add cpplint rule for NULL usage 2017-12-01 07:45:05 +01:00
8_passing_wrapped n-api: back up env before finalize 2018-04-03 09:37:11 -04:00
test_array n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_async n-api: back up env before async work finalize 2018-06-06 09:36:06 -04:00
test_buffer n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_callback_scope test: remove unnecessary timer 2018-02-14 10:24:51 -05:00
test_cleanup_hook src: add environment cleanup hooks 2018-05-10 14:15:16 +02:00
test_constructor n-api,test: remove superfluous persistent 2018-04-26 11:18:40 -04:00
test_conversions test: add eslint rule to verify assertion input 2018-05-18 15:59:40 +02:00
test_dataview n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_env_sharing n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_error test: fix up N-API error test 2018-05-05 13:44:03 +02:00
test_exception n-api: ensure in-module exceptions are propagated 2018-03-27 14:08:24 -04:00
test_fatal n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_fatal_exception n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_function n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_general n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_handle_scope n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_make_callback n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_make_callback_recurse src: refactor timers to remove TimerWrap 2018-06-24 21:35:05 -07:00
test_new_target n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_null_init n-api: throw when entry point is null 2018-05-23 22:14:52 -04:00
test_number n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_object n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_promise n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_properties n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_reference n-api,test: make method static 2018-04-26 11:12:59 -04:00
test_string n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_symbol n-api: remove unused Test function 2018-04-26 20:02:10 +02:00
test_typedarray n-api,test: make methods static 2018-04-25 10:51:49 -04:00
test_uv_loop Revert "build,test: make building addon tests less fragile" 2018-01-25 08:18:24 +11:00
.gitignore
common.h n-api: add code parameter to error helpers 2017-07-13 15:05:19 -04:00
testcfg.py n-api: remove n-api module loading flag 2017-09-19 19:06:44 -04:00