/third_party/node/test/parallel/ |
H A D | test-primordials-promise.js | 19 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 D | test-wrap-js-stream-destroy.js | 15 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 D | test-crypto-keygen.js | 61 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 D | test-fs-assert-encoding-error.js | 16 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 D | test-http2-options-max-headers-exceeds-nghttp2.js | 12 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 D | test-child-process-spawnsync-validation-errors.js | 37 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 D | test-event-emitter-remove-all-listeners.js | 41 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 D | test-net-server-listen-options.js | 41 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 D | test-crypto-pbkdf2.js | 92 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 D | test-tls-client-reject.js | 63 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 D | test-http-host-headers.js | 62 }, 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 D | test-stream-readable-didRead.js | 16 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 D | test-vm-module-errors.js | 13 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 D | test-stream-writable-destroy.js | 12 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 D | test-http-missing-header-separator-cr.js | 19 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 D | test-http-missing-header-separator-lf.js | 19 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 D | test-dns-lookup.js | 67 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 D | test-dns.js | 150 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 D | test-whatwg-webstreams-transfer.js | 46 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 D | test-tls-set-ciphers-error.js | 17 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 D | test-fs-access.js | 101 .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 D | test-net-connect-options-port.js | 64 () => common.mustNotCall()); 140 () => common.mustNotCall()); 149 () => common.mustNotCall()); 156 () => common.mustNotCall()); 165 () => common.mustNotCall()); 210 const dont = () => common.mustNotCall();
|
H A D | test-stream-construct.js | 169 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 D | test-tls-onread-static-buffer.js | 38 }).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 D | test-dgram-bind-shared-ports.js | 76 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() :
|