Searched refs:expected_code (Results 1 – 10 of 10) sorted by relevance
/third_party/grpc/src/python/grpcio_tests/tests/http2/ |
D | negative_http2_client.py | 33 def _expect_status_code(call, expected_code): argument 34 if call.code() != expected_code: 36 (expected_code, call.code())) 45 def _validate_status_code_and_details(call, expected_code, expected_details): argument 46 _expect_status_code(call, expected_code)
|
/third_party/ffmpeg/libavformat/ |
D | spdifdec.c | 120 const uint8_t *expected_code = buf + 7; in ff_spdif_probe() local 133 if (buf == expected_code) { in ff_spdif_probe() 150 expected_code = buf + offset; in ff_spdif_probe() 151 buf = expected_code - 7; in ff_spdif_probe()
|
/third_party/grpc/test/cpp/interop/ |
D | http2_client.cc | 57 bool Http2Client::AssertStatusCode(const Status& s, StatusCode expected_code) { in AssertStatusCode() argument 58 if (s.error_code() == expected_code) { in AssertStatusCode() 63 s.error_code(), expected_code, s.error_message().c_str()); in AssertStatusCode()
|
D | http2_client.h | 57 bool AssertStatusCode(const Status& s, StatusCode expected_code);
|
D | interop_client.h | 131 bool AssertStatusCode(const Status& s, StatusCode expected_code,
|
D | interop_client.cc | 136 bool InteropClient::AssertStatusCode(const Status& s, StatusCode expected_code, in AssertStatusCode() argument 138 if (s.error_code() == expected_code) { in AssertStatusCode() 145 s.error_code(), expected_code, s.error_message().c_str(), in AssertStatusCode()
|
/third_party/grpc/src/python/grpcio_tests/tests/unit/ |
D | _metadata_code_details_test.py | 316 for abort_code, expected_code, expected_details in test_cases: 336 self.assertIs(expected_code, exception_context.exception.code()) 343 for abort_code, expected_code, expected_details in test_cases: 366 self.assertIs(expected_code, response_iterator_call.code()) 372 for abort_code, expected_code, expected_details in test_cases: 394 self.assertIs(expected_code, exception_context.exception.code()) 401 for abort_code, expected_code, expected_details in test_cases: 425 self.assertIs(expected_code, response_iterator_call.code())
|
/third_party/grpc/src/python/grpcio_tests/tests/interop/ |
D | methods.py | 43 def _expect_status_code(call, expected_code): argument 44 if call.code() != expected_code: 46 (expected_code, call.code())) 55 def _validate_status_code_and_details(call, expected_code, expected_details): argument 56 _expect_status_code(call, expected_code)
|
/third_party/grpc/src/python/grpcio_tests/tests_aio/interop/ |
D | methods.py | 42 expected_code: grpc.StatusCode) -> None: 44 if code != expected_code: 46 (expected_code, await call.code())) 57 expected_code: grpc.StatusCode, 59 await _expect_status_code(call, expected_code)
|
/third_party/grpc/src/ruby/spec/ |
D | client_server_spec.rb | 277 def client_cancel_test(cancel_proc, expected_code, argument 308 expect(client_batch.status.code).to be expected_code 313 expected_code = StatusCodes::CANCELLED 316 client_cancel_test(cancel_proc, expected_code, expected_details)
|