/third_party/node/test/parallel/ |
D | test-fs-assert-encoding-error.js | 10 const expectedError = { variable 17 }, expectedError); 21 }, expectedError); 25 }, expectedError); 29 }, expectedError); 33 }, expectedError); 37 }, expectedError); 41 }, expectedError); 45 }, expectedError); 49 }, expectedError); [all …]
|
D | test-fs-access.js | 94 const expectedError = (err) => { function 99 fs.access(doesNotExist, common.mustCall(expectedError)); 101 .then(common.mustNotCall(), common.mustCall(expectedError)) 106 function expectedError(err) { 115 fs.access(readOnlyFile, fs.W_OK, common.mustCall(expectedError)); 117 .then(common.mustNotCall(), common.mustCall(expectedError)) 122 const expectedError = (err) => { 129 expectedError 133 .then(common.mustNotCall(), common.mustCall(expectedError))
|
D | test-child-process-validate-stdio.js | 8 const expectedError = { code: 'ERR_INVALID_ARG_VALUE', name: 'TypeError' }; variable 11 assert.throws(() => getValidStdio('foo'), expectedError); 14 assert.throws(() => getValidStdio(600), expectedError); 43 assert.throws(() => getValidStdio(stdio), expectedError);
|
D | test-whatwg-encoding-custom-interop.js | 48 const expectedError = { variable 60 assert.throws(() => inspectFn.call(i, Infinity, {}), expectedError); 61 assert.throws(() => encodeFn.call(i), expectedError); 62 assert.throws(() => encodingGetter.call(i), expectedError);
|
D | test-whatwg-encoding-custom-textdecoder.js | 176 const expectedError = { variable 190 assert.throws(() => inspectFn.call(i, Infinity, {}), expectedError); 191 assert.throws(() => decodeFn.call(i), expectedError); 192 assert.throws(() => encodingGetter.call(i), expectedError); 193 assert.throws(() => fatalGetter.call(i), expectedError); 194 assert.throws(() => ignoreBOMGetter.call(i), expectedError);
|
D | test-child-process-uid-gid.js | 5 const expectedError = common.isWindows ? /\bENOTSUP\b/ : /\bEPERM\b/; constant 13 }, expectedError); 19 }, expectedError);
|
D | test-http-res-write-end-dont-take-array.js | 38 const expectedError = { variable 48 expectedError 56 expectedError
|
D | test-whatwg-url-custom-domainto.js | 20 const expectedError = { code: 'ERR_MISSING_ARGS', name: 'TypeError' }; variable 21 assert.throws(() => domainToASCII(), expectedError); 22 assert.throws(() => domainToUnicode(), expectedError);
|
D | test-vm-module-errors.js | 243 const expectedError = { variable 252 }, expectedError); 256 }, expectedError); 262 }, expectedError);
|
D | test-internal-util-assertCrypto.js | 8 const expectedError = common.expectsError({ constant 12 assert.throws(() => util.assertCrypto(), expectedError);
|
D | test-dgram-send-address-types.js | 37 const expectedError = { variable 43 assert.throws(() => client.send(buf, port, invalidInput), expectedError);
|
D | test-abortsignal-any.mjs | 8 const expectedError = { code: 'ERR_INVALID_ARG_TYPE' }; variable 9 assert.throws(() => AbortSignal.any(), expectedError); 10 assert.throws(() => AbortSignal.any(null), expectedError); 11 assert.throws(() => AbortSignal.any(undefined), expectedError);
|
/third_party/node/test/fixtures/test-runner/ |
D | run_inspect.js | 10 let expectedError; variable 16 expectedError = badPortError; 21 expectedError = badPortError; 24 expectedError = badPortError; 27 expectedError = badPortError; 30 expectedError = badPortError; 34 if (expectedError) { 36 …deepStrictEqual({ name: details.error.cause.name, code: details.error.cause.code }, expectedError);
|
/third_party/typescript/src/testRunner/unittests/config/ |
D | convertTypeAcquisitionFromJson.ts | 20 const expectedError = expectedErrors[i]; constant 21 …assert.equal(actualError.code, expectedError.code, `Expected error-code: ${JSON.stringify(expected… 22 …assert.equal(actualError.category, expectedError.category, `Expected error-category: ${JSON.string…
|
/third_party/icu/icu4c/source/tools/ctestfw/ |
D | tstdtmod.cpp | 82 UBool IcuTestErrorCode::expectErrorAndReset(UErrorCode expectedError) { in expectErrorAndReset() argument 83 if(get() != expectedError) { in expectErrorAndReset() 84 errlog(false, UnicodeString(u"expected: ") + u_errorName(expectedError), nullptr); in expectErrorAndReset() 91 UBool IcuTestErrorCode::expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...) { in expectErrorAndReset() argument 92 if(get() != expectedError) { in expectErrorAndReset() 98 errlog(false, UnicodeString(u"expected: ") + u_errorName(expectedError), buffer); in expectErrorAndReset()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | SRGBFramebufferTest.cpp | 55 GLenum expectedError = in TEST_P() local 60 EXPECT_GL_ERROR(expectedError); in TEST_P() 63 EXPECT_GL_ERROR(expectedError); in TEST_P() 64 if (expectedError == GL_NO_ERROR) in TEST_P() 70 EXPECT_GL_ERROR(expectedError); in TEST_P() 73 EXPECT_GL_ERROR(expectedError); in TEST_P() 74 if (expectedError == GL_NO_ERROR) in TEST_P()
|
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/ |
D | tstdtmod.cpp | 82 UBool IcuTestErrorCode::expectErrorAndReset(UErrorCode expectedError) { in expectErrorAndReset() argument 83 if(get() != expectedError) { in expectErrorAndReset() 84 errlog(FALSE, UnicodeString(u"expected: ") + u_errorName(expectedError), nullptr); in expectErrorAndReset() 91 UBool IcuTestErrorCode::expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...) { in expectErrorAndReset() argument 92 if(get() != expectedError) { in expectErrorAndReset() 98 errlog(FALSE, UnicodeString(u"expected: ") + u_errorName(expectedError), buffer); in expectErrorAndReset()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cSparseTextureTests.cpp | 62 GLint error, GLint expectedError) in verifyQueryError() argument 64 if (error != expectedError) in verifyQueryError() 67 << ", target: " << target << ", pname: " << pname << ", expected: " << expectedError in verifyQueryError() 85 …eUtils::verifyError(std::stringstream& log, const char* funcName, GLint error, GLint expectedError) in verifyError() argument 87 if (error != expectedError) in verifyError() 90 << ", expectedError: " << expectedError << ", returnedError: " << error << "] - "; in verifyError() 429 …ameterQueriesTestCase::testTextureSparseARB(const Functions& gl, GLint target, GLint expectedError) in testTextureSparseARB() argument 442 if (expectedError == GL_NO_ERROR) in testTextureSparseARB() 450 if (expectedError == GL_NO_ERROR) in testTextureSparseARB() 461 expectedError); in testTextureSparseARB() [all …]
|
D | gl4cSparseTextureTests.hpp | 68 GLint expectedError); 70 …c bool verifyError(std::stringstream& log, const char* funcName, GLint error, GLint expectedError); 133 bool testTextureSparseARB(const Functions& gl, GLint target, GLint expectedError = GL_NO_ERROR); 134 …bool testVirtualPageSizeIndexARB(const Functions& gl, GLint target, GLint expectedError = GL_NO_ER…
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | EmulateGLDrawID_test.cpp | 28 void CheckCompileFailure(const std::string &shaderString, const char *expectedError = nullptr) in CheckCompileFailure() argument 36 if (expectedError) in CheckCompileFailure() 38 EXPECT_TRUE(infoLog.find(expectedError) != std::string::npos); in CheckCompileFailure()
|
D | EmulateGLBaseVertexBaseInstance_test.cpp | 29 const char *expectedError = nullptr, in CheckCompileFailure() argument 38 if (expectedError) in CheckCompileFailure() 40 EXPECT_TRUE(infoLog.find(expectedError) != std::string::npos); in CheckCompileFailure()
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/generateKey/ |
D | failures.js | 71 function testError(algorithm, extractable, usages, expectedError, testTag) { argument 77 if (typeof expectedError === "number") { 78 assert_equals(err.code, expectedError, testTag + " not supported"); 80 assert_equals(err.name, expectedError, testTag + " not supported");
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayTex3DValidation.cpp | 204 bool TextureCubeMapArrayTex3DValidation::checkError(glw::GLint expectedError, const char* message) in checkError() argument 210 if (error != expectedError) in checkError() 212 …Log() << tcu::TestLog::Message << message << " Expected error: " << glu::getErrorStr(expectedError) in checkError()
|
/third_party/icu/icu4c/source/tools/ctestfw/unicode/ |
D | testlog.h | 44 UBool expectErrorAndReset(UErrorCode expectedError); 45 UBool expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...);
|
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/unicode/ |
D | testlog.h | 44 UBool expectErrorAndReset(UErrorCode expectedError); 45 UBool expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...);
|