/third_party/node/test/parallel/ |
D | test-fs-assert-encoding-error.js | 7 const expectedError = { variable 14 }, expectedError); 18 }, expectedError); 22 }, expectedError); 26 }, expectedError); 30 }, expectedError); 34 }, expectedError); 38 }, expectedError); 42 }, expectedError); 46 }, expectedError); [all …]
|
D | test-fs-access.js | 93 const expectedError = (err) => { function 98 fs.access(doesNotExist, common.mustCall(expectedError)); 100 .then(common.mustNotCall(), common.mustCall(expectedError)) 105 function expectedError(err) { 114 fs.access(readOnlyFile, fs.W_OK, common.mustCall(expectedError)); 116 .then(common.mustNotCall(), common.mustCall(expectedError)) 121 const expectedError = (err) => { 128 expectedError 132 .then(common.mustNotCall(), common.mustCall(expectedError))
|
D | test-child-process-validate-stdio.js | 8 const expectedError = { code: 'ERR_INVALID_OPT_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 | 163 const expectedError = { variable 177 assert.throws(() => inspectFn.call(i, Infinity, {}), expectedError); 178 assert.throws(() => decodeFn.call(i), expectedError); 179 assert.throws(() => encodingGetter.call(i), expectedError); 180 assert.throws(() => fatalGetter.call(i), expectedError); 181 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-internal-util-assertCrypto.js | 8 const expectedError = common.expectsError({ constant 12 assert.throws(() => util.assertCrypto(), expectedError);
|
D | test-vm-module-errors.js | 238 const expectedError = { variable 247 }, expectedError); 251 }, expectedError); 257 }, expectedError);
|
D | test-dgram-send-address-types.js | 25 const expectedError = { variable 31 assert.throws(() => client.send(buf, port, invalidInput), expectedError);
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | SRGBFramebufferTest.cpp | 46 GLenum expectedError = in TEST_P() local 51 EXPECT_GL_ERROR(expectedError); in TEST_P() 54 EXPECT_GL_ERROR(expectedError); in TEST_P() 55 if (expectedError == GL_NO_ERROR) in TEST_P() 61 EXPECT_GL_ERROR(expectedError); in TEST_P() 64 EXPECT_GL_ERROR(expectedError); in TEST_P() 65 if (expectedError == GL_NO_ERROR) in TEST_P()
|
/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testautomation_sdltest.c | 156 const char *expectedError = "That operation is not supported"; in sdltest_randomBoundaryNumberUint8() local 248 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint8() 250 expectedError, in sdltest_randomBoundaryNumberUint8() 266 const char *expectedError = "That operation is not supported"; in sdltest_randomBoundaryNumberUint16() local 358 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint16() 360 expectedError, in sdltest_randomBoundaryNumberUint16() 376 const char *expectedError = "That operation is not supported"; in sdltest_randomBoundaryNumberUint32() local 468 SDLTest_AssertCheck(lastError != NULL && SDL_strcmp(lastError, expectedError) == 0, in sdltest_randomBoundaryNumberUint32() 470 expectedError, in sdltest_randomBoundaryNumberUint32() 486 const char *expectedError = "That operation is not supported"; in sdltest_randomBoundaryNumberUint64() local [all …]
|
D | testautomation_keyboard.c | 113 const char *expectedError = "Parameter 'scancode' is invalid"; in _checkInvalidScancodeError() local 119 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in _checkInvalidScancodeError() 120 "Validate error message, expected: '%s', got: '%s'", expectedError, error); in _checkInvalidScancodeError() 483 const char *expectedError = "Parameter 'rect' is invalid"; in keyboard_setTextInputRectNegative() local 500 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in keyboard_setTextInputRectNegative() 501 "Validate error message, expected: '%s', got: '%s'", expectedError, error); in keyboard_setTextInputRectNegative() 595 const char *expectedError = "Parameter 'name' is invalid"; in _checkInvalidNameError() local 601 SDLTest_AssertCheck(SDL_strcmp(error, expectedError) == 0, in _checkInvalidNameError() 602 "Validate error message, expected: '%s', got: '%s'", expectedError, error); in _checkInvalidNameError()
|
/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…
|
D | commandLineParsing.ts | 14 const expectedError = expectedErrors[i]; constant 15 assert.equal(parsedError.code, expectedError.code); 16 assert.equal(parsedError.category, expectedError.category); 18 …if (typeof expectedError.messageText === "string" && expectedError.messageText.includes("[...]")) { 19 const prefix = expectedError.messageText.split("[...]")[0]; 20 assert(expectedError.messageText.startsWith(prefix)); 23 assert.equal(parsedError.messageText, expectedError.messageText); 738 const expectedError = expectedErrors[i]; constant 739 assert.equal(parsedError.code, expectedError.code); 740 assert.equal(parsedError.category, expectedError.category); [all …]
|
/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/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/flutter/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/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/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/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | EmulateGLBaseVertexBaseInstance_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 | 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()
|
/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 …]
|