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