Home
last modified time | relevance | path

Searched refs:ExpectedError (Results 1 – 10 of 10) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/
DesextcDrawBuffersIndexedNegative.cpp72 success &= ExpectedError(GL_INVALID_VALUE, "glBlendEquationi(0, maxDrawBuffers)"); in iterate()
75 success &= ExpectedError(GL_INVALID_VALUE, "glBlendEquationSeparatei(0, maxDrawBuffers)"); in iterate()
79 ExpectedError(GL_INVALID_VALUE, in iterate()
83 success &= ExpectedError(GL_INVALID_VALUE, "glBlendFunci(maxDrawBuffers, GL_ZERO, GL_SRC_COLOR)"); in iterate()
86 …success &= ExpectedError(GL_INVALID_VALUE, "glGetIntegeri_v(GL_BLEND_EQUATION_RGB, maxDrawBuffers,… in iterate()
89 …success &= ExpectedError(GL_INVALID_VALUE, "glGetIntegeri_v(GL_BLEND_EQUATION_ALPHA, maxDrawBuffer… in iterate()
92 …success &= ExpectedError(GL_INVALID_VALUE, "glGetIntegeri_v(GL_BLEND_SRC_RGB, maxDrawBuffers, &dat… in iterate()
95 …success &= ExpectedError(GL_INVALID_VALUE, "glGetIntegeri_v(GL_BLEND_SRC_ALPHA, maxDrawBuffers, &d… in iterate()
98 …success &= ExpectedError(GL_INVALID_VALUE, "glGetIntegeri_v(GL_BLEND_DST_RGB, maxDrawBuffers, &dat… in iterate()
101 …success &= ExpectedError(GL_INVALID_VALUE, "glGetIntegeri_v(GL_BLEND_DST_ALPHA, maxDrawBuffers, &d… in iterate()
[all …]
DesextcDrawBuffersIndexedNegative.hpp56 bool ExpectedError(glw::GLenum expectedResult, const char* call);
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProvidersTest.java148 private static final class ExpectedError extends Error {} class in CheckedProvidersTest
152 CheckedProviders.throwing(FooCheckedProvider.class, ExpectedError.class); in testCheckThrowable_errorNotDeclared_throwsExpectedError()
157 } catch (ExpectedError e) { in testCheckThrowable_errorNotDeclared_throwsExpectedError()
/external/llvm-project/debuginfo-tests/llvm-prettyprinters/gdb/
Dllvm-support.cpp21 llvm::Expected<int> ExpectedError(llvm::createStringError({}, "")); variable
63 !ExpectedError; in main()
Dllvm-support.gdb23 p ExpectedError
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DEchoMessages.cs605 public global::Grpc.Testing.ErrorStatus ExpectedError { property in Grpc.Testing.RequestParams
666 if (!object.Equals(ExpectedError, other.ExpectedError)) return false; in Equals()
688 if (expectedError_ != null) hash ^= ExpectedError.GetHashCode(); in GetHashCode()
758 output.WriteMessage(ExpectedError); in WriteTo()
816 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExpectedError); in CalculateSize()
881 ExpectedError.MergeFrom(other.ExpectedError); in MergeFrom()
/external/python/cpython2/Lib/test/
Dtest_itertools.py501 class ExpectedError(Exception): class
506 raise ExpectedError
511 self.assertRaises(ExpectedError, gulp, delayed_raise(0))
513 self.assertRaises(ExpectedError, gulp, delayed_raise(1))
518 raise ExpectedError
522 self.assertRaises(ExpectedError, gulp, s, func=id)
524 self.assertRaises(ExpectedError, gulp, s)
532 raise ExpectedError
536 self.assertRaises(ExpectedError, gulp, [None], keyfunc)
538 self.assertRaises(ExpectedError, gulp, [None, None], keyfunc)
/external/python/cpython3/Lib/test/
Dtest_itertools.py797 class ExpectedError(Exception): class
802 raise ExpectedError
807 self.assertRaises(ExpectedError, gulp, delayed_raise(0))
809 self.assertRaises(ExpectedError, gulp, delayed_raise(1))
814 raise ExpectedError
818 self.assertRaises(ExpectedError, gulp, s, func=id)
820 self.assertRaises(ExpectedError, gulp, s)
828 raise ExpectedError
832 self.assertRaises(ExpectedError, gulp, [None], keyfunc)
834 self.assertRaises(ExpectedError, gulp, [None, None], keyfunc)
/external/boringssl/src/ssl/
Dssl_test.cc5139 enum class ExpectedError { enum in __anon131ff1100111::QUICMethodTest
5149 return RunQUICHandshakesAndExpectError(ExpectedError::kNoError); in CompleteHandshakesForQUIC()
5156 bool RunQUICHandshakesAndExpectError(ExpectedError expected_error) { in RunQUICHandshakesAndExpectError()
5169 if (expected_error == ExpectedError::kClientError) { in RunQUICHandshakesAndExpectError()
5188 if (expected_error == ExpectedError::kServerError) { in RunQUICHandshakesAndExpectError()
5197 return expected_error == ExpectedError::kNoError; in RunQUICHandshakesAndExpectError()
6063 ASSERT_TRUE(RunQUICHandshakesAndExpectError(ExpectedError::kServerError)); in TEST_F()
6073 ASSERT_TRUE(RunQUICHandshakesAndExpectError(ExpectedError::kClientError)); in TEST_F()
6131 ASSERT_TRUE(RunQUICHandshakesAndExpectError(ExpectedError::kServerError)); in TEST_F()
6149 ASSERT_TRUE(RunQUICHandshakesAndExpectError(ExpectedError::kServerError)); in TEST_F()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_test.cc5123 enum class ExpectedError { enum in __anonce90b1670111::QUICMethodTest
5133 return RunQUICHandshakesAndExpectError(ExpectedError::kNoError); in CompleteHandshakesForQUIC()
5140 bool RunQUICHandshakesAndExpectError(ExpectedError expected_error) { in RunQUICHandshakesAndExpectError()
5153 if (expected_error == ExpectedError::kClientError) { in RunQUICHandshakesAndExpectError()
5172 if (expected_error == ExpectedError::kServerError) { in RunQUICHandshakesAndExpectError()
5181 return expected_error == ExpectedError::kNoError; in RunQUICHandshakesAndExpectError()
6007 ASSERT_TRUE(RunQUICHandshakesAndExpectError(ExpectedError::kServerError)); in TEST_F()
6017 ASSERT_TRUE(RunQUICHandshakesAndExpectError(ExpectedError::kClientError)); in TEST_F()