node/test/addons-napi
Kyle Farnung 3aa5b7d939 n-api: add more int64_t tests
* Updated tests for `Number` and `int32_t`
* Added new tests for `int64_t`
* Updated N-API `int64_t` behavior to return zero for all non-finite
  numbers
* Clarified the documentation for these calls.

Backport-PR-URL: https://github.com/nodejs/node/pull/19447
PR-URL: https://github.com/nodejs/node/pull/19402
Refs: https://github.com/nodejs/node-chakracore/pull/500
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-04-16 17:46:19 -04:00
..
1_hello_world n-api: refactor napi_addon_register_func 2018-04-16 17:46:06 -04:00
2_function_arguments n-api: refactor napi_addon_register_func 2018-04-16 17:46:06 -04:00
3_callbacks n-api: refactor napi_addon_register_func 2018-04-16 17:46:06 -04:00
4_object_factory n-api: add optional string length parameters 2018-04-16 17:46:06 -04:00
5_function_factory n-api: add optional string length parameters 2018-04-16 17:46:06 -04:00
6_object_wrap n-api: add optional string length parameters 2018-04-16 17:46:06 -04:00
7_factory_wrap n-api: add optional string length parameters 2018-04-16 17:46:06 -04:00
8_passing_wrapped n-api: back up env before finalize 2018-04-16 17:46:19 -04:00
test_array n-api: refactor napi_addon_register_func 2018-04-16 17:46:06 -04:00
test_async n-api: add napi_fatal_exception 2018-04-16 17:46:18 -04:00
test_buffer test: remove literals that obscure assert messages 2018-04-16 17:46:12 -04:00
test_callback_scope test: remove unnecessary timer 2018-04-16 17:46:17 -04:00
test_constructor n-api: remove extra reference from test 2018-04-16 17:46:15 -04:00
test_conversions n-api: fix warning about size_t compare with int 2018-04-16 17:46:07 -04:00
test_dataview n-api: throw RangeError in napi_create_dataview() with invalid range 2018-04-16 17:46:13 -04:00
test_env_sharing n-api: fix warning about size_t compare with int 2018-04-16 17:46:07 -04:00
test_error test: remove ambiguous error messages from test_error 2018-04-16 17:46:13 -04:00
test_exception n-api: ensure in-module exceptions are propagated 2018-04-16 17:46:19 -04:00
test_fatal n-api: fix warning about size_t compare with int 2018-04-16 17:46:07 -04:00
test_fatal_exception n-api: add napi_fatal_exception 2018-04-16 17:46:18 -04:00
test_function n-api: fix warning about size_t compare with int 2018-04-16 17:46:07 -04:00
test_general n-api: bump version of n-api supported 2018-04-16 17:46:19 -04:00
test_handle_scope n-api: check against invalid handle scope usage 2018-04-16 17:46:09 -04:00
test_make_callback n-api: re-write test_make_callback 2018-04-16 17:46:19 -04:00
test_make_callback_recurse n-api: add missing exception checking 2018-04-16 17:46:18 -04:00
test_new_target n-api,test: add a new.target test to addons-napi 2018-04-16 17:46:18 -04:00
test_number n-api: add more int64_t tests 2018-04-16 17:46:19 -04:00
test_object n-api: fix object test 2018-04-16 17:46:17 -04:00
test_promise n-api: resolve promise in test 2018-04-16 17:46:17 -04:00
test_properties n-api: fix warning about size_t compare with int 2018-04-16 17:46:07 -04:00
test_reference n-api: update reference test 2018-04-16 17:46:17 -04:00
test_string n-api: add check for large strings 2018-04-16 17:46:07 -04:00
test_symbol test: fixed typos in napi test 2018-04-16 17:46:14 -04:00
test_typedarray test: convert new tests to use error types 2018-04-16 17:46:16 -04:00
.gitignore n-api: add support for abi stable module API 2018-04-16 17:45:48 -04:00
common.h n-api: add code parameter to error helpers 2018-04-16 17:46:01 -04:00
testcfg.py n-api: remove n-api module loading flag 2018-04-16 17:46:07 -04:00