Go to the documentation of this file.
22 #include <grpc/byte_buffer.h>
32 static void*
tag(
intptr_t t) {
return reinterpret_cast<void*
>(t); }
35 const char* test_name,
40 f =
config.create_fixture(client_args, server_args);
41 config.init_server(&
f, server_args);
42 config.init_client(&
f, client_args);
62 if (!
f->server)
return;
74 if (!
f->client)
return;
static void end_test(grpc_end2end_test_fixture *f)
gpr_timespec grpc_timeout_seconds_to_deadline(int64_t time_s)
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)
static void test_invoke_empty_body(grpc_end2end_test_config config)
static gpr_timespec n_seconds_from_now(int n)
static void empty_batch_body(grpc_end2end_test_config, grpc_end2end_test_fixture f)
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
static void * tag(intptr_t t)
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_client(grpc_end2end_test_fixture *f)
static gpr_timespec five_seconds_from_now(void)
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)
static void drain_cq(grpc_completion_queue *cq)
#define GRPC_PROPAGATE_DEFAULTS
void empty_batch(grpc_end2end_test_config config)
GRPCAPI void grpc_completion_queue_destroy(grpc_completion_queue *cq)
static void shutdown_server(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 empty_batch_pre_init(void)
grpc_completion_type type
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
Author(s):
autogenerated on Thu Mar 13 2025 02:59:15