/third_party/node/test/parallel/ |
D | test-fs-fchown.js | 7 function testFd(input, errObj) { argument 8 assert.throws(() => fs.fchown(input), errObj); 9 assert.throws(() => fs.fchownSync(input), errObj); 12 function testUid(input, errObj) { argument 13 assert.throws(() => fs.fchown(1, input), errObj); 14 assert.throws(() => fs.fchownSync(1, input), errObj); 17 function testGid(input, errObj) { argument 18 assert.throws(() => fs.fchown(1, 1, input), errObj); 19 assert.throws(() => fs.fchownSync(1, 1, input), errObj); 23 const errObj = { variable [all …]
|
D | test-fs-fchmod.js | 11 const errObj = { variable 17 assert.throws(() => fs.fchmod(input), errObj); 18 assert.throws(() => fs.fchmodSync(input), errObj); 23 const errObj = { variable 26 assert.throws(() => fs.fchmod(1, input), errObj); 27 assert.throws(() => fs.fchmodSync(1, input), errObj); 35 const errObj = { variable 41 assert.throws(() => fs.fchmod(input), errObj); 42 assert.throws(() => fs.fchmodSync(input), errObj); 46 const errObj = { variable [all …]
|
D | test-dgram-sendto.js | 7 const errObj = { variable 13 assert.throws(() => socket.sendto(), errObj); 15 errObj.message = 'The "length" argument must be of type number. Received ' + 19 errObj); 21 errObj.message = 'The "offset" argument must be of type number. Received ' + 25 errObj); 27 errObj.message = 'The "address" argument must be of type string. Received ' + 31 errObj); 33 errObj.message = 'The "port" argument must be of type number. Received ' + 37 errObj);
|
D | test-dns-setservers-type-check.js | 20 const errObj = { variable 29 }, errObj 34 }, errObj 39 }, errObj 44 }, errObj 60 const errObj = { variable 69 }, errObj 74 }, errObj 79 }, errObj 84 }, errObj [all …]
|
D | test-fs-symlink.js | 67 const errObj = { variable 72 assert.throws(() => fs.symlink(input, '', common.mustNotCall()), errObj); 73 assert.throws(() => fs.symlinkSync(input, ''), errObj); 75 assert.throws(() => fs.symlink('', input, common.mustNotCall()), errObj); 76 assert.throws(() => fs.symlinkSync('', input), errObj); 79 const errObj = { variable 85 assert.throws(() => fs.symlink('', '', '', common.mustNotCall()), errObj); 86 assert.throws(() => fs.symlinkSync('', '', ''), errObj);
|
D | test-fs-lchmod.js | 41 const errObj = { variable 45 assert.rejects(promises.lchmod(f, input, () => {}), errObj); 46 assert.throws(() => fs.lchmodSync(f, input), errObj); 57 const errObj = { variable 64 assert.rejects(promises.lchmod(f, input, () => {}), errObj); 65 assert.throws(() => fs.lchmodSync(f, input), errObj);
|
D | test-fs-close-errors.js | 11 const errObj = { variable 17 assert.throws(() => fs.close(input), errObj); 18 assert.throws(() => fs.closeSync(input), errObj); 25 const errObj = { variable 31 assert.throws(() => fs.close(fd, input), errObj);
|
D | test-fs-fsync.js | 51 const errObj = { variable 55 assert.throws(() => fs.fdatasync(input), errObj); 56 assert.throws(() => fs.fdatasyncSync(input), errObj); 57 assert.throws(() => fs.fsync(input), errObj); 58 assert.throws(() => fs.fsyncSync(input), errObj);
|
D | test-os-process-priority.js | 28 const errObj = { variable 35 }, errObj); 39 }, errObj); 44 const errObj = { variable 51 }, errObj); 55 }, errObj);
|
D | test-crypto-sign-verify.js | 372 const errObj = { variable 378 assert.throws(() => crypto.createSign(input), errObj); 379 assert.throws(() => crypto.createVerify(input), errObj); 381 errObj.message = 'The "data" argument must be of type string or an ' + 384 assert.throws(() => sign.update(input), errObj); 385 assert.throws(() => verify.update(input), errObj); 386 assert.throws(() => sign._write(input, 'utf8', () => {}), errObj); 387 assert.throws(() => verify._write(input, 'utf8', () => {}), errObj); 399 const errObj = { variable 403 assert.throws(() => sign.sign(input), errObj); [all …]
|
D | test-crypto-random.js | 43 const errObj = { variable 49 assert.throws(() => f(value), errObj); 50 assert.throws(() => f(value, common.mustNotCall()), errObj); 54 const errObj = { variable 60 assert.throws(() => f(value), errObj); 61 assert.throws(() => f(value, common.mustNotCall()), errObj); 252 const errObj = { variable 259 assert.throws(() => crypto.randomFillSync(buf, offsetSize), errObj); 263 errObj); 265 errObj.message = 'The value of "size" is out of range. It must be >= ' + [all …]
|
D | test-timers-immediate-queue-throw.js | 21 const errObj = { variable 29 common.expectsError(errObj)(err); 33 d1.once('error', common.expectsError(errObj));
|
D | test-crypto-certificate.js | 118 const errObj = { code: 'ERR_INVALID_ARG_TYPE' }; variable 119 assert.throws(() => Certificate.exportPublicKey(val), errObj); 120 assert.throws(() => Certificate.exportChallenge(val), errObj);
|
D | test-fs-append-file.js | 125 const errObj = { variable 133 errObj 138 errObj 143 errObj
|
D | test-buffer-from.js | 52 const errObj = { variable 59 throws(() => Buffer.from(input), errObj); 60 throws(() => Buffer.from(input, 'hex'), errObj);
|
D | test-fs-chmod.js | 140 const errObj = { variable 147 assert.throws(() => fs.chmod(input, 1, common.mustNotCall()), errObj); 148 assert.throws(() => fs.chmodSync(input, 1), errObj);
|
D | test-dns.js | 143 const errObj = { variable 151 }, errObj); 154 }, errObj); 157 const errObj = { variable 165 }, errObj);
|
D | test-assert.js | 1031 const errObj = { variable 1035 assert.throws(errFn, errObj); 1037 errObj.code = 404; 1038 assert.throws(errFn, errObj); 1042 errObj.foo = undefined; 1044 () => assert.throws(errFn, errObj), 1059 errObj.code = '404'; 1061 () => assert.throws(errFn, errObj),
|
D | test-assert-async.js | 36 const errObj = { variable 44 promises.push(assert.rejects(rejectingFn, errObj)); 45 promises.push(assert.rejects(rejectingFn(), errObj));
|
/third_party/typescript/tests/baselines/reference/ |
D | assignmentToObjectAndFunction.js | 2 var errObj: Object = { toString: 0 }; // Error, incompatible toString variable 33 var errObj = { toString: 0 }; // Error, incompatible toString variable
|
D | assignmentToObjectAndFunction.symbols | 2 var errObj: Object = { toString: 0 }; // Error, incompatible toString 3 >errObj : Symbol(errObj, Decl(assignmentToObjectAndFunction.ts, 0, 3))
|
D | assignmentToObjectAndFunction.types | 2 var errObj: Object = { toString: 0 }; // Error, incompatible toString 3 >errObj : Object
|
D | assignmentToObjectAndFunction.errors.txt | 9 var errObj: Object = { toString: 0 }; // Error, incompatible toString
|
/third_party/typescript/tests/cases/compiler/ |
D | assignmentToObjectAndFunction.ts | 1 var errObj: Object = { toString: 0 }; // Error, incompatible toString variable
|