/third_party/node/test/parallel/ |
D | test-primordials-regexp.js | 4 const { mustNotCall } = require('../common'); 25 get: mustNotCall('get %RegExp.prototype%[@@match]'), 26 set: mustNotCall('set %RegExp.prototype%[@@match]'), 29 get: mustNotCall('get %RegExp.prototype%[@@matchAll]'), 30 set: mustNotCall('set %RegExp.prototype%[@@matchAll]'), 33 get: mustNotCall('get %RegExp.prototype%[@@replace]'), 34 set: mustNotCall('set %RegExp.prototype%[@@replace]'), 37 get: mustNotCall('get %RegExp.prototype%[@@search]'), 38 set: mustNotCall('set %RegExp.prototype%[@@search]'), 41 get: mustNotCall('get %RegExp.prototype%[@@split]'), [all …]
|
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('set %Promise.prototype%.then'), [all …]
|
D | test-event-emitter-check-listener-leaks.js | 33 e.on('default', common.mustNotCall()); 36 e.on('default', common.mustNotCall()); 42 e.on(symbol, common.mustNotCall()); 44 e.on(symbol, common.mustNotCall()); 50 e.on('specific', common.mustNotCall()); 53 e.on('specific', common.mustNotCall()); 58 e.on('only one', common.mustNotCall()); 60 e.on('only one', common.mustNotCall()); 66 e.on('unlimited', common.mustNotCall()); 77 e.on('fortytwo', common.mustNotCall()); [all …]
|
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 …]
|
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 …]
|
D | test-module-prototype-mutation.js | 8 get: common.mustNotCall('get %Object.prototype%.name'), 9 set: common.mustNotCall('set %Object.prototype%.name'), 14 get: common.mustNotCall('get %Object.prototype%.main'), 15 set: common.mustNotCall('set %Object.prototype%.main'), 20 get: common.mustNotCall('get %Object.prototype%.type'), 21 set: common.mustNotCall('set %Object.prototype%.type'), 26 get: common.mustNotCall('get %Object.prototype%.exports'), 27 set: common.mustNotCall('set %Object.prototype%.exports'), 32 get: common.mustNotCall('get %Object.prototype%.imports'), 33 set: common.mustNotCall('set %Object.prototype%.imports'),
|
D | test-stream-duplex-destroy.js | 15 duplex.on('end', common.mustNotCall()); 16 duplex.on('finish', common.mustNotCall()); 32 duplex.on('end', common.mustNotCall()); 33 duplex.on('finish', common.mustNotCall()); 55 duplex.on('finish', common.mustNotCall('no finish event')); 76 duplex.on('end', common.mustNotCall('no end event')); 77 duplex.on('finish', common.mustNotCall('no finish event')); 80 duplex.on('error', common.mustNotCall('no error event')); 118 const fail = common.mustNotCall('no finish or end event'); 127 duplex.on('end', common.mustNotCall()); [all …]
|
D | test-child-process-reject-null-bytes.js | 2 const { mustNotCall } = require('../common'); 19 throws(() => exec(`${process.execPath} ${__filename} AAA BBB\0XXX CCC`, mustNotCall()), { 24 throws(() => exec('BBB\0XXX AAA CCC', mustNotCall()), { 46 throws(() => execFile('BBB\0XXX', mustNotCall()), { 78 throws(() => execFile(process.execPath, [__filename, 'AAA', 'BBB\0XXX', 'CCC'], mustNotCall()), { 105 throws(() => exec(process.execPath, { cwd: 'BBB\0XXX' }, mustNotCall()), { 110 throws(() => execFile(process.execPath, { cwd: 'BBB\0XXX' }, mustNotCall()), { 142 throws(() => exec(process.execPath, { argv0: 'BBB\0XXX' }, mustNotCall()), { 147 throws(() => execFile(process.execPath, { argv0: 'BBB\0XXX' }, mustNotCall()), { 179 throws(() => exec(process.execPath, { shell: 'BBB\0XXX' }, mustNotCall()), { [all …]
|
D | test-stream-transform-destroy.js | 14 transform.on('end', common.mustNotCall()); 16 transform.on('finish', common.mustNotCall()); 29 transform.on('end', common.mustNotCall()); 30 transform.on('finish', common.mustNotCall()); 51 transform.on('finish', common.mustNotCall('no finish event')); 71 transform.on('end', common.mustNotCall('no end event')); 73 transform.on('finish', common.mustNotCall('no finish event')); 76 transform.on('error', common.mustNotCall('no error event')); 109 const fail = common.mustNotCall('no event'); 120 transform.on('finish', common.mustNotCall()); [all …]
|
D | test-stream-readable-destroy.js | 28 read.on('end', common.mustNotCall('no end event')); 51 read.on('end', common.mustNotCall('no end event')); 72 read.on('end', common.mustNotCall('no end event')); 75 read.on('error', common.mustNotCall('no error event')); 110 const fail = common.mustNotCall('no end event'); 118 read.on('end', common.mustNotCall()); 135 read.on('end', common.mustNotCall('no end event')); 160 read.on('end', common.mustNotCall()); 247 read.on('data', common.mustNotCall()); 252 read: common.mustNotCall() [all …]
|
D | test-stream-writable-write-writev-finish.js | 17 writable.on('finish', common.mustNotCall()); 18 writable.on('prefinish', common.mustNotCall()); 33 writable.on('finish', common.mustNotCall()); 34 writable.on('prefinish', common.mustNotCall()); 53 writable.on('finish', common.mustNotCall()); 54 writable.on('prefinish', common.mustNotCall()); 78 writable.on('finish', common.mustNotCall()); 79 writable.on('prefinish', common.mustNotCall()); 103 ws.on('finish', common.mustNotCall()); 120 ws.on('finish', common.mustNotCall()); [all …]
|
D | test-http2-compat-serverresponse-destroy.js | 19 req.on('error', common.mustNotCall()); 20 res.on('error', common.mustNotCall()); 46 req.on('response', common.mustNotCall()); 47 req.on('error', common.mustNotCall()); 56 req.on('response', common.mustNotCall()); 65 req.on('end', common.mustNotCall()); 71 req.on('response', common.mustNotCall()); 80 req.on('end', common.mustNotCall());
|
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(), invalidRangeError); [all …]
|
D | test-webstreams-compose.js | 326 transform: common.mustNotCall() 329 .on('data', common.mustNotCall()) 330 .on('end', common.mustNotCall()) 351 .on('data', common.mustNotCall()) 352 .on('end', common.mustNotCall()) 376 transform: common.mustNotCall() 379 .on('data', common.mustNotCall()) 380 .on('end', common.mustNotCall()) 396 transform: common.mustNotCall() 399 .on('data', common.mustNotCall()) [all …]
|
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());
|
D | test-https-host-headers.js | 37 }, cb).on('error', common.mustNotCall()); 45 }, cb).on('error', common.mustNotCall()).end(); 53 }, cb).on('error', common.mustNotCall()).end(); 61 }, cb).on('error', common.mustNotCall()).end(); 69 }, cb).on('error', common.mustNotCall()).end(); 78 }, cb).on('error', common.mustNotCall()); 88 }, cb).on('error', common.mustNotCall()).end(); 97 }, cb).on('error', common.mustNotCall()); 106 }, cb).on('error', common.mustNotCall());
|
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());
|
D | test-http-client-abort-destroy.js | 24 req.on('error', common.mustNotCall()); 47 req.on('error', common.mustNotCall()); 56 const server = http.createServer(common.mustNotCall()); 60 const req = http.get(options, common.mustNotCall()); 77 const server = http.createServer(common.mustNotCall()); 82 const req = http.get(options, common.mustNotCall()); 99 const server = http.createServer(common.mustNotCall()); 104 const req = http.get(options, common.mustNotCall()); 123 const server = http.createServer(common.mustNotCall()); 129 const req = http.get(options, common.mustNotCall());
|
D | test-crypto-secret-keygen.js | 14 assert.throws(() => generateKey(i, 1, common.mustNotCall()), { 25 assert.throws(() => generateKey('aes', i, common.mustNotCall()), { 36 assert.throws(() => generateKey('hmac', { length }, common.mustNotCall()), { 50 assert.throws(() => generateKey('hmac', { length: -1 }, common.mustNotCall()), { 54 assert.throws(() => generateKey('hmac', { length: 4 }, common.mustNotCall()), { 58 assert.throws(() => generateKey('hmac', { length: 7 }, common.mustNotCall()), { 63 () => generateKey('hmac', { length: 2 ** 31 }, common.mustNotCall()), { 129 () => generateKey('unknown', { length: 123 }, common.mustNotCall()), {
|
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());
|
D | test-stream-duplex-readable-writable.js | 16 duplex.on('data', common.mustNotCall()); 17 duplex.on('end', common.mustNotCall()); 23 write: common.mustNotCall() 30 duplex.on('finish', common.mustNotCall()); 38 duplex.on('data', common.mustNotCall()); 39 duplex.on('end', common.mustNotCall());
|
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();
|
D | test-fs-whatwg-url.js | 23 fs.readFile(httpUrl, common.mustNotCall()); 37 fs.readFile(new URL(`file:///c:/tmp/${i}`), common.mustNotCall()); 48 fs.readFile(new URL('file:///c:/tmp/%00test'), common.mustNotCall()); 62 fs.readFile(new URL(`file:///c:/tmp/${i}`), common.mustNotCall()); 72 fs.readFile(new URL('file://hostname/a/b/c'), common.mustNotCall()); 82 fs.readFile(new URL('file:///tmp/%00test'), common.mustNotCall());
|
/third_party/node/test/es-module/ |
D | test-esm-loader-stringify-text.mjs | 2 import { mustCall, mustNotCall } from '../common/index.mjs'; 6 mustNotCall('Should not accept Arrays'), 13 mustNotCall('Should accept ArrayBuffers'), 17 mustNotCall('Should accept BigInt64Array'), 21 mustNotCall('Should accept BigUint64Array'), 25 mustNotCall('Should accept Float32Array'), 29 mustNotCall('Should accept Float64Array'), 33 mustNotCall('Should accept Int8Array'), 37 mustNotCall('Should accept Int16Array'), 41 mustNotCall('Should accept Int32Array'), [all …]
|
/third_party/node/test/fixtures/test-runner/output/ |
D | name_pattern.js | 14 test('top level test disabled', common.mustNotCall()); 15 test('top level skipped test disabled', { skip: true }, common.mustNotCall()); 16 test('top level skipped test enabled', { skip: true }, common.mustNotCall()); 18 it('top level it disabled', common.mustNotCall()); 19 it.skip('top level skipped it disabled', common.mustNotCall()); 20 it.skip('top level skipped it enabled', common.mustNotCall()); 22 describe.skip('top level skipped describe disabled', common.mustNotCall()); 23 describe.skip('top level skipped describe enabled', common.mustNotCall());
|