0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/addons
Daniel Bevenius 53a5d87bec test: fix deprecation warning in binding.cc
Currently, the make-callback-domain-warning addon generates the
following warning:
../binding.cc:22:9:
warning: 'MakeCallback' is deprecated: Use MakeCallback(...,
      async_context) [-Wdeprecated-declarations]
  node::MakeCallback(isolate, recv, method, 0, nullptr);
        ^
../../../../src/node.h:172:50:
note: 'MakeCallback' has been explicitly marked
      deprecated here
                NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                 ^
1 warning generated.

This commit fixes this warning.

PR-URL: https://github.com/nodejs/node/pull/18877
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
2018-02-22 06:25:58 +01:00
..
async-hello-world test: fix warnings in addon tests 2018-02-16 15:47:07 -08:00
async-hooks-id test: properly tag anonymous namespaces 2018-02-08 18:43:36 -05:00
async-hooks-promise test: remove custom message from assertion 2017-11-07 09:50:54 +00:00
async-resource test: properly tag anonymous namespaces 2018-02-08 18:43:36 -05:00
at-exit test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
buffer-free-callback test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
callback-scope test: fix warnings in addon tests 2018-02-16 15:47:07 -08:00
dlopen-ping-pong n-api: use module name macro 2017-10-15 16:00:29 -07:00
errno-exception test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
heap-profiler test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
hello-world test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
hello-world-esm lint: move eslint to new plugin system 2018-02-20 13:13:22 -06:00
hello-world-function-export test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
load-long-path test: move tmpdir to submodule of common 2018-01-31 22:11:07 -08:00
make-callback test: fix warnings in addon tests 2018-02-16 15:47:07 -08:00
make-callback-domain-warning test: fix deprecation warning in binding.cc 2018-02-22 06:25:58 +01:00
make-callback-recurse test: fix warnings in addon tests 2018-02-16 15:47:07 -08:00
new-target test: check that this != new.target in addon 2017-10-02 01:20:27 -03:00
node-module-version n-api: use module name macro 2017-10-15 16:00:29 -07:00
not-a-binding
null-buffer-neuter test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
openssl-binding build: refine static and shared lib build 2018-01-17 11:34:28 +08:00
openssl-client-cert-engine build: make gyp user defined variables lowercase 2018-02-01 09:51:16 +01:00
parse-encoding test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
repl-domain-abort test: fix warnings in addon tests 2018-02-16 15:47:07 -08:00
stringbytes-external-exceed-max test,doc: make module name match gyp target name 2017-09-10 00:15:49 +03:00
symlinked-module test: minor refactoring 2018-02-16 16:54:07 +01:00
zlib-binding build: refine static and shared lib build 2018-01-17 11:34:28 +08:00
.gitignore Revert "build,test: make building addon tests less fragile" 2018-01-25 08:18:24 +11:00
testcfg.py