Home
last modified time | relevance | path

Searched refs:checkInvocations (Results 1 - 25 of 30) sorted by relevance

12

/third_party/node/test/async-hooks/
H A Dtest-tcpwrap.js11 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 Dtest-tlswrap.js13 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 Dtest-enable-disable.js89 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 Dtest-embedder.api.async-resource.js10 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 Dtest-immediate.js7 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 Dtest-pipewrap.js10 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 Dtest-timers.setTimeout.js7 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 Dtest-pipeconnectwrap.js7 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 Dtest-signalwrap.js11 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 Dtest-zlib.zlib-binding.deflate.js7 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 Dtest-fsreqcallback-readFile.js7 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 Dtest-promise.js7 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 Dtest-timers.setInterval.js6 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 Dtest-httpparser.response.js7 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 Dtest-ttywrap.readstream.js9 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 Dtest-udpwrap.js7 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 Dtest-httpparser.request.js7 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 Dtest-shutdownwrap.js6 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 Dtest-udpsendwrap.js7 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 Dtest-fsreqcallback-access.js7 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 Dtest-crypto-randomBytes.js12 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 Dtest-crypto-pbkdf2.js12 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 Dtest-getnameinforeqwrap.js7 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 Dtest-getaddrinforeqwrap.js7 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 Dtest-querywrap.js8 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 },

Completed in 5 milliseconds

12