/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | ProductionGraphValidationTest.java | 83 String expectedError = in componentProductionWithNoDependencyChain() local 88 .withErrorContaining(expectedError).in(component).onLine(11); in componentProductionWithNoDependencyChain() 125 String expectedError = in provisionDependsOnProduction() local 130 .withErrorContaining(expectedError).in(component).onLine(30); in provisionDependsOnProduction() 157 String expectedError = in provisionEntryPointDependsOnProduction() local 162 .withErrorContaining(expectedError).in(component).onLine(20); in provisionEntryPointDependsOnProduction() 205 String expectedError = in monitoringDependsOnUnboundType() local 211 .withErrorContaining(expectedError) in monitoringDependsOnUnboundType() 259 String expectedError = in monitoringDependsOnProduction() local 266 .withErrorContaining(expectedError) in monitoringDependsOnProduction()
|
D | GraphValidationTest.java | 124 String expectedError = "test.TestClass.A cannot be provided without an " in constructorInjectionWithoutAnnotation() local 129 .withErrorContaining(expectedError).in(component).onLine(15); in constructorInjectionWithoutAnnotation() 155 String expectedError = "test.TestClass.B cannot be provided without an " in membersInjectWithoutProvision() local 161 .withErrorContaining(expectedError).in(component).onLine(19); in membersInjectWithoutProvision() 192 String expectedError = "test.Outer.CComponent.getC() contains a dependency cycle:\n" in cyclicDependency() local 203 .withErrorContaining(expectedError).in(component).onLine(23); in cyclicDependency() 240 String expectedError = "test.Outer.DComponent.getD() contains a dependency cycle:\n" in cyclicDependencyNotIncludingEntryPoint() local 254 .withErrorContaining(expectedError) in cyclicDependencyNotIncludingEntryPoint() 306 String expectedError = in cyclicDependencyNotBrokenByMapBinding() local 325 .withErrorContaining(expectedError) in cyclicDependencyNotBrokenByMapBinding() [all …]
|
/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 481 expectedError string member 1191 if !test.shouldFail && (len(test.expectedError) > 0 || len(test.expectedLocalError) > 0) { 1445 expectedError := translateExpectedError(test.expectedError) 1446 correctFailure := len(expectedError) == 0 || strings.Contains(stderr, expectedError) 1469 msg = "bad error (wanted '" + expectedError + "' / '" + test.expectedLocalError + "')" 1718 expectedError: ":UNEXPECTED_MESSAGE:", 1791 expectedError: ":UNEXPECTED_MESSAGE:", 1808 expectedError: ":UNEXPECTED_RECORD:", 1820 expectedError: ":TLSV1_ALERT_RECORD_OVERFLOW:", 1832 expectedError: ":TLSV1_ALERT_RECORD_OVERFLOW:", [all …]
|
/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/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…
|
D | gl3cTransformFeedbackOverflowQueryTests.cpp | 445 void verifyError(GLenum expectedError) in verifyError() argument 451 if (actualError != expectedError) in verifyError()
|
/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/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/tools/ctestfw/unicode/ |
D | testlog.h | 44 UBool expectErrorAndReset(UErrorCode expectedError); 45 UBool expectErrorAndReset(UErrorCode expectedError, const char *fmt, ...);
|
/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/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()
|
D | glcPackedDepthStencilTests.cpp | 1484 GLenum expectedError = GL_INVALID_OPERATION; in checkErrors() local 1497 else if (gl.getError() != expectedError) in checkErrors()
|
/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/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 | 644 std::string input, expectedOutput, expectedError; in loadFilePreprocessAndCheck() local 648 tryLoadFile(expectedErrorFname, "expected error", &expectedError); in loadFilePreprocessAndCheck() 658 checkEqAndUpdateIfRequested(expectedError, error, in loadFilePreprocessAndCheck()
|
/external/deqp/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 120 void verifyError(GLenum expectedError, const char* missmatchMessage) const; 353 void Texture3DBase::verifyError(GLenum expectedError, const char* missmatchMessage) const in verifyError() argument 357 if (currentError == expectedError) in verifyError() 361 m_testCtx.getLog() << tcu::TestLog::Message << glu::getErrorStr(static_cast<int>(expectedError)) in verifyError()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureMultisampleTests.cpp | 2003 …const glw::GLenum expectedError = (m_sampleParam == SAMPLECOUNT_HIGH) ? (GL_INVALID_OPERATION) : … in iterate() local 2035 if (error == expectedError) in iterate() 2039 …r: " << glu::getErrorStr(error) << ", expected: " << glu::getErrorStr(expectedError) << tcu::TestL… in iterate()
|