Home
last modified time | relevance | path

Searched refs:call_details (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/grpc/test/core/bad_client/tests/
Dsimple_request.cc94 grpc_call_details call_details; in verifier() local
98 grpc_call_details_init(&call_details); in verifier()
101 error = grpc_server_request_call(server, &s, &call_details, in verifier()
107 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in verifier()
108 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in verifier()
111 grpc_call_details_destroy(&call_details); in verifier()
Dlarge_metadata.cc103 grpc_call_details call_details; in server_verifier_sends_too_much_metadata() local
107 grpc_call_details_init(&call_details); in server_verifier_sends_too_much_metadata()
110 error = grpc_server_request_call(server, &s, &call_details, in server_verifier_sends_too_much_metadata()
116 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in server_verifier_sends_too_much_metadata()
117 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in server_verifier_sends_too_much_metadata()
139 grpc_call_details_destroy(&call_details); in server_verifier_sends_too_much_metadata()
Dduplicate_header.cc58 grpc_call_details call_details; in verifier() local
66 grpc_call_details_init(&call_details); in verifier()
69 error = grpc_server_request_call(server, &s, &call_details, in verifier()
75 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.host, "localhost")); in verifier()
76 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo/bar")); in verifier()
119 grpc_call_details_destroy(&call_details); in verifier()
/third_party/grpc/test/core/end2end/tests/
Ddefault_host.cc99 grpc_call_details call_details; in test_invoke_simple_request() local
120 grpc_call_details_init(&call_details); in test_invoke_simple_request()
150 grpc_server_request_call(f.server, &s, &call_details, in test_invoke_simple_request()
195 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_invoke_simple_request()
199 call_details.host, config); in test_invoke_simple_request()
201 GPR_ASSERT(grpc_slice_buf_start_eq(call_details.host, "localhost", 9) || in test_invoke_simple_request()
202 grpc_slice_buf_start_eq(call_details.host, "127.0.0.1", 9)); in test_invoke_simple_request()
210 grpc_call_details_destroy(&call_details); in test_invoke_simple_request()
Dretry_too_many_attempts.cc108 grpc_call_details call_details; in test_retry_too_many_attempts() local
161 grpc_call_details_init(&call_details); in test_retry_too_many_attempts()
189 grpc_server_request_call(f.server, &s, &call_details, in test_retry_too_many_attempts()
226 grpc_call_details_destroy(&call_details); in test_retry_too_many_attempts()
227 grpc_call_details_init(&call_details); in test_retry_too_many_attempts()
230 grpc_server_request_call(f.server, &s, &call_details, in test_retry_too_many_attempts()
267 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_too_many_attempts()
268 GPR_ASSERT(0 == call_details.flags); in test_retry_too_many_attempts()
275 grpc_call_details_destroy(&call_details); in test_retry_too_many_attempts()
Dretry_server_pushback_disabled.cc109 grpc_call_details call_details; in test_retry_server_pushback_disabled() local
167 grpc_call_details_init(&call_details); in test_retry_server_pushback_disabled()
195 grpc_server_request_call(f.server, &s, &call_details, in test_retry_server_pushback_disabled()
232 grpc_call_details_destroy(&call_details); in test_retry_server_pushback_disabled()
233 grpc_call_details_init(&call_details); in test_retry_server_pushback_disabled()
236 grpc_server_request_call(f.server, &s, &call_details, in test_retry_server_pushback_disabled()
274 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_server_pushback_disabled()
275 GPR_ASSERT(0 == call_details.flags); in test_retry_server_pushback_disabled()
282 grpc_call_details_destroy(&call_details); in test_retry_server_pushback_disabled()
Dmax_message_length.cc122 grpc_call_details call_details; in test_max_message_length_on_request() local
192 grpc_call_details_init(&call_details); in test_max_message_length_on_request()
233 grpc_server_request_call(f.server, &s, &call_details, in test_max_message_length_on_request()
259 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_max_message_length_on_request()
274 grpc_call_details_destroy(&call_details); in test_max_message_length_on_request()
313 grpc_call_details call_details; in test_max_message_length_on_response() local
380 grpc_call_details_init(&call_details); in test_max_message_length_on_response()
415 grpc_server_request_call(f.server, &s, &call_details, in test_max_message_length_on_response()
454 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_max_message_length_on_response()
466 grpc_call_details_destroy(&call_details); in test_max_message_length_on_response()
[all …]
Dretry_server_pushback_delay.cc108 grpc_call_details call_details; in test_retry_server_pushback_delay() local
166 grpc_call_details_init(&call_details); in test_retry_server_pushback_delay()
194 grpc_server_request_call(f.server, &s, &call_details, in test_retry_server_pushback_delay()
234 grpc_call_details_destroy(&call_details); in test_retry_server_pushback_delay()
235 grpc_call_details_init(&call_details); in test_retry_server_pushback_delay()
238 grpc_server_request_call(f.server, &s, &call_details, in test_retry_server_pushback_delay()
286 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_server_pushback_delay()
287 GPR_ASSERT(0 == call_details.flags); in test_retry_server_pushback_delay()
294 grpc_call_details_destroy(&call_details); in test_retry_server_pushback_delay()
Dretry.cc108 grpc_call_details call_details; in test_retry() local
161 grpc_call_details_init(&call_details); in test_retry()
189 grpc_server_request_call(f.server, &s, &call_details, in test_retry()
233 grpc_call_details_destroy(&call_details); in test_retry()
234 grpc_call_details_init(&call_details); in test_retry()
237 grpc_server_request_call(f.server, &s, &call_details, in test_retry()
293 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry()
294 GPR_ASSERT(0 == call_details.flags); in test_retry()
301 grpc_call_details_destroy(&call_details); in test_retry()
Dmax_concurrent_streams.cc96 grpc_call_details call_details; in simple_request_body() local
111 grpc_call_details_init(&call_details); in simple_request_body()
141 grpc_server_request_call(f.server, &s, &call_details, in simple_request_body()
177 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body()
184 grpc_call_details_destroy(&call_details); in simple_request_body()
204 grpc_call_details call_details; in test_max_concurrent_streams() local
236 grpc_call_details_init(&call_details); in test_max_concurrent_streams()
257 f.server, &s1, &call_details, in test_max_concurrent_streams()
383 grpc_call_details_destroy(&call_details); in test_max_concurrent_streams()
386 f.server, &s2, &call_details, in test_max_concurrent_streams()
[all …]
Dmax_connection_age.cc106 grpc_call_details call_details; in test_max_age_forcibly_close() local
120 grpc_call_details_init(&call_details); in test_max_age_forcibly_close()
151 grpc_server_request_call(f.server, &s, &call_details, in test_max_age_forcibly_close()
208 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_max_age_forcibly_close()
215 grpc_call_details_destroy(&call_details); in test_max_age_forcibly_close()
248 grpc_call_details call_details; in test_max_age_gracefully_close() local
262 grpc_call_details_init(&call_details); in test_max_age_gracefully_close()
293 grpc_server_request_call(f.server, &s, &call_details, in test_max_age_gracefully_close()
344 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_max_age_gracefully_close()
351 grpc_call_details_destroy(&call_details); in test_max_age_gracefully_close()
Dretry_cancellation.cc109 grpc_call_details call_details; in test_retry_cancellation() local
164 grpc_call_details_init(&call_details); in test_retry_cancellation()
194 grpc_server_request_call(f.server, &s, &call_details, in test_retry_cancellation()
231 grpc_call_details_destroy(&call_details); in test_retry_cancellation()
232 grpc_call_details_init(&call_details); in test_retry_cancellation()
236 grpc_server_request_call(f.server, &s, &call_details, in test_retry_cancellation()
255 grpc_call_details_destroy(&call_details); in test_retry_cancellation()
Dbad_ping.cc105 grpc_call_details call_details; in test_bad_ping() local
119 grpc_call_details_init(&call_details); in test_bad_ping()
150 grpc_server_request_call(f.server, &s, &call_details, in test_bad_ping()
207 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_bad_ping()
214 grpc_call_details_destroy(&call_details); in test_bad_ping()
264 grpc_call_details call_details; in test_pings_without_data() local
278 grpc_call_details_init(&call_details); in test_pings_without_data()
309 grpc_server_request_call(f.server, &s, &call_details, in test_pings_without_data()
369 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_pings_without_data()
375 grpc_call_details_destroy(&call_details); in test_pings_without_data()
Dcall_host_override.cc108 grpc_call_details call_details; in test_invoke_simple_request() local
131 grpc_call_details_init(&call_details); in test_invoke_simple_request()
161 grpc_server_request_call(f.server, &s, &call_details, in test_invoke_simple_request()
206 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_invoke_simple_request()
207 validate_host_override_string("foo.test.google.fr:1234", call_details.host, in test_invoke_simple_request()
215 grpc_call_details_destroy(&call_details); in test_invoke_simple_request()
Dfilter_call_init_fails.cc114 grpc_call_details call_details; in test_server_channel_filter() local
128 grpc_call_details_init(&call_details); in test_server_channel_filter()
164 grpc_server_request_call(f.server, &s, &call_details, in test_server_channel_filter()
178 grpc_call_details_destroy(&call_details); in test_server_channel_filter()
209 grpc_call_details call_details; in test_client_channel_filter() local
222 grpc_call_details_init(&call_details); in test_client_channel_filter()
267 grpc_call_details_destroy(&call_details); in test_client_channel_filter()
298 grpc_call_details call_details; in test_client_subchannel_filter() local
311 grpc_call_details_init(&call_details); in test_client_subchannel_filter()
380 grpc_call_details_destroy(&call_details); in test_client_subchannel_filter()
Dshutdown_finishes_calls.cc88 grpc_call_details call_details; in test_early_server_shutdown_finishes_inflight_calls() local
103 grpc_call_details_init(&call_details); in test_early_server_shutdown_finishes_inflight_calls()
134 grpc_server_request_call(f.server, &s, &call_details, in test_early_server_shutdown_finishes_inflight_calls()
170 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in test_early_server_shutdown_finishes_inflight_calls()
177 grpc_call_details_destroy(&call_details); in test_early_server_shutdown_finishes_inflight_calls()
Dretry_exceeds_buffer_size_in_initial_batch.cc111 grpc_call_details call_details; in test_retry_exceeds_buffer_size_in_initial_batch() local
168 grpc_call_details_init(&call_details); in test_retry_exceeds_buffer_size_in_initial_batch()
196 grpc_server_request_call(f.server, &s, &call_details, in test_retry_exceeds_buffer_size_in_initial_batch()
233 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_exceeds_buffer_size_in_initial_batch()
234 GPR_ASSERT(0 == call_details.flags); in test_retry_exceeds_buffer_size_in_initial_batch()
241 grpc_call_details_destroy(&call_details); in test_retry_exceeds_buffer_size_in_initial_batch()
Dno_error_on_hotpath.cc100 grpc_call_details call_details; in simple_request_body() local
120 grpc_call_details_init(&call_details); in simple_request_body()
150 grpc_server_request_call(f.server, &s, &call_details, in simple_request_body()
192 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body()
193 GPR_ASSERT(0 == call_details.flags); in simple_request_body()
200 grpc_call_details_destroy(&call_details); in simple_request_body()
Dproxy_auth.cc103 grpc_call_details call_details; in simple_request_body() local
124 grpc_call_details_init(&call_details); in simple_request_body()
154 grpc_server_request_call(f.server, &s, &call_details, in simple_request_body()
199 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body()
200 GPR_ASSERT(0 == call_details.flags); in simple_request_body()
207 grpc_call_details_destroy(&call_details); in simple_request_body()
Dretry_disabled.cc109 grpc_call_details call_details; in test_retry_disabled() local
165 grpc_call_details_init(&call_details); in test_retry_disabled()
193 grpc_server_request_call(f.server, &s, &call_details, in test_retry_disabled()
230 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_disabled()
231 GPR_ASSERT(0 == call_details.flags); in test_retry_disabled()
238 grpc_call_details_destroy(&call_details); in test_retry_disabled()
Didempotent_request.cc99 grpc_call_details call_details; in simple_request_body() local
120 grpc_call_details_init(&call_details); in simple_request_body()
150 grpc_server_request_call(f.server, &s, &call_details, in simple_request_body()
195 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo")); in simple_request_body()
196 GPR_ASSERT(GRPC_INITIAL_METADATA_IDEMPOTENT_REQUEST == call_details.flags); in simple_request_body()
203 grpc_call_details_destroy(&call_details); in simple_request_body()
Dretry_recv_message.cc108 grpc_call_details call_details; in test_retry_recv_message() local
161 grpc_call_details_init(&call_details); in test_retry_recv_message()
189 grpc_server_request_call(f.server, &s, &call_details, in test_retry_recv_message()
229 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_recv_message()
230 GPR_ASSERT(0 == call_details.flags); in test_retry_recv_message()
237 grpc_call_details_destroy(&call_details); in test_retry_recv_message()
Dretry_non_retriable_status.cc107 grpc_call_details call_details; in test_retry_non_retriable_status() local
160 grpc_call_details_init(&call_details); in test_retry_non_retriable_status()
188 grpc_server_request_call(f.server, &s, &call_details, in test_retry_non_retriable_status()
225 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_non_retriable_status()
226 GPR_ASSERT(0 == call_details.flags); in test_retry_non_retriable_status()
233 grpc_call_details_destroy(&call_details); in test_retry_non_retriable_status()
Dretry_throttled.cc107 grpc_call_details call_details; in test_retry_throttled() local
167 grpc_call_details_init(&call_details); in test_retry_throttled()
195 grpc_server_request_call(f.server, &s, &call_details, in test_retry_throttled()
232 GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/service/method")); in test_retry_throttled()
233 GPR_ASSERT(0 == call_details.flags); in test_retry_throttled()
240 grpc_call_details_destroy(&call_details); in test_retry_throttled()
/third_party/grpc/test/core/bad_ssl/
Dserver_common.cc52 grpc_call_details call_details; in bad_ssl_run() local
58 grpc_call_details_init(&call_details); in bad_ssl_run()
64 error = grpc_server_request_call(server, &s, &call_details, in bad_ssl_run()
102 grpc_call_details_destroy(&call_details); in bad_ssl_run()

12345