async_wrap: update providers and add test
authorTrevor Norris <trev.norris@gmail.com>
Tue, 29 Sep 2015 21:20:41 +0000 (15:20 -0600)
committerRod Vagg <rod@vagg.org>
Fri, 2 Oct 2015 03:39:26 +0000 (13:39 +1000)
commit99e66074d7f1d2ccc920d38093e84ba6f8b4a327
tree46682de6a69cbb1ae6c7ff30e9d6123f6f219a0f
parente5615854ea81a18e3aca7b03b52b9f6d73657d84
async_wrap: update providers and add test

Several provider ids have been removed that are no longer in use. Others
have been updated to match their class constructors.

Add test to ensure all internally listed providers are used.

PR-URL: https://github.com/nodejs/node/pull/3139
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-by: Stephen Belanger <admin@stephenbelanger.com>
src/async-wrap.h
src/pipe_wrap.cc
src/tcp_wrap.cc
src/udp_wrap.cc
test/parallel/test-async-wrap-check-providers.js [new file with mode: 0644]