/third_party/node/test/async-hooks/ |
H A D | test-tcpwrap.js | 11 const { checkInvocations } = require('./hook-checks'); 36 checkInvocations(tcpserver, { init: 1 }, 'when calling server.listen'); 57 checkInvocations(tcpserver, { init: 1 }, 59 checkInvocations(tcp1, { init: 1 }, 'tcp1 when client is connecting'); 76 checkInvocations( 92 checkInvocations(tcpconnect, expected, 104 checkInvocations(tcpserver, expected, 'tcpserver when client connects'); 105 checkInvocations(tcp1, { init: 1 }, 'tcp1 when client connects'); 121 checkInvocations(tcpserver, { init: 1, before: 1 }, 123 checkInvocations(tcp [all...] |
H A D | test-tlswrap.js | 13 const { checkInvocations } = require('./hook-checks'); 50 checkInvocations(svr, { init: 1 }, 'server: when client connecting'); 67 checkInvocations(svr, { init: 1, before: 1, after: 1 }, 70 checkInvocations(client, { init: 1, before: 2, after: 1 }, 78 checkInvocations(svr, { init: 1, before: 2, after: 1 }, 80 checkInvocations(client, { init: 1, before: 2, after: 2 }, 87 checkInvocations(svr, { init: 1, before: 2, after: 1 }, 89 checkInvocations(client, { init: 1, before: 2, after: 2 }, 94 checkInvocations(svr, { init: 1, before: 2, after: 2 }, 103 checkInvocations(clien [all...] |
H A D | test-enable-disable.js | 89 const { checkInvocations } = require('./hook-checks'); 166 checkInvocations(as1[0], { init: 1, before: 1 }, 168 checkInvocations(as3[0], { init: 1, before: 1 }, 215 checkInvocations(hook1First, { init: 1, before: 1, after: 1, destroy: 1 }, 217 checkInvocations(hook1Second, { init: 1, before: 1 }, 221 checkInvocations(hook2First, { after: 1, destroy: 1 }, 223 checkInvocations(hook2Second, { init: 1, before: 1 }, 225 checkInvocations(hook3First, { init: 1, before: 1, after: 1, destroy: 1 }, 227 checkInvocations(hook3Second, { init: 1, before: 1 }, 249 checkInvocations(hook1Firs [all...] |
H A D | test-embedder.api.async-resource.js | 10 const { checkInvocations } = require('./hook-checks'); 44 checkInvocations(alcazares, { init: 1 }, 'alcazares constructed'); 51 checkInvocations(alcazares, { init: 1, before: 1 }, 54 checkInvocations(alcazares, { init: 1, before: 1, after: 1 }, 57 checkInvocations(alcazares, { init: 1, before: 2, after: 1 }, 60 checkInvocations(alcazares, { init: 1, before: 2, after: 2 }, 66 checkInvocations(alcazares, { init: 1, before: 2, after: 2, destroy: 1 }, 77 checkInvocations(poblado, { init: 1 }, 'poblado constructed'); 79 checkInvocations(poblado, { init: 1, before: 1 }, 83 checkInvocations(poblad [all...] |
H A D | test-immediate.js | 7 const { checkInvocations } = require('./hook-checks'); 21 checkInvocations(imd1, { init: 1 }, 29 checkInvocations(imd1, { init: 1, before: 1 }, 40 checkInvocations(imd1, { init: 1, before: 1 }, 42 checkInvocations(imd2, { init: 1 }, 47 checkInvocations(imd1, { init: 1, before: 1, after: 1, destroy: 1 }, 49 checkInvocations(imd2, { init: 1, before: 1 }, 59 checkInvocations(imd1, { init: 1, before: 1, after: 1, destroy: 1 }, 61 checkInvocations(imd2, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-pipewrap.js | 10 const { checkInvocations } = require('./hook-checks'); 39 checkInvocations(processwrap, { init: 1 }, 45 checkInvocations(x, { init: 1 }, 'pipe wrap when sleep.spawn was called'); 49 checkInvocations(processwrap, { init: 1, before: 1 }, 55 checkInvocations( 69 checkInvocations( 84 checkInvocations(pipe1, { init: 1, before: 1, after: 1 }, 86 checkInvocations(pipe2, { init: 1, before: ioEvents, after: ioEvents }, 88 checkInvocations(pipe3, { init: 1, before: 2, after: 2 },
|
H A D | test-timers.setTimeout.js | 7 const { checkInvocations } = require('./hook-checks'); 21 checkInvocations(t1, { init: 1 }, 't1: when first timer installed'); 26 checkInvocations(t1, { init: 1, before: 1 }, 't1: when first timer fired'); 32 checkInvocations(t1, { init: 1, before: 1 }, 34 checkInvocations(t2, { init: 1 }, 43 checkInvocations(t1, { init: 1, before: 1, after: 1 }, 45 checkInvocations(t2, { init: 1, before: 1 }, 57 checkInvocations(t1, { init: 1, before: 1, after: 1, destroy: 1 }, 59 checkInvocations(t2, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-pipeconnectwrap.js | 7 const { checkInvocations } = require('./hook-checks'); 49 checkInvocations(a, { init: 1 }, 'after net.connect'); 70 checkInvocations(pipeserver, { init: 1, before: 1, after: 1 }, 72 checkInvocations(pipe1, { init: 1 }, 'pipe1, client connected'); 73 checkInvocations(pipeconnect, { init: 1, before: 1 }, 75 checkInvocations(pipe2, { init: 1 }, 'pipe2, client connected'); 87 checkInvocations(pipeserver, { init: 1, before: 1, after: 1, destroy: 1 }, 89 checkInvocations(pipe1, { init: 1, before: 2, after: 2, destroy: 1 }, 91 checkInvocations(pipeconnect, { init: 1, before: 1, after: 1, destroy: 1 }, 93 checkInvocations(pipe [all...] |
H A D | test-signalwrap.js | 11 const { checkInvocations } = require('./hook-checks'); 29 checkInvocations(signal1, { init: 1 }, 'when SIGUSR2 handler is set up'); 41 checkInvocations( 49 checkInvocations( 69 checkInvocations( 72 checkInvocations( 83 checkInvocations( 86 checkInvocations( 97 checkInvocations( 101 checkInvocations( [all...] |
H A D | test-zlib.zlib-binding.deflate.js | 7 const { checkInvocations } = require('./hook-checks'); 24 checkInvocations(hdl, { init: 1 }, 'when created handle'); 44 checkInvocations(hdl, { init: 1 }, 'when initialized handle'); 49 checkInvocations(hdl, { init: 1 }, 'when invoked write() on handle'); 54 checkInvocations(hdl, { init: 1, before: 1 }, 59 checkInvocations(hdl, { init: 1, before: 2, after: 1 }, 71 checkInvocations(hdl, { init: 1, before: 2, after: 2 }, 'when process exits');
|
H A D | test-fsreqcallback-readFile.js | 7 const { checkInvocations } = require('./hook-checks'); 28 checkInvocations(as[0], { init: 1, before: 1, after: 1, destroy: 1 }, 30 checkInvocations(as[1], { init: 1, before: 1, after: 1, destroy: 1 }, 32 checkInvocations(as[2], { init: 1, before: 1, after: 1, destroy: 1 }, 37 checkInvocations(as[3], { init: 1, before: 1 }, 49 checkInvocations(a, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-promise.js | 7 const { checkInvocations } = require('./hook-checks'); 21 checkInvocations(as[0], { init: 1 }, 'after resolution parent promise'); 22 checkInvocations(as[1], { init: 1, before: 1 }, 30 checkInvocations(a, { init: 1 }, 'while in promise executor'); 46 checkInvocations(a0, { init: 1 }, 'when process exits'); 53 checkInvocations(a1, { init: 1, before: 1, after: 1 }, 'when process exits');
|
H A D | test-timers.setInterval.js | 6 const { checkInvocations } = require('./hook-checks'); 19 checkInvocations(t1, { init: 1 }, 't1: when timer installed'); 24 checkInvocations(t1, { init: 1, before: 1 }, 't1: when first timer fired'); 26 checkInvocations(t1, { init: 1, before: 2, after: 1 }, 44 checkInvocations(t1, { init: 1, before: 2, after: 2, destroy: 1 },
|
H A D | test-httpparser.response.js | 7 const { checkInvocations } = require('./hook-checks'); 35 checkInvocations(httpparser, { init: 1 }, 'when created new Httphttpparser'); 42 checkInvocations(httpparser, { init: 1, before: 1 }, 47 checkInvocations(httpparser, { init: 1, before: 2, after: 1 }, 62 checkInvocations(httpparser, { init: 1, before: 2, after: 2, destroy: 1 },
|
H A D | test-ttywrap.readstream.js | 9 const { checkInvocations } = require('./hook-checks'); 31 checkInvocations(tty, checkInitOpts, 'when tty created'); 34 checkInvocations(tty, checkEndedOpts, 'when tty ended'); 41 checkInvocations(tty, checkInitOpts, 'when tty.end() was invoked'); 46 checkInvocations(tty, checkEndedOpts, 'when process exits');
|
H A D | test-udpwrap.js | 7 const { checkInvocations } = require('./hook-checks'); 21 checkInvocations(udpwrap, { init: 1 }, 'after dgram.createSocket call'); 26 checkInvocations(udpwrap, { init: 1 }, 'when socket is closed'); 35 checkInvocations(udpwrap, { init: 1, destroy: 1 },
|
H A D | test-httpparser.request.js | 7 const { checkInvocations } = require('./hook-checks'); 30 checkInvocations(httpparser, { init: 1 }, 'when created new Httphttpparser'); 36 checkInvocations(httpparser, { init: 1, before: 1 }, 51 checkInvocations(httpparser, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-shutdownwrap.js | 6 const { checkInvocations } = require('./hook-checks'); 31 checkInvocations(as[0], { init: 1 }, 'after ending client connection'); 47 checkInvocations(as[0], { init: 1, before: 1, after: 1, destroy: 1 }, 61 checkInvocations(as[0], { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-udpsendwrap.js | 7 const { checkInvocations } = require('./hook-checks'); 40 checkInvocations(send, { init: 1, before: 1 }, 'when message sent'); 46 checkInvocations(send, { init: 1, before: 1, after: 1 }, 'when sock closed'); 54 checkInvocations(send, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-fsreqcallback-access.js | 7 const { checkInvocations } = require('./hook-checks'); 18 checkInvocations(a, { init: 1, before: 1 }, 35 checkInvocations(a, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-crypto-randomBytes.js | 12 const { checkInvocations } = require('./hook-checks'); 24 checkInvocations(a, { init: 1, before: 1 }, 42 checkInvocations(a, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-crypto-pbkdf2.js | 12 const { checkInvocations } = require('./hook-checks'); 25 checkInvocations(a, { init: 1, before: 1 }, 'while in onpbkdf2 callback'); 41 checkInvocations(a, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-getnameinforeqwrap.js | 7 const { checkInvocations } = require('./hook-checks'); 28 checkInvocations(a, { init: 1, before: 1 }, 41 checkInvocations(a, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-getaddrinforeqwrap.js | 7 const { checkInvocations } = require('./hook-checks'); 28 checkInvocations(a, { init: 1, before: 1 }, 'while in onlookup callback'); 40 checkInvocations(a, { init: 1, before: 1, after: 1, destroy: 1 },
|
H A D | test-querywrap.js | 8 const { checkInvocations } = require('./hook-checks'); 21 checkInvocations(a, { init: 1, before: 1 }, 'while in onresolved callback'); 38 checkInvocations(a, { init: 1, before: 1, after: 1, destroy: 1 },
|