node/test/node-api
Anna Henningsen f4f8ec2b65
test: port worker + buffer test to N-API
This ports `test/addons/worker-buffer-callback` to N-API,
with the small exception of using external `ArrayBuffer`s rather
than external Node.js `Buffer`s.

PR-URL: https://github.com/nodejs/node/pull/30551
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2019-11-30 02:02:52 +01:00
..
1_hello_world worker: improve integration with native addons 2019-02-22 21:42:09 +01:00
test_async test: use assert() in N-API async test 2019-06-28 04:56:34 +02:00
test_buffer n-api: defer Buffer finalizer with SetImmediate 2019-06-14 13:03:12 +02:00
test_callback_scope
test_cleanup_hook
test_exception n-api: defer Buffer finalizer with SetImmediate 2019-06-14 13:03:12 +02:00
test_fatal
test_fatal_exception
test_general
test_instance_data n-api: add APIs for per-instance state management 2019-07-25 16:53:07 -07:00
test_make_callback n-api: mark version 5 N-APIs as stable 2019-09-05 09:16:54 -07:00
test_make_callback_recurse
test_null_init
test_policy test: cover import of a *.node file with a policy manifest 2019-05-30 15:38:54 +02:00
test_threadsafe_function n-api: make func argument of napi_create_threadsafe_function optional 2019-06-21 20:23:22 -06:00
test_uv_loop src: de-lint header usage 2019-03-12 09:57:19 -04:00
test_worker_buffer_callback test: port worker + buffer test to N-API 2019-11-30 02:02:52 +01:00
test_worker_terminate worker: improve integration with native addons 2019-02-22 21:42:09 +01:00
.gitignore
node-api.status test: remove flaky designation for test_threadsafe_function 2019-03-04 11:09:47 -08:00
testcfg.py