Go to the documentation of this file.
23 #include <grpc/byte_buffer.h>
33 static void*
tag(
intptr_t t) {
return reinterpret_cast<void*
>(t); }
36 const char* test_name,
41 f =
config.create_fixture(client_args, server_args);
42 config.init_server(&
f, server_args);
43 config.init_client(&
f, client_args);
63 if (!
f->server)
return;
75 if (!
f->client)
return;
165 for (
i = 1;
i <= 4;
i++) {
GPRAPI void grpc_slice_unref(grpc_slice s)
void negative_deadline_pre_init(void)
grpc_metadata_array * trailing_metadata
gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s)
grpc_status_code * status
static void end_test(grpc_end2end_test_fixture *f)
return memset(p, 0, total)
struct grpc_op::grpc_op_data::grpc_op_send_initial_metadata send_initial_metadata
static void simple_request_body(grpc_end2end_test_config, grpc_end2end_test_fixture f, size_t num_ops)
@ GRPC_STATUS_DEADLINE_EXCEEDED
static grpc_end2end_test_fixture begin_test(grpc_end2end_test_config config, const char *test_name, grpc_channel_args *client_args, grpc_channel_args *server_args)
union grpc_op::grpc_op_data data
GRPCAPI void grpc_metadata_array_destroy(grpc_metadata_array *array)
static gpr_timespec n_seconds_from_now(int n)
static grpc_metadata_array trailing_metadata_recv
static gpr_timespec five_seconds_from_now(void)
@ GRPC_OP_RECV_INITIAL_METADATA
GRPCAPI void grpc_call_unref(grpc_call *call)
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
void cq_verifier_destroy(cq_verifier *v)
struct grpc_call grpc_call
GPRAPI grpc_slice grpc_slice_from_static_string(const char *source)
cq_verifier * cq_verifier_create(grpc_completion_queue *cq)
GRPCAPI void grpc_server_destroy(grpc_server *server)
#define CQ_EXPECT_COMPLETION(v, tag, success)
static void shutdown_server(grpc_end2end_test_fixture *f)
static void * tag(intptr_t t)
grpc_slice * status_details
static grpc_slice details
GRPCAPI grpc_call * grpc_channel_create_call(grpc_channel *channel, grpc_call *parent_call, uint32_t propagation_mask, grpc_completion_queue *completion_queue, grpc_slice method, const grpc_slice *host, gpr_timespec deadline, void *reserved)
GPRAPI gpr_timespec gpr_inf_past(gpr_clock_type type)
#define GRPC_PROPAGATE_DEFAULTS
GRPCAPI void grpc_completion_queue_destroy(grpc_completion_queue *cq)
@ GRPC_OP_SEND_INITIAL_METADATA
static void drain_cq(grpc_completion_queue *cq)
struct grpc_op::grpc_op_data::grpc_op_recv_status_on_client recv_status_on_client
static void shutdown_client(grpc_end2end_test_fixture *f)
GRPCAPI void grpc_server_shutdown_and_notify(grpc_server *server, grpc_completion_queue *cq, void *tag)
GRPCAPI grpc_event grpc_completion_queue_next(grpc_completion_queue *cq, gpr_timespec deadline, void *reserved)
void cq_verify(cq_verifier *v, int timeout_sec)
GRPCAPI void grpc_completion_queue_shutdown(grpc_completion_queue *cq)
GRPCAPI void grpc_channel_destroy(grpc_channel *channel)
void negative_deadline(grpc_end2end_test_config config)
struct grpc_op::grpc_op_data::grpc_op_recv_initial_metadata recv_initial_metadata
grpc_completion_type type
@ GRPC_OP_RECV_STATUS_ON_CLIENT
static void test_invoke_simple_request(grpc_end2end_test_config config, size_t num_ops)
static grpc_metadata_array initial_metadata_recv
GRPCAPI grpc_call_error grpc_call_start_batch(grpc_call *call, const grpc_op *ops, size_t nops, void *tag, void *reserved)
static grpc_completion_queue * cq
@ GRPC_OP_SEND_CLOSE_FROM_CLIENT
GRPCAPI void grpc_metadata_array_init(grpc_metadata_array *array)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:31