/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/test/ |
D | TestCoroutineContextTest.kt | 248 val expectedError = IllegalAccessError("hello") in <lambda>() constant 251 throw expectedError in <lambda>() 259 val expectedError = IllegalAccessError("hello") in <lambda>() constant 262 throw expectedError in <lambda>() 266 assertUnhandledException { it === expectedError} in <lambda>() 272 val expectedError = TestException("hello") in <lambda>() constant 276 suspendedAsyncWithExceptionAfterDelay(delay, expectedError, expectedValue, true) in <lambda>() 280 assertUnhandledException { it === expectedError} in <lambda>() 286 val expectedError = IllegalAccessError("hello") in <lambda>() constant 290 suspendedAsyncWithExceptionAfterDelay(delay, expectedError, expectedValue, false) in <lambda>() [all …]
|
/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 481 expectedError string member 1174 if !test.shouldFail && (len(test.expectedError) > 0 || len(test.expectedLocalError) > 0) { 1425 expectedError := translateExpectedError(test.expectedError) 1426 correctFailure := len(expectedError) == 0 || strings.Contains(stderr, expectedError) 1449 msg = "bad error (wanted '" + expectedError + "' / '" + test.expectedLocalError + "')" 1698 expectedError: ":UNEXPECTED_MESSAGE:", 1771 expectedError: ":UNEXPECTED_MESSAGE:", 1788 expectedError: ":UNEXPECTED_RECORD:", 1800 expectedError: ":TLSV1_ALERT_RECORD_OVERFLOW:", 1812 expectedError: ":TLSV1_ALERT_RECORD_OVERFLOW:", [all …]
|
/external/angle/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()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | Spdy3Test.java | 58 final ErrorCode expectedError = ErrorCode.PROTOCOL_ERROR; in goAwayRoundTrip() local 66 frame.writeInt(expectedError.spdyGoAwayCode); in goAwayRoundTrip() 69 assertEquals(frame, sendGoAway(expectedStreamId, expectedError, Util.EMPTY_BYTE_ARRAY)); in goAwayRoundTrip() 72 assertEquals(frame, sendGoAway(expectedStreamId, expectedError, new byte[8])); in goAwayRoundTrip() 80 assertEquals(expectedError, errorCode); in goAwayRoundTrip()
|
D | Http2Test.java | 565 final ErrorCode expectedError = ErrorCode.PROTOCOL_ERROR; in goAwayWithoutDebugDataRoundTrip() local 572 frame.writeInt(expectedError.httpCode); in goAwayWithoutDebugDataRoundTrip() 575 assertEquals(frame, sendGoAway(expectedStreamId, expectedError, Util.EMPTY_BYTE_ARRAY)); in goAwayWithoutDebugDataRoundTrip() 581 assertEquals(expectedError, errorCode); in goAwayWithoutDebugDataRoundTrip() 588 final ErrorCode expectedError = ErrorCode.PROTOCOL_ERROR; in goAwayWithDebugDataRoundTrip() local 597 frame.writeInt(expectedError.httpCode); in goAwayWithDebugDataRoundTrip() 601 assertEquals(frame, sendGoAway(0, expectedError, expectedData.toByteArray())); in goAwayWithDebugDataRoundTrip() 607 assertEquals(expectedError, errorCode); in goAwayWithDebugDataRoundTrip()
|
/external/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()
|
/external/angle/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()
|
/external/deqp/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() 431 …ameterQueriesTestCase::testTextureSparseARB(const Functions& gl, GLint target, GLint expectedError) in testTextureSparseARB() argument 444 if (expectedError == GL_NO_ERROR) in testTextureSparseARB() 452 if (expectedError == GL_NO_ERROR) in testTextureSparseARB() 463 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…
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestCompositeGrammars.java | 258 …String expectedError = "error(161): "+tmpdir.toString().replaceFirst("\\-[0-9]+","")+"/M.g:2:8: co… in testCombinedImportsCombined() local 259 …assertEquals("unexpected errors: "+equeue, expectedError, equeue.errors.get(0).toString().replaceF… in testCombinedImportsCombined() 310 String expectedError = in testSameStringTwoNames() local 312 assertEquals(expectedError, equeue.errors.get(0).toString()); in testSameStringTwoNames() 363 String expectedError = in testSameNameTwoStrings() local 365 assertEquals(expectedError, equeue.errors.get(0).toString()); in testSameNameTwoStrings() 401 String expectedError = in testImportedTokenVocabIgnoredWithWarning() local 403 assertEquals(expectedError, equeue.warnings.get(0).toString()); in testImportedTokenVocabIgnoredWithWarning() 668 String expectedError = in testInvalidImportMechanism() local 670 assertEquals(expectedError, equeue.errors.get(0).toString().replaceFirst("\\-[0-9]+","")); in testInvalidImportMechanism() [all …]
|
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
D | testlog.h | 44 UBool expectErrorAndReset(UErrorCode expectedError); 45 UBool expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...);
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/test/ |
D | TestRunBlockingTest.kt | 343 val expectedError = IllegalAccessError("hello") in <lambda>() constant 346 throw expectedError in <lambda>() 354 val expectedError = IllegalAccessError("hello") in <lambda>() constant 357 throw expectedError in <lambda>()
|
/external/deqp/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()
|
D | esextcTextureCubeMapArrayTex3DValidation.hpp | 71 bool checkError(glw::GLint expectedError, const char* message);
|
/external/icu/icu4c/source/test/cintltst/ |
D | nccbtst.h | 61 const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError); 65 const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError);
|
D | nccbtst.c | 3018 const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError) in testConvertFromUnicodeWithContext() argument 3120 if(U_FAILURE(status) && status != expectedError) in testConvertFromUnicodeWithContext() 3198 const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError) in testConvertToUnicodeWithContext() argument 3298 if(U_FAILURE(status) && status!=expectedError) in testConvertToUnicodeWithContext()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VMDebug/ |
D | VMDebugTest.java | 45 int expectedError = JDWPConstants.Error.INVALID_OBJECT; in sendDebuggerActivity() local 54 checkReplyPacket(reply, "StringReference::Value command", expectedError); in sendDebuggerActivity()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcRobustnessTests.cpp | 219 bool verifyError(glw::GLint error, glw::GLint expectedError, const char* method); 373 bool GetnUniformTest::verifyError(GLint error, GLint expectedError, const char* method) in verifyError() argument 375 if (error != expectedError) in verifyError() 406 bool verifyError(glw::GLint error, glw::GLint expectedError, const char* method); 618 bool ReadnPixelsTest::verifyError(GLint error, GLint expectedError, const char* method) in verifyError() argument 620 if (error != expectedError) in verifyError()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StringReference/ |
D | ValueTest.java | 134 private void checkCommandError(long stringID, int expectedError) { in checkCommandError() argument 143 checkReplyPacket(reply, "StringReference::Value command", expectedError); in checkCommandError()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/ |
D | NameTest.java | 141 private void checkCommandError(long groupID, int expectedError) { in checkCommandError() argument 150 checkReplyPacket(reply, "ThreadGroupReference::Name command", expectedError); in checkCommandError()
|
D | ParentTest.java | 151 private void checkCommandError(long groupID, int expectedError) { in checkCommandError() argument 160 checkReplyPacket(reply, "ThreadGroupReference::Name command", expectedError); in checkCommandError()
|
D | ChildrenTest.java | 186 private void checkCommandError(long groupID, int expectedError) { in checkCommandError() argument 196 expectedError); in checkCommandError()
|
/external/deqp-deps/glslang/gtests/ |
D | TestFixture.h | 651 std::string input, expectedOutput, expectedError; in loadFilePreprocessAndCheck() local 655 tryLoadFile(expectedErrorFname, "expected error", &expectedError); in loadFilePreprocessAndCheck() 665 checkEqAndUpdateIfRequested(expectedError, error, in loadFilePreprocessAndCheck()
|
/external/angle/third_party/glslang/src/gtests/ |
D | TestFixture.h | 651 std::string input, expectedOutput, expectedError; in loadFilePreprocessAndCheck() local 655 tryLoadFile(expectedErrorFname, "expected error", &expectedError); in loadFilePreprocessAndCheck() 665 checkEqAndUpdateIfRequested(expectedError, error, in loadFilePreprocessAndCheck()
|