Home
last modified time | relevance | path

Searched refs:mustNotCall (Results 1 - 25 of 215) sorted by relevance

123456789

/third_party/node/test/parallel/
H A Dtest-primordials-promise.js19 Array.prototype[Symbol.iterator] = common.mustNotCall('%Array.prototype%[@@iterator]');
20 Promise.all = common.mustNotCall('%Promise%.all');
21 Promise.allSettled = common.mustNotCall('%Promise%.allSettled');
22 Promise.any = common.mustNotCall('%Promise%.any');
23 Promise.race = common.mustNotCall('%Promise%.race');
27 set: common.mustNotCall('set %Promise.prototype%.catch'),
28 get: common.mustNotCall('get %Promise.prototype%.catch'),
31 set: common.mustNotCall('set %Promise.prototype%.finally'),
32 get: common.mustNotCall('get %Promise.prototype%.finally'),
35 set: common.mustNotCall('se
[all...]
H A Dtest-wrap-js-stream-destroy.js15 socket.on('error', common.mustNotCall());
16 socket.on('end', common.mustNotCall());
31 socket.on('error', common.mustNotCall());
35 streamWrap.on('error', common.mustNotCall());
54 socket.on('error', common.mustNotCall());
72 socket.on('error', common.mustNotCall());
73 socket.on('end', common.mustNotCall());
76 streamWrap.on('error', common.mustNotCall());
77 streamWrap.on('end', common.mustNotCall());
91 socket.on('error', common.mustNotCall());
[all...]
H A Dtest-crypto-keygen.js61 assert.throws(() => generateKeyPair('rsa', common.mustNotCall()), {
70 assert.throws(() => generateKeyPair('ed448', 0, common.mustNotCall()), {
274 }, common.mustNotCall()), {
287 }, common.mustNotCall()), {
301 }, common.mustNotCall()), {
312 }, common.mustNotCall()), {
326 }, common.mustNotCall()), {
341 }, common.mustNotCall()), {
365 }, common.mustNotCall()), {
378 }, common.mustNotCall()), {
[all...]
H A Dtest-fs-assert-encoding-error.js16 fs.readFile(testPath, options, common.mustNotCall());
24 fs.readdir(testPath, options, common.mustNotCall());
32 fs.readlink(testPath, options, common.mustNotCall());
40 fs.writeFile(testPath, 'data', options, common.mustNotCall());
48 fs.appendFile(testPath, 'data', options, common.mustNotCall());
56 fs.watch(testPath, options, common.mustNotCall());
60 fs.realpath(testPath, options, common.mustNotCall());
68 fs.mkdtemp(testPath, options, common.mustNotCall());
H A Dtest-http2-options-max-headers-exceeds-nghttp2.js12 server.on('stream', common.mustNotCall());
13 server.on('error', common.mustNotCall());
35 req.on('response', common.mustNotCall());
57 server.on('error', common.mustNotCall());
91 client.on('error', common.mustNotCall());
94 req.on('response', common.mustNotCall());
95 req.on('error', common.mustNotCall());
H A Dtest-child-process-spawnsync-validation-errors.js37 fail('cwd', common.mustNotCall(), invalidArgTypeError);
51 fail('detached', common.mustNotCall(), invalidArgTypeError);
66 fail('uid', common.mustNotCall(), invalidArgTypeError);
85 fail('gid', common.mustNotCall(), invalidArgTypeError);
103 fail('shell', common.mustNotCall(), invalidArgTypeError);
117 fail('argv0', common.mustNotCall(), invalidArgTypeError);
131 fail('windowsHide', common.mustNotCall(), invalidArgTypeError);
145 fail('windowsVerbatimArguments', common.mustNotCall(), invalidArgTypeError);
160 fail('timeout', common.mustNotCall(), invalidRangeError);
183 fail('maxBuffer', common.mustNotCall(), invalidRangeErro
[all...]
H A Dtest-event-emitter-remove-all-listeners.js41 const noop = common.mustNotCall();
68 ee.on('foo', common.mustNotCall());
69 ee.on('bar', common.mustNotCall());
80 ee.on('removeListener', common.mustNotCall());
93 ee.on('baz', common.mustNotCall());
94 ee.on('baz', common.mustNotCall());
95 ee.on('baz', common.mustNotCall());
115 const noop = common.mustNotCall();
H A Dtest-net-server-listen-options.js41 assert.throws(() => listen(-1, common.mustNotCall()), assertPort());
42 assert.throws(() => listen(NaN, common.mustNotCall()), assertPort());
43 assert.throws(() => listen(123.456, common.mustNotCall()), assertPort());
44 assert.throws(() => listen(65536, common.mustNotCall()), assertPort());
45 assert.throws(() => listen(1 / 0, common.mustNotCall()), assertPort());
46 assert.throws(() => listen(-1 / 0, common.mustNotCall()), assertPort());
51 common.mustNotCall());
58 net.createServer().listen(options, common.mustNotCall());
H A Dtest-crypto-pbkdf2.js92 common.mustNotCall());
105 common.mustNotCall());
117 () => crypto.pbkdf2('password', 'salt', 8, 8, common.mustNotCall()),
144 () => crypto.pbkdf2(input, 'salt', 8, 8, 'sha256', common.mustNotCall()),
152 () => crypto.pbkdf2('pass', input, 8, 8, 'sha256', common.mustNotCall()),
179 () => crypto.pbkdf2('pass', 'salt', i, 8, 'sha256', common.mustNotCall()),
205 () => crypto.pbkdf2('pass', 'salt', 8, 8, 'md55', common.mustNotCall()),
H A Dtest-tls-client-reject.js63 socket.on('error', common.mustNotCall());
71 }, common.mustNotCall());
72 socket.on('data', common.mustNotCall());
84 }, common.mustNotCall());
85 socket.on('data', common.mustNotCall());
105 socket.on('error', common.mustNotCall());
H A Dtest-http-host-headers.js62 }, cb).on('error', common.mustNotCall());
70 }, cb).on('error', common.mustNotCall()).end();
78 }, cb).on('error', common.mustNotCall()).end();
86 }, cb).on('error', common.mustNotCall()).end();
94 }, cb).on('error', common.mustNotCall()).end();
H A Dtest-stream-readable-didRead.js16 readable.on('data', common.mustNotCall());
17 readable.on('end', common.mustNotCall());
19 readable.on('error', common.mustNotCall());
21 readable.on('end', common.mustNotCall());
28 readable.on('data', common.mustNotCall());
H A Dtest-vm-module-errors.js13 await m.link(common.mustNotCall());
54 await m.link(common.mustNotCall());
56 await m.link(common.mustNotCall());
63 m.link(common.mustNotCall());
65 await m.link(common.mustNotCall());
130 await foo.link(common.mustNotCall());
146 await erroredModule.link(common.mustNotCall());
189 await m.link(common.mustNotCall());
H A Dtest-stream-writable-destroy.js12 write.on('finish', common.mustNotCall());
28 write.on('finish', common.mustNotCall());
40 write.on('finish', common.mustNotCall());
62 write.on('finish', common.mustNotCall('no finish event'));
83 write.on('finish', common.mustNotCall('no finish event'));
87 write.on('error', common.mustNotCall('no error event'));
120 const fail = common.mustNotCall('no finish event');
143 write.on('finish', common.mustNotCall('no finish event'));
189 writable.on('error', common.mustNotCall());
223 write.on('close', common.mustNotCall());
[all...]
H A Dtest-http-missing-header-separator-cr.js19 client.on('error', common.mustNotCall());
44 const server = http.createServer(common.mustNotCall());
62 const server = http.createServer(common.mustNotCall());
80 const server = http.createServer(common.mustNotCall());
H A Dtest-http-missing-header-separator-lf.js19 client.on('error', common.mustNotCall());
44 const server = http.createServer(common.mustNotCall());
62 const server = http.createServer(common.mustNotCall());
80 const server = http.createServer(common.mustNotCall());
H A Dtest-dns-lookup.js67 dns.lookup(false, options, common.mustNotCall());
86 dns.lookup(false, options, common.mustNotCall());
96 dns.lookup(false, options, common.mustNotCall());
103 dns.lookup(false, family, common.mustNotCall());
114 dns.lookup(false, options, common.mustNotCall());
123 dns.lookup(false, options, common.mustNotCall());
132 dns.lookup(false, options, common.mustNotCall());
H A Dtest-dns.js150 dns.resolve('example.com', [], common.mustNotCall());
176 assert.throws(() => dns.lookup({}, common.mustNotCall()), errorReg);
178 assert.throws(() => dns.lookup([], common.mustNotCall()), errorReg);
180 assert.throws(() => dns.lookup(true, common.mustNotCall()), errorReg);
182 assert.throws(() => dns.lookup(1, common.mustNotCall()), errorReg);
184 assert.throws(() => dns.lookup(common.mustNotCall(), common.mustNotCall()),
191 assert.throws(() => dnsPromises.lookup(common.mustNotCall()), errorReg);
228 dns.lookup('nodejs.org', { hints }, common.mustNotCall());
324 dns.lookupService(invalidAddress, 0, common.mustNotCall());
[all...]
H A Dtest-whatwg-webstreams-transfer.js46 port1.onmessageerror = common.mustNotCall();
47 port2.onmessageerror = common.mustNotCall();
117 port1.onmessageerror = common.mustNotCall();
118 port2.onmessageerror = common.mustNotCall();
167 port1.onmessageerror = common.mustNotCall();
168 port2.onmessageerror = common.mustNotCall();
218 port1.onmessageerror = common.mustNotCall();
219 port2.onmessageerror = common.mustNotCall();
334 [kDeserialize]: common.mustNotCall(),
361 [kDeserialize]: common.mustNotCall(),
[all...]
H A Dtest-tls-set-ciphers-error.js17 assert.throws(() => tls.createServer(options, common.mustNotCall()),
20 assert.throws(() => tls.createServer(options, common.mustNotCall()),
23 assert.throws(() => tls.createServer(options, common.mustNotCall()),
H A Dtest-fs-access.js101 .then(common.mustNotCall(), common.mustCall(expectedError))
117 .then(common.mustNotCall(), common.mustCall(expectedError))
128 () => { fs.access(100, fs.F_OK, common.mustNotCall()); },
133 .then(common.mustNotCall(), common.mustCall(expectedError))
170 () => fs.access(readWriteFile, mode, common.mustNotCall()),
192 () => fs.access(readWriteFile, mode, common.mustNotCall()),
H A Dtest-net-connect-options-port.js64 () => common.mustNotCall());
140 () => common.mustNotCall());
149 () => common.mustNotCall());
156 () => common.mustNotCall());
165 () => common.mustNotCall());
210 const dont = () => common.mustNotCall();
H A Dtest-stream-construct.js169 read: common.mustNotCall(),
173 write: common.mustNotCall(),
174 final: common.mustNotCall(),
194 r.on('data', common.mustNotCall());
228 write: common.mustNotCall(),
278 read: common.mustNotCall()
H A Dtest-tls-onread-static-buffer.js38 }).on('data', common.mustNotCall()).on('end', common.mustCall(() => {
66 }).on('data', common.mustNotCall()).on('end', common.mustCall(() => {
97 }).on('data', common.mustNotCall()).on('end', common.mustCall(() => {
132 }).on('data', common.mustNotCall()).on('end', common.mustCall(() => {
167 }).on('data', common.mustNotCall()).on('end', common.mustCall(() => {
202 }).on('data', common.mustNotCall()).on('end', common.mustCall(() => {
/third_party/node/test/sequential/
H A Dtest-dgram-bind-shared-ports.js76 const socket1 = dgram.createSocket('udp4', common.mustNotCall());
77 const socket2 = dgram.createSocket('udp4', common.mustNotCall());
78 const socket3 = dgram.createSocket('udp4', common.mustNotCall());
86 common.mustNotCall() :
95 common.mustNotCall() :

Completed in 6 milliseconds

123456789