/third_party/node/test/parallel/ |
D | test-assert-async.js | 44 promises.push(assert.rejects(rejectingFn, errObj)); 45 promises.push(assert.rejects(rejectingFn(), errObj)); 53 promises.push(assert.rejects(validRejectingThenable, { code: 'FAIL' })); 57 promises.push(assert.rejects( 58 assert.rejects(invalidThenable, {}), 63 promises.push(assert.rejects( 64 assert.rejects(invalidThenableFunc, {}), 72 promises.push(assert.rejects( 73 () => assert.rejects(Promise.reject(err), validate), 99 let promise = assert.rejects(async () => {}, common.mustNotCall()); [all …]
|
D | test-vm-module-errors.js | 40 await assert.rejects(async () => { 52 await assert.rejects(async () => { 61 await assert.rejects(async () => { 70 await assert.rejects(async () => { 78 await assert.rejects(async () => { 95 await assert.rejects(async () => { 115 await assert.rejects(async () => { 127 await assert.rejects(async () => { 142 await assert.rejects(async () => { 177 await assert.rejects(() => { [all …]
|
D | test-timers-promisified.js | 49 assert.rejects(setTimeout(10, undefined, { signal }), /AbortError/); 57 assert.rejects(setTimeout(10, undefined, { signal }), /AbortError/); 63 assert.rejects(setImmediate(10, { signal }), /AbortError/); 71 assert.rejects(setImmediate(10, { signal }), /AbortError/); 111 [1, '', false, Infinity].map((i) => assert.rejects(setImmediate(10, i)), { 117 (signal) => assert.rejects(setImmediate(10, { signal })), { 123 (i) => assert.rejects(setTimeout(10, null, i)), { 129 (signal) => assert.rejects(setTimeout(10, null, { signal })), { 135 (ref) => assert.rejects(setTimeout(10, null, { ref })), {
|
D | test-fs-promises-watch.js | 76 assert.rejects( 81 assert.rejects( 86 assert.rejects( 91 assert.rejects( 96 assert.rejects( 101 assert.rejects(
|
D | test-events-once.js | 10 rejects, 130 return rejects(once(ee, 'foo', { signal }), { 135 return rejects(once(ee, 'foo', { signal: ac.signal }), { 144 const r = rejects(once(ee, 'foo', { signal: ac.signal }), { 167 return rejects(once(et, 'foo', { signal }), { 172 return rejects(once(et, 'foo', { signal: ac.signal }), { 180 const r = rejects(once(et, 'foo', { signal: ac.signal }), {
|
D | test-fs-promises.js | 54 assert.rejects( 63 assert.rejects( 71 assert.rejects( 192 assert.rejects( 203 assert.rejects( 279 assert.rejects( 366 assert.rejects( 383 assert.rejects( 415 assert.rejects( 429 assert.rejects(
|
D | test-fs-promises-file-handle-readFile.js | 65 await assert.rejects(readFile(fileHandle, { signal }), { 80 await assert.rejects(readFile(fileHandle, { signal }), { 97 await assert.rejects(fileHandle.readFile({ signal, encoding: 'utf8' }), { 115 await assert.rejects(fileHandle.readFile(), {
|
D | test-fs-promises-readfile.js | 50 assert.rejects(readFile(fn, { signal }), { 59 assert.rejects(readFile(fn, { signal }), { 68 await assert.rejects(async () => {
|
D | test-directory-import.js | 9 assert.rejects(import('./'), /ERR_UNSUPPORTED_DIR_IMPORT/); 10 assert.rejects(
|
D | test-fs-promises-file-handle-writeFile.js | 42 await assert.rejects(writeFile(fileHandle, buffer, { signal }), { 104 await assert.rejects( 129 assert.rejects( 179 assert.rejects(
|
D | test-fs-promises-writefile.js | 70 await assert.rejects( 85 assert.rejects(fsPromises.writeFile(dest, iterableWith(value)), { 114 assert.rejects(fsPromises.writeFile(dest, value), { 125 await assert.rejects(
|
D | test-fs-opendir.js | 164 await assert.rejects(async () => dir.read(), dirclosedError); 176 await assert.rejects(async () => dir.read(), dirclosedError); 192 await assert.rejects(async () => dir.read(), dirclosedError); 230 await assert.rejects(() => dir.close(), dirclosedError); 289 assert.rejects(dir.close(), dirclosedError).then(common.mustCall());
|
D | test-child-process-exec-abortcontroller-promisified.js | 22 assert.rejects(promise, /AbortError/, 'post aborted sync signal failed') 46 assert.rejects(promise, /AbortError/, 'pre aborted signal failed')
|
D | test-dns-channel-cancel-promise.js | 29 await assert.rejects( 50 assert.rejects(
|
D | test-fs-promises-file-handle-sync.js | 13 await assert.rejects( 21 await assert.rejects(
|
D | test-child-process-execFile-promisified-abortController.js | 25 assert.rejects( 37 assert.rejects(
|
/third_party/skia/tests/ |
D | SkGlyphBufferTest.cpp | 99 SkSourceGlyphBuffer rejects; in DEF_TEST() local 105 rejects.setSource(source); in DEF_TEST() 106 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST() 111 rejects.reject(1); in DEF_TEST() 112 rejects.reject(2, 100); in DEF_TEST() 113 rejects.flipRejectsToSource(); in DEF_TEST() 114 REPORTER_ASSERT(reporter, rejects.rejectedMaxDimension() == 100); in DEF_TEST() 115 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST() 123 rejects.reject(0, 10); in DEF_TEST() 124 rejects.flipRejectsToSource(); in DEF_TEST() [all …]
|
D | SkScalerCacheTest.cpp | 67 SkSourceGlyphBuffer rejects; in DEF_TEST() local 70 rejects.setSource(local); in DEF_TEST() 72 drawable.startBitmapDevice(rejects.source(), {0, 0}, SkMatrix::I(), in DEF_TEST() 74 scalerCache.prepareForMaskDrawing(&drawable, &rejects); in DEF_TEST() 75 rejects.flipRejectsToSource(); in DEF_TEST()
|
/third_party/node/test/es-module/ |
D | test-esm-undefined-cjs-global-like-variables.js | 7 assert.rejects( 11 assert.rejects( 16 assert.rejects( 22 assert.rejects( 26 assert.rejects( 30 assert.rejects( 34 assert.rejects( 39 assert.rejects(
|
D | test-esm-cjs-named-error.mjs | 2 import { rejects } from 'assert'; 26 rejects(async () => { 33 rejects(async () => { 40 rejects(async () => { 47 rejects(async () => { 54 rejects(async () => { 61 rejects(async () => { 68 rejects(async () => { 75 rejects(async () => {
|
D | test-esm-invalid-data-urls.js | 6 await assert.rejects(import('data:text/plain,export default0'), { 12 await assert.rejects(import('data:text/plain;base64,'), { 18 await assert.rejects(import('data:application/json,[]'), {
|
/third_party/skia/src/core/ |
D | SkStrikeForGPU.h | 37 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) = 0; 40 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) = 0; 43 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) = 0;
|
D | SkStrikeCache.h | 121 SkDrawableGlyphBuffer* drawbles, SkSourceGlyphBuffer* rejects) override { in prepareForMaskDrawing() argument 122 size_t increase = fScalerCache.prepareForMaskDrawing(drawbles, rejects); in prepareForMaskDrawing() 127 SkDrawableGlyphBuffer* drawbles, SkSourceGlyphBuffer* rejects) override { in prepareForSDFTDrawing() argument 128 size_t increase = fScalerCache.prepareForSDFTDrawing(drawbles, rejects); in prepareForSDFTDrawing() 133 SkDrawableGlyphBuffer* drawbles, SkSourceGlyphBuffer* rejects) override { in prepareForPathDrawing() argument 134 size_t increase = fScalerCache.prepareForPathDrawing(drawbles, rejects); in prepareForPathDrawing()
|
D | SkScalerCache.cpp | 190 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) { in prepareForMaskDrawing() argument 197 rejects->reject(i); in prepareForMaskDrawing() 205 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) { in prepareForSDFTDrawing() argument 212 rejects->reject(i); in prepareForSDFTDrawing() 220 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects) { in prepareForPathDrawing() argument 234 rejects->reject(i, glyph->maxDimension()); in prepareForPathDrawing() 238 rejects->reject(i, glyph->maxDimension()); in prepareForPathDrawing()
|
/third_party/node/test/internet/ |
D | test-dns-lookup.js | 10 assert.rejects( 22 assert.rejects(
|