Home
last modified time | relevance | path

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

/external/grpc-grpc/test/cpp/util/
Derror_details_test.cc32 testing::EchoRequest expected_details; in TEST() local
33 expected_details.set_message(grpc::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(grpc::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(grpc::string(100, '\0')); in TEST()
89 expected.add_details()->PackFrom(expected_details); in TEST()
[all …]
/external/grpc-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:
41 raise ValueError('expected message %s, got %s' % (expected_details,
45 def _validate_status_code_and_details(call, expected_code, expected_details): argument
47 _expect_status_details(call, expected_details)
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_metadata_code_details_test.py313 for abort_code, expected_code, expected_details in test_cases:
334 self.assertEqual(expected_details,
340 for abort_code, expected_code, expected_details in test_cases:
364 self.assertEqual(expected_details, response_iterator_call.details())
369 for abort_code, expected_code, expected_details in test_cases:
392 self.assertEqual(expected_details,
398 for abort_code, expected_code, expected_details in test_cases:
423 self.assertEqual(expected_details, response_iterator_call.details())
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/
Dmethods.py108 def _expect_status_details(call, expected_details): argument
109 if call.details() != expected_details:
110 raise ValueError('expected message %s, got %s' % (expected_details,
114 def _validate_status_code_and_details(call, expected_code, expected_details): argument
116 _expect_status_details(call, expected_details)
/external/grpc-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)
/external/grpc-grpc/test/core/end2end/tests/
Dstream_compression_compressed_payload.cc233 char* expected_details = nullptr; in request_for_disabled_algorithm() local
234 gpr_asprintf(&expected_details, "Compression algorithm '%s' is disabled.", in request_for_disabled_algorithm()
237 GPR_ASSERT(0 == grpc_slice_str_cmp(details, expected_details)); in request_for_disabled_algorithm()
238 gpr_free(expected_details); in request_for_disabled_algorithm()
Dcompressed_payload.cc233 char* expected_details = nullptr; in request_for_disabled_algorithm() local
234 gpr_asprintf(&expected_details, "Compression algorithm '%s' is disabled.", in request_for_disabled_algorithm()
237 GPR_ASSERT(0 == grpc_slice_str_cmp(details, expected_details)); in request_for_disabled_algorithm()
238 gpr_free(expected_details); in request_for_disabled_algorithm()
/external/python/cpython3/Lib/test/
Dtest_c_locale_coercion.py228 expected_details = EncodingDetails.get_expected_details(
234 self.assertEqual(encoding_details, expected_details)
/external/grpc-grpc/src/ruby/spec/generic/
Drpc_server_spec.rb518 expected_details = 'NoMethodError: undefined method `each\' for '\
521 expect(exception.inspect.include?(expected_details)).to be true