1
2 /*
3 *
4 * Copyright 2015 gRPC authors.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18 */
19
20 /* This file is auto-generated */
21
22 #include "test/core/end2end/end2end_tests.h"
23
24 #include <stdbool.h>
25 #include <string.h>
26
27 #include <grpc/support/log.h>
28
29
30 static bool g_pre_init_called = false;
31
32 extern void authority_not_supported(grpc_end2end_test_config config);
33 extern void authority_not_supported_pre_init(void);
34 extern void bad_hostname(grpc_end2end_test_config config);
35 extern void bad_hostname_pre_init(void);
36 extern void bad_ping(grpc_end2end_test_config config);
37 extern void bad_ping_pre_init(void);
38 extern void binary_metadata(grpc_end2end_test_config config);
39 extern void binary_metadata_pre_init(void);
40 extern void call_host_override(grpc_end2end_test_config config);
41 extern void call_host_override_pre_init(void);
42 extern void cancel_after_accept(grpc_end2end_test_config config);
43 extern void cancel_after_accept_pre_init(void);
44 extern void cancel_after_client_done(grpc_end2end_test_config config);
45 extern void cancel_after_client_done_pre_init(void);
46 extern void cancel_after_invoke(grpc_end2end_test_config config);
47 extern void cancel_after_invoke_pre_init(void);
48 extern void cancel_after_round_trip(grpc_end2end_test_config config);
49 extern void cancel_after_round_trip_pre_init(void);
50 extern void cancel_before_invoke(grpc_end2end_test_config config);
51 extern void cancel_before_invoke_pre_init(void);
52 extern void cancel_in_a_vacuum(grpc_end2end_test_config config);
53 extern void cancel_in_a_vacuum_pre_init(void);
54 extern void cancel_with_status(grpc_end2end_test_config config);
55 extern void cancel_with_status_pre_init(void);
56 extern void channelz(grpc_end2end_test_config config);
57 extern void channelz_pre_init(void);
58 extern void client_streaming(grpc_end2end_test_config config);
59 extern void client_streaming_pre_init(void);
60 extern void compressed_payload(grpc_end2end_test_config config);
61 extern void compressed_payload_pre_init(void);
62 extern void connectivity(grpc_end2end_test_config config);
63 extern void connectivity_pre_init(void);
64 extern void default_host(grpc_end2end_test_config config);
65 extern void default_host_pre_init(void);
66 extern void disappearing_server(grpc_end2end_test_config config);
67 extern void disappearing_server_pre_init(void);
68 extern void empty_batch(grpc_end2end_test_config config);
69 extern void empty_batch_pre_init(void);
70 extern void filter_call_init_fails(grpc_end2end_test_config config);
71 extern void filter_call_init_fails_pre_init(void);
72 extern void filter_causes_close(grpc_end2end_test_config config);
73 extern void filter_causes_close_pre_init(void);
74 extern void filter_context(grpc_end2end_test_config config);
75 extern void filter_context_pre_init(void);
76 extern void filter_latency(grpc_end2end_test_config config);
77 extern void filter_latency_pre_init(void);
78 extern void filter_status_code(grpc_end2end_test_config config);
79 extern void filter_status_code_pre_init(void);
80 extern void graceful_server_shutdown(grpc_end2end_test_config config);
81 extern void graceful_server_shutdown_pre_init(void);
82 extern void high_initial_seqno(grpc_end2end_test_config config);
83 extern void high_initial_seqno_pre_init(void);
84 extern void hpack_size(grpc_end2end_test_config config);
85 extern void hpack_size_pre_init(void);
86 extern void idempotent_request(grpc_end2end_test_config config);
87 extern void idempotent_request_pre_init(void);
88 extern void invoke_large_request(grpc_end2end_test_config config);
89 extern void invoke_large_request_pre_init(void);
90 extern void keepalive_timeout(grpc_end2end_test_config config);
91 extern void keepalive_timeout_pre_init(void);
92 extern void large_metadata(grpc_end2end_test_config config);
93 extern void large_metadata_pre_init(void);
94 extern void max_concurrent_streams(grpc_end2end_test_config config);
95 extern void max_concurrent_streams_pre_init(void);
96 extern void max_connection_age(grpc_end2end_test_config config);
97 extern void max_connection_age_pre_init(void);
98 extern void max_connection_idle(grpc_end2end_test_config config);
99 extern void max_connection_idle_pre_init(void);
100 extern void max_message_length(grpc_end2end_test_config config);
101 extern void max_message_length_pre_init(void);
102 extern void negative_deadline(grpc_end2end_test_config config);
103 extern void negative_deadline_pre_init(void);
104 extern void no_error_on_hotpath(grpc_end2end_test_config config);
105 extern void no_error_on_hotpath_pre_init(void);
106 extern void no_logging(grpc_end2end_test_config config);
107 extern void no_logging_pre_init(void);
108 extern void no_op(grpc_end2end_test_config config);
109 extern void no_op_pre_init(void);
110 extern void payload(grpc_end2end_test_config config);
111 extern void payload_pre_init(void);
112 extern void ping(grpc_end2end_test_config config);
113 extern void ping_pre_init(void);
114 extern void ping_pong_streaming(grpc_end2end_test_config config);
115 extern void ping_pong_streaming_pre_init(void);
116 extern void proxy_auth(grpc_end2end_test_config config);
117 extern void proxy_auth_pre_init(void);
118 extern void registered_call(grpc_end2end_test_config config);
119 extern void registered_call_pre_init(void);
120 extern void request_with_flags(grpc_end2end_test_config config);
121 extern void request_with_flags_pre_init(void);
122 extern void request_with_payload(grpc_end2end_test_config config);
123 extern void request_with_payload_pre_init(void);
124 extern void resource_quota_server(grpc_end2end_test_config config);
125 extern void resource_quota_server_pre_init(void);
126 extern void retry(grpc_end2end_test_config config);
127 extern void retry_pre_init(void);
128 extern void retry_cancellation(grpc_end2end_test_config config);
129 extern void retry_cancellation_pre_init(void);
130 extern void retry_disabled(grpc_end2end_test_config config);
131 extern void retry_disabled_pre_init(void);
132 extern void retry_exceeds_buffer_size_in_initial_batch(grpc_end2end_test_config config);
133 extern void retry_exceeds_buffer_size_in_initial_batch_pre_init(void);
134 extern void retry_exceeds_buffer_size_in_subsequent_batch(grpc_end2end_test_config config);
135 extern void retry_exceeds_buffer_size_in_subsequent_batch_pre_init(void);
136 extern void retry_non_retriable_status(grpc_end2end_test_config config);
137 extern void retry_non_retriable_status_pre_init(void);
138 extern void retry_non_retriable_status_before_recv_trailing_metadata_started(grpc_end2end_test_config config);
139 extern void retry_non_retriable_status_before_recv_trailing_metadata_started_pre_init(void);
140 extern void retry_recv_initial_metadata(grpc_end2end_test_config config);
141 extern void retry_recv_initial_metadata_pre_init(void);
142 extern void retry_recv_message(grpc_end2end_test_config config);
143 extern void retry_recv_message_pre_init(void);
144 extern void retry_server_pushback_delay(grpc_end2end_test_config config);
145 extern void retry_server_pushback_delay_pre_init(void);
146 extern void retry_server_pushback_disabled(grpc_end2end_test_config config);
147 extern void retry_server_pushback_disabled_pre_init(void);
148 extern void retry_streaming(grpc_end2end_test_config config);
149 extern void retry_streaming_pre_init(void);
150 extern void retry_streaming_after_commit(grpc_end2end_test_config config);
151 extern void retry_streaming_after_commit_pre_init(void);
152 extern void retry_streaming_succeeds_before_replay_finished(grpc_end2end_test_config config);
153 extern void retry_streaming_succeeds_before_replay_finished_pre_init(void);
154 extern void retry_throttled(grpc_end2end_test_config config);
155 extern void retry_throttled_pre_init(void);
156 extern void retry_too_many_attempts(grpc_end2end_test_config config);
157 extern void retry_too_many_attempts_pre_init(void);
158 extern void server_finishes_request(grpc_end2end_test_config config);
159 extern void server_finishes_request_pre_init(void);
160 extern void shutdown_finishes_calls(grpc_end2end_test_config config);
161 extern void shutdown_finishes_calls_pre_init(void);
162 extern void shutdown_finishes_tags(grpc_end2end_test_config config);
163 extern void shutdown_finishes_tags_pre_init(void);
164 extern void simple_cacheable_request(grpc_end2end_test_config config);
165 extern void simple_cacheable_request_pre_init(void);
166 extern void simple_delayed_request(grpc_end2end_test_config config);
167 extern void simple_delayed_request_pre_init(void);
168 extern void simple_metadata(grpc_end2end_test_config config);
169 extern void simple_metadata_pre_init(void);
170 extern void simple_request(grpc_end2end_test_config config);
171 extern void simple_request_pre_init(void);
172 extern void stream_compression_compressed_payload(grpc_end2end_test_config config);
173 extern void stream_compression_compressed_payload_pre_init(void);
174 extern void stream_compression_payload(grpc_end2end_test_config config);
175 extern void stream_compression_payload_pre_init(void);
176 extern void stream_compression_ping_pong_streaming(grpc_end2end_test_config config);
177 extern void stream_compression_ping_pong_streaming_pre_init(void);
178 extern void streaming_error_response(grpc_end2end_test_config config);
179 extern void streaming_error_response_pre_init(void);
180 extern void trailing_metadata(grpc_end2end_test_config config);
181 extern void trailing_metadata_pre_init(void);
182 extern void workaround_cronet_compression(grpc_end2end_test_config config);
183 extern void workaround_cronet_compression_pre_init(void);
184 extern void write_buffering(grpc_end2end_test_config config);
185 extern void write_buffering_pre_init(void);
186 extern void write_buffering_at_end(grpc_end2end_test_config config);
187 extern void write_buffering_at_end_pre_init(void);
188
grpc_end2end_tests_pre_init(void)189 void grpc_end2end_tests_pre_init(void) {
190 GPR_ASSERT(!g_pre_init_called);
191 g_pre_init_called = true;
192 authority_not_supported_pre_init();
193 bad_hostname_pre_init();
194 bad_ping_pre_init();
195 binary_metadata_pre_init();
196 call_host_override_pre_init();
197 cancel_after_accept_pre_init();
198 cancel_after_client_done_pre_init();
199 cancel_after_invoke_pre_init();
200 cancel_after_round_trip_pre_init();
201 cancel_before_invoke_pre_init();
202 cancel_in_a_vacuum_pre_init();
203 cancel_with_status_pre_init();
204 channelz_pre_init();
205 client_streaming_pre_init();
206 compressed_payload_pre_init();
207 connectivity_pre_init();
208 default_host_pre_init();
209 disappearing_server_pre_init();
210 empty_batch_pre_init();
211 filter_call_init_fails_pre_init();
212 filter_causes_close_pre_init();
213 filter_context_pre_init();
214 filter_latency_pre_init();
215 filter_status_code_pre_init();
216 graceful_server_shutdown_pre_init();
217 high_initial_seqno_pre_init();
218 hpack_size_pre_init();
219 idempotent_request_pre_init();
220 invoke_large_request_pre_init();
221 keepalive_timeout_pre_init();
222 large_metadata_pre_init();
223 max_concurrent_streams_pre_init();
224 max_connection_age_pre_init();
225 max_connection_idle_pre_init();
226 max_message_length_pre_init();
227 negative_deadline_pre_init();
228 no_error_on_hotpath_pre_init();
229 no_logging_pre_init();
230 no_op_pre_init();
231 payload_pre_init();
232 ping_pre_init();
233 ping_pong_streaming_pre_init();
234 proxy_auth_pre_init();
235 registered_call_pre_init();
236 request_with_flags_pre_init();
237 request_with_payload_pre_init();
238 resource_quota_server_pre_init();
239 retry_pre_init();
240 retry_cancellation_pre_init();
241 retry_disabled_pre_init();
242 retry_exceeds_buffer_size_in_initial_batch_pre_init();
243 retry_exceeds_buffer_size_in_subsequent_batch_pre_init();
244 retry_non_retriable_status_pre_init();
245 retry_non_retriable_status_before_recv_trailing_metadata_started_pre_init();
246 retry_recv_initial_metadata_pre_init();
247 retry_recv_message_pre_init();
248 retry_server_pushback_delay_pre_init();
249 retry_server_pushback_disabled_pre_init();
250 retry_streaming_pre_init();
251 retry_streaming_after_commit_pre_init();
252 retry_streaming_succeeds_before_replay_finished_pre_init();
253 retry_throttled_pre_init();
254 retry_too_many_attempts_pre_init();
255 server_finishes_request_pre_init();
256 shutdown_finishes_calls_pre_init();
257 shutdown_finishes_tags_pre_init();
258 simple_cacheable_request_pre_init();
259 simple_delayed_request_pre_init();
260 simple_metadata_pre_init();
261 simple_request_pre_init();
262 stream_compression_compressed_payload_pre_init();
263 stream_compression_payload_pre_init();
264 stream_compression_ping_pong_streaming_pre_init();
265 streaming_error_response_pre_init();
266 trailing_metadata_pre_init();
267 workaround_cronet_compression_pre_init();
268 write_buffering_pre_init();
269 write_buffering_at_end_pre_init();
270 }
271
grpc_end2end_tests(int argc,char ** argv,grpc_end2end_test_config config)272 void grpc_end2end_tests(int argc, char **argv,
273 grpc_end2end_test_config config) {
274 int i;
275
276 GPR_ASSERT(g_pre_init_called);
277
278 if (argc <= 1) {
279 authority_not_supported(config);
280 bad_hostname(config);
281 bad_ping(config);
282 binary_metadata(config);
283 call_host_override(config);
284 cancel_after_accept(config);
285 cancel_after_client_done(config);
286 cancel_after_invoke(config);
287 cancel_after_round_trip(config);
288 cancel_before_invoke(config);
289 cancel_in_a_vacuum(config);
290 cancel_with_status(config);
291 channelz(config);
292 client_streaming(config);
293 compressed_payload(config);
294 connectivity(config);
295 default_host(config);
296 disappearing_server(config);
297 empty_batch(config);
298 filter_call_init_fails(config);
299 filter_causes_close(config);
300 filter_context(config);
301 filter_latency(config);
302 filter_status_code(config);
303 graceful_server_shutdown(config);
304 high_initial_seqno(config);
305 hpack_size(config);
306 idempotent_request(config);
307 invoke_large_request(config);
308 keepalive_timeout(config);
309 large_metadata(config);
310 max_concurrent_streams(config);
311 max_connection_age(config);
312 max_connection_idle(config);
313 max_message_length(config);
314 negative_deadline(config);
315 no_error_on_hotpath(config);
316 no_logging(config);
317 no_op(config);
318 payload(config);
319 ping(config);
320 ping_pong_streaming(config);
321 proxy_auth(config);
322 registered_call(config);
323 request_with_flags(config);
324 request_with_payload(config);
325 resource_quota_server(config);
326 retry(config);
327 retry_cancellation(config);
328 retry_disabled(config);
329 retry_exceeds_buffer_size_in_initial_batch(config);
330 retry_exceeds_buffer_size_in_subsequent_batch(config);
331 retry_non_retriable_status(config);
332 retry_non_retriable_status_before_recv_trailing_metadata_started(config);
333 retry_recv_initial_metadata(config);
334 retry_recv_message(config);
335 retry_server_pushback_delay(config);
336 retry_server_pushback_disabled(config);
337 retry_streaming(config);
338 retry_streaming_after_commit(config);
339 retry_streaming_succeeds_before_replay_finished(config);
340 retry_throttled(config);
341 retry_too_many_attempts(config);
342 server_finishes_request(config);
343 shutdown_finishes_calls(config);
344 shutdown_finishes_tags(config);
345 simple_cacheable_request(config);
346 simple_delayed_request(config);
347 simple_metadata(config);
348 simple_request(config);
349 stream_compression_compressed_payload(config);
350 stream_compression_payload(config);
351 stream_compression_ping_pong_streaming(config);
352 streaming_error_response(config);
353 trailing_metadata(config);
354 workaround_cronet_compression(config);
355 write_buffering(config);
356 write_buffering_at_end(config);
357 return;
358 }
359
360 for (i = 1; i < argc; i++) {
361 if (0 == strcmp("authority_not_supported", argv[i])) {
362 authority_not_supported(config);
363 continue;
364 }
365 if (0 == strcmp("bad_hostname", argv[i])) {
366 bad_hostname(config);
367 continue;
368 }
369 if (0 == strcmp("bad_ping", argv[i])) {
370 bad_ping(config);
371 continue;
372 }
373 if (0 == strcmp("binary_metadata", argv[i])) {
374 binary_metadata(config);
375 continue;
376 }
377 if (0 == strcmp("call_host_override", argv[i])) {
378 call_host_override(config);
379 continue;
380 }
381 if (0 == strcmp("cancel_after_accept", argv[i])) {
382 cancel_after_accept(config);
383 continue;
384 }
385 if (0 == strcmp("cancel_after_client_done", argv[i])) {
386 cancel_after_client_done(config);
387 continue;
388 }
389 if (0 == strcmp("cancel_after_invoke", argv[i])) {
390 cancel_after_invoke(config);
391 continue;
392 }
393 if (0 == strcmp("cancel_after_round_trip", argv[i])) {
394 cancel_after_round_trip(config);
395 continue;
396 }
397 if (0 == strcmp("cancel_before_invoke", argv[i])) {
398 cancel_before_invoke(config);
399 continue;
400 }
401 if (0 == strcmp("cancel_in_a_vacuum", argv[i])) {
402 cancel_in_a_vacuum(config);
403 continue;
404 }
405 if (0 == strcmp("cancel_with_status", argv[i])) {
406 cancel_with_status(config);
407 continue;
408 }
409 if (0 == strcmp("channelz", argv[i])) {
410 channelz(config);
411 continue;
412 }
413 if (0 == strcmp("client_streaming", argv[i])) {
414 client_streaming(config);
415 continue;
416 }
417 if (0 == strcmp("compressed_payload", argv[i])) {
418 compressed_payload(config);
419 continue;
420 }
421 if (0 == strcmp("connectivity", argv[i])) {
422 connectivity(config);
423 continue;
424 }
425 if (0 == strcmp("default_host", argv[i])) {
426 default_host(config);
427 continue;
428 }
429 if (0 == strcmp("disappearing_server", argv[i])) {
430 disappearing_server(config);
431 continue;
432 }
433 if (0 == strcmp("empty_batch", argv[i])) {
434 empty_batch(config);
435 continue;
436 }
437 if (0 == strcmp("filter_call_init_fails", argv[i])) {
438 filter_call_init_fails(config);
439 continue;
440 }
441 if (0 == strcmp("filter_causes_close", argv[i])) {
442 filter_causes_close(config);
443 continue;
444 }
445 if (0 == strcmp("filter_context", argv[i])) {
446 filter_context(config);
447 continue;
448 }
449 if (0 == strcmp("filter_latency", argv[i])) {
450 filter_latency(config);
451 continue;
452 }
453 if (0 == strcmp("filter_status_code", argv[i])) {
454 filter_status_code(config);
455 continue;
456 }
457 if (0 == strcmp("graceful_server_shutdown", argv[i])) {
458 graceful_server_shutdown(config);
459 continue;
460 }
461 if (0 == strcmp("high_initial_seqno", argv[i])) {
462 high_initial_seqno(config);
463 continue;
464 }
465 if (0 == strcmp("hpack_size", argv[i])) {
466 hpack_size(config);
467 continue;
468 }
469 if (0 == strcmp("idempotent_request", argv[i])) {
470 idempotent_request(config);
471 continue;
472 }
473 if (0 == strcmp("invoke_large_request", argv[i])) {
474 invoke_large_request(config);
475 continue;
476 }
477 if (0 == strcmp("keepalive_timeout", argv[i])) {
478 keepalive_timeout(config);
479 continue;
480 }
481 if (0 == strcmp("large_metadata", argv[i])) {
482 large_metadata(config);
483 continue;
484 }
485 if (0 == strcmp("max_concurrent_streams", argv[i])) {
486 max_concurrent_streams(config);
487 continue;
488 }
489 if (0 == strcmp("max_connection_age", argv[i])) {
490 max_connection_age(config);
491 continue;
492 }
493 if (0 == strcmp("max_connection_idle", argv[i])) {
494 max_connection_idle(config);
495 continue;
496 }
497 if (0 == strcmp("max_message_length", argv[i])) {
498 max_message_length(config);
499 continue;
500 }
501 if (0 == strcmp("negative_deadline", argv[i])) {
502 negative_deadline(config);
503 continue;
504 }
505 if (0 == strcmp("no_error_on_hotpath", argv[i])) {
506 no_error_on_hotpath(config);
507 continue;
508 }
509 if (0 == strcmp("no_logging", argv[i])) {
510 no_logging(config);
511 continue;
512 }
513 if (0 == strcmp("no_op", argv[i])) {
514 no_op(config);
515 continue;
516 }
517 if (0 == strcmp("payload", argv[i])) {
518 payload(config);
519 continue;
520 }
521 if (0 == strcmp("ping", argv[i])) {
522 ping(config);
523 continue;
524 }
525 if (0 == strcmp("ping_pong_streaming", argv[i])) {
526 ping_pong_streaming(config);
527 continue;
528 }
529 if (0 == strcmp("proxy_auth", argv[i])) {
530 proxy_auth(config);
531 continue;
532 }
533 if (0 == strcmp("registered_call", argv[i])) {
534 registered_call(config);
535 continue;
536 }
537 if (0 == strcmp("request_with_flags", argv[i])) {
538 request_with_flags(config);
539 continue;
540 }
541 if (0 == strcmp("request_with_payload", argv[i])) {
542 request_with_payload(config);
543 continue;
544 }
545 if (0 == strcmp("resource_quota_server", argv[i])) {
546 resource_quota_server(config);
547 continue;
548 }
549 if (0 == strcmp("retry", argv[i])) {
550 retry(config);
551 continue;
552 }
553 if (0 == strcmp("retry_cancellation", argv[i])) {
554 retry_cancellation(config);
555 continue;
556 }
557 if (0 == strcmp("retry_disabled", argv[i])) {
558 retry_disabled(config);
559 continue;
560 }
561 if (0 == strcmp("retry_exceeds_buffer_size_in_initial_batch", argv[i])) {
562 retry_exceeds_buffer_size_in_initial_batch(config);
563 continue;
564 }
565 if (0 == strcmp("retry_exceeds_buffer_size_in_subsequent_batch", argv[i])) {
566 retry_exceeds_buffer_size_in_subsequent_batch(config);
567 continue;
568 }
569 if (0 == strcmp("retry_non_retriable_status", argv[i])) {
570 retry_non_retriable_status(config);
571 continue;
572 }
573 if (0 == strcmp("retry_non_retriable_status_before_recv_trailing_metadata_started", argv[i])) {
574 retry_non_retriable_status_before_recv_trailing_metadata_started(config);
575 continue;
576 }
577 if (0 == strcmp("retry_recv_initial_metadata", argv[i])) {
578 retry_recv_initial_metadata(config);
579 continue;
580 }
581 if (0 == strcmp("retry_recv_message", argv[i])) {
582 retry_recv_message(config);
583 continue;
584 }
585 if (0 == strcmp("retry_server_pushback_delay", argv[i])) {
586 retry_server_pushback_delay(config);
587 continue;
588 }
589 if (0 == strcmp("retry_server_pushback_disabled", argv[i])) {
590 retry_server_pushback_disabled(config);
591 continue;
592 }
593 if (0 == strcmp("retry_streaming", argv[i])) {
594 retry_streaming(config);
595 continue;
596 }
597 if (0 == strcmp("retry_streaming_after_commit", argv[i])) {
598 retry_streaming_after_commit(config);
599 continue;
600 }
601 if (0 == strcmp("retry_streaming_succeeds_before_replay_finished", argv[i])) {
602 retry_streaming_succeeds_before_replay_finished(config);
603 continue;
604 }
605 if (0 == strcmp("retry_throttled", argv[i])) {
606 retry_throttled(config);
607 continue;
608 }
609 if (0 == strcmp("retry_too_many_attempts", argv[i])) {
610 retry_too_many_attempts(config);
611 continue;
612 }
613 if (0 == strcmp("server_finishes_request", argv[i])) {
614 server_finishes_request(config);
615 continue;
616 }
617 if (0 == strcmp("shutdown_finishes_calls", argv[i])) {
618 shutdown_finishes_calls(config);
619 continue;
620 }
621 if (0 == strcmp("shutdown_finishes_tags", argv[i])) {
622 shutdown_finishes_tags(config);
623 continue;
624 }
625 if (0 == strcmp("simple_cacheable_request", argv[i])) {
626 simple_cacheable_request(config);
627 continue;
628 }
629 if (0 == strcmp("simple_delayed_request", argv[i])) {
630 simple_delayed_request(config);
631 continue;
632 }
633 if (0 == strcmp("simple_metadata", argv[i])) {
634 simple_metadata(config);
635 continue;
636 }
637 if (0 == strcmp("simple_request", argv[i])) {
638 simple_request(config);
639 continue;
640 }
641 if (0 == strcmp("stream_compression_compressed_payload", argv[i])) {
642 stream_compression_compressed_payload(config);
643 continue;
644 }
645 if (0 == strcmp("stream_compression_payload", argv[i])) {
646 stream_compression_payload(config);
647 continue;
648 }
649 if (0 == strcmp("stream_compression_ping_pong_streaming", argv[i])) {
650 stream_compression_ping_pong_streaming(config);
651 continue;
652 }
653 if (0 == strcmp("streaming_error_response", argv[i])) {
654 streaming_error_response(config);
655 continue;
656 }
657 if (0 == strcmp("trailing_metadata", argv[i])) {
658 trailing_metadata(config);
659 continue;
660 }
661 if (0 == strcmp("workaround_cronet_compression", argv[i])) {
662 workaround_cronet_compression(config);
663 continue;
664 }
665 if (0 == strcmp("write_buffering", argv[i])) {
666 write_buffering(config);
667 continue;
668 }
669 if (0 == strcmp("write_buffering_at_end", argv[i])) {
670 write_buffering_at_end(config);
671 continue;
672 }
673 gpr_log(GPR_DEBUG, "not a test: '%s'", argv[i]);
674 abort();
675 }
676 }
677