node/test/js-native-api/test_constructor
Octavian Soldea a18e27df9e src: add napi_define_class() null checks
napi_define_class is tested by passing NULL to all parameters that are
pointers, one at a time. Moreover, two bugs were corrected. One was
utf8name and the second was the property descriptor pointer. These
pointers were assumed to be non-NULL and now we have NULL checks.

PR-URL: https://github.com/nodejs/node/pull/27945
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>
2019-06-07 21:33:00 -07:00
..
binding.gyp test: partition N-API tests 2018-12-04 13:58:17 -08:00
test2.js test: partition N-API tests 2018-12-04 13:58:17 -08:00
test_constructor.c src: add napi_define_class() null checks 2019-06-07 21:33:00 -07:00
test.js src: add napi_define_class() null checks 2019-06-07 21:33:00 -07:00