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