Home
last modified time | relevance | path

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

/third_party/grpc/test/cpp/util/
Derror_details_test.cc32 testing::EchoRequest expected_details; in TEST() local
33 expected_details.set_message(std::string(100, '\0')); in TEST()
34 expected.add_details()->PackFrom(expected_details); in TEST()
46 EXPECT_EQ(expected_details.message(), details.message()); in TEST()
66 testing::EchoRequest expected_details; in TEST() local
67 expected_details.set_message(std::string(100, '\0')); in TEST()
68 expected.add_details()->PackFrom(expected_details); in TEST()
87 testing::EchoRequest expected_details; in TEST() local
88 expected_details.set_message(std::string(100, '\0')); in TEST()
89 expected.add_details()->PackFrom(expected_details); in TEST()
[all …]
/third_party/grpc/src/python/grpcio_tests/tests/http2/
Dnegative_http2_client.py39 def _expect_status_details(call, expected_details): argument
40 if call.details() != expected_details:
42 (expected_details, call.details()))
45 def _validate_status_code_and_details(call, expected_code, expected_details): argument
47 _expect_status_details(call, expected_details)
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_metadata_code_details_test.py316 for abort_code, expected_code, expected_details in test_cases:
337 self.assertEqual(expected_details,
343 for abort_code, expected_code, expected_details in test_cases:
367 self.assertEqual(expected_details, response_iterator_call.details())
372 for abort_code, expected_code, expected_details in test_cases:
395 self.assertEqual(expected_details,
401 for abort_code, expected_code, expected_details in test_cases:
426 self.assertEqual(expected_details, response_iterator_call.details())
/third_party/grpc/src/python/grpcio_tests/tests/interop/
Dmethods.py49 def _expect_status_details(call, expected_details): argument
50 if call.details() != expected_details:
52 (expected_details, call.details()))
55 def _validate_status_code_and_details(call, expected_code, expected_details): argument
57 _expect_status_details(call, expected_details)
/third_party/grpc/src/python/grpcio_tests/tests_aio/interop/
Dmethods.py49 async def _expect_status_details(call: aio.Call, expected_details: str) -> None:
51 if details != expected_details:
53 (expected_details, await call.details()))
58 expected_details: str) -> None:
60 await _expect_status_details(call, expected_details)
/third_party/grpc/src/ruby/spec/
Dclient_server_spec.rb278 expected_details) argument
309 expect(client_batch.status.details).to eq expected_details
314 expected_details = 'Cancelled'
316 client_cancel_test(cancel_proc, expected_code, expected_details)
/third_party/python/Lib/test/
Dtest_c_locale_coercion.py224 expected_details = EncodingDetails.get_expected_details(
230 self.assertEqual(encoding_details, expected_details)
/third_party/grpc/src/ruby/spec/generic/
Drpc_server_spec.rb540 expected_details = 'NoMethodError: undefined method `each\' for '\
543 expect(exception.inspect.include?(expected_details)).to be true
/third_party/grpc/test/core/end2end/tests/
Dstream_compression_compressed_payload.cc237 std::string expected_details = in request_for_disabled_algorithm() local
240 GPR_ASSERT(0 == grpc_slice_str_cmp(details, expected_details.c_str())); in request_for_disabled_algorithm()
Dcompressed_payload.cc252 std::string expected_details = in request_for_disabled_algorithm() local
255 GPR_ASSERT(0 == grpc_slice_str_cmp(details, expected_details.c_str())); in request_for_disabled_algorithm()