Home
last modified time | relevance | path

Searched refs:expectedError (Results 1 – 16 of 16) sorted by relevance

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DProductionGraphValidationTest.java83 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()
DGraphValidationTest.java124 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/
Drunner.go326 expectedError string member
934 if !test.shouldFail && (len(test.expectedError) > 0 || len(test.expectedLocalError) > 0) {
1176 expectedError := translateExpectedError(test.expectedError)
1177 correctFailure := len(expectedError) == 0 || strings.Contains(stderr, expectedError)
1200 msg = "bad error (wanted '" + expectedError + "' / '" + test.expectedLocalError + "')"
1432 expectedError: ":UNEXPECTED_MESSAGE:",
1457 expectedError: ":UNEXPECTED_MESSAGE:",
1468 expectedError: ":TLSV1_ALERT_RECORD_OVERFLOW:",
1480 expectedError: ":TLSV1_ALERT_RECORD_OVERFLOW:",
1492 expectedError: ":BAD_ALERT:",
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3Test.java58 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()
DHttp2Test.java565 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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DNullDatabaseMapTest.java44 boolean expectedError = false; in MapLoadsButConnectionFails()
53 expectedError = true; in MapLoadsButConnectionFails()
55 Assert.assertTrue(expectedError); in MapLoadsButConnectionFails()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestCompositeGrammars.java256 …String expectedError = "error(161): "+tmpdir.toString().replaceFirst("\\-[0-9]+","")+"/M.g:2:8: co… in testCombinedImportsCombined() local
257 …assertEquals("unexpected errors: "+equeue, expectedError, equeue.errors.get(0).toString().replaceF… in testCombinedImportsCombined()
308 String expectedError = in testSameStringTwoNames() local
310 assertEquals(expectedError, equeue.errors.get(0).toString()); in testSameStringTwoNames()
361 String expectedError = in testSameNameTwoStrings() local
363 assertEquals(expectedError, equeue.errors.get(0).toString()); in testSameNameTwoStrings()
399 String expectedError = in testImportedTokenVocabIgnoredWithWarning() local
401 assertEquals(expectedError, equeue.warnings.get(0).toString()); in testImportedTokenVocabIgnoredWithWarning()
666 String expectedError = in testInvalidImportMechanism() local
668 assertEquals(expectedError, equeue.errors.get(0).toString().replaceFirst("\\-[0-9]+","")); in testInvalidImportMechanism()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dnccbtst.h61 const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError);
65 const char *mySubChar, int8_t len, const void* context, UErrorCode expectedError);
Dnccbtst.c3018 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/StringReference/
DValueTest.java133 private void checkCommandError(long stringID, int expectedError) { in checkCommandError() argument
142 checkReplyPacket(reply, "StringReference::Value command", expectedError); in checkCommandError()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/
DNameTest.java141 private void checkCommandError(long groupID, int expectedError) { in checkCommandError() argument
150 checkReplyPacket(reply, "ThreadGroupReference::Name command", expectedError); in checkCommandError()
DParentTest.java151 private void checkCommandError(long groupID, int expectedError) { in checkCommandError() argument
160 checkReplyPacket(reply, "ThreadGroupReference::Name command", expectedError); in checkCommandError()
DChildrenTest.java186 private void checkCommandError(long groupID, int expectedError) { in checkCommandError() argument
196 expectedError); in checkCommandError()
/external/expat/tests/
Druntests.c1197 enum XML_Error expectedError; in START_TEST() member
1235 if (actualError != cases[i].expectedError) { in START_TEST()
1238 cases[i].expectedError, actualError, (unsigned int)i + 1, cases[i].text); in START_TEST()
/external/deqp/modules/gles31/functional/
Des31fTextureMultisampleTests.cpp1982 …const glw::GLenum expectedError = (m_sampleParam == SAMPLECOUNT_HIGH) ? (GL_INVALID_OPERATION) : … in iterate() local
2014 if (error == expectedError) in iterate()
2018 …r: " << glu::getErrorStr(error) << ", expected: " << glu::getErrorStr(expectedError) << tcu::TestL… in iterate()
Des31fDrawTests.cpp2274 …* desc, deUint32 alignment, deUint32 bufferSize, bool writeCommandToBuffer, deUint32 expectedError) in BadCommandBufferCase() argument
2279 , m_expectedError (expectedError) in BadCommandBufferCase()