node/test/js-native-api
Octavian Soldea 1ee47d550c n-api: refactoring napi_create_function testing
This is a refactoring of https://github.com/nodejs/node/pull/26998
following https://github.com/nodejs/node/pull/28505.

The functions `add_last_status()` and `add_returned_status()` are now
reused, see also https://github.com/nodejs/node/pull/28848.

PR-URL: https://github.com/nodejs/node/pull/28894
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-07-31 23:19:41 -07:00
..
2_function_arguments test: partition N-API tests 2018-12-04 13:58:17 -08:00
3_callbacks test: partition N-API tests 2018-12-04 13:58:17 -08:00
4_object_factory test: partition N-API tests 2018-12-04 13:58:17 -08:00
5_function_factory test: partition N-API tests 2018-12-04 13:58:17 -08:00
6_object_wrap n-api: define ECMAScript-compliant accessors on napi_define_class 2019-06-17 12:07:08 +02:00
7_factory_wrap test: partition N-API tests 2018-12-04 13:58:17 -08:00
8_passing_wrapped test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_array benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test_bigint test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_constructor n-api: refactor a previous commit 2019-07-26 15:09:04 -07:00
test_conversions test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_dataview test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_date n-api: implement date object 2019-02-28 17:43:37 -05:00
test_error n-api: remove code from error name 2019-03-23 02:55:57 +01:00
test_exception test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_function n-api: refactoring napi_create_function testing 2019-07-31 23:19:41 -07:00
test_general tools: force common be required before any other modules 2019-05-13 19:39:34 +08:00
test_handle_scope benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test_instance_data n-api: add APIs for per-instance state management 2019-07-25 16:53:07 -07:00
test_new_target test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_number benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test_object n-api: refactor a previous commit 2019-07-26 15:09:04 -07:00
test_promise test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_properties n-api: define ECMAScript-compliant accessors on napi_define_properties 2019-06-17 12:06:06 +02:00
test_reference test: check napi_get_reference_value() during finalization 2019-04-30 18:59:34 -07:00
test_string benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test_symbol benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test_typedarray benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
.gitignore test: partition N-API tests 2018-12-04 13:58:17 -08:00
common.c n-api: refactor a previous commit 2019-07-26 15:09:04 -07:00
common.h n-api: refactor a previous commit 2019-07-26 15:09:04 -07:00
entry_point.c test: partition N-API tests 2018-12-04 13:58:17 -08:00
testcfg.py test: partition N-API tests 2018-12-04 13:58:17 -08:00