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,
42 f =
config.create_fixture(client_args, server_args);
43 config.init_server(&
f, server_args);
44 config.init_client(&
f, client_args);
64 if (!
f->server)
return;
76 if (!
f->client)
return;
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, cancellation_mode mode, grpc_channel_args *client_args, grpc_channel_args *server_args)
static void shutdown_server(grpc_end2end_test_fixture *f)
static gpr_timespec five_seconds_from_now(void)
GRPCAPI void grpc_call_unref(grpc_call *call)
void cancel_in_a_vacuum_pre_init(void)
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 end_test(grpc_end2end_test_fixture *f)
GPRAPI grpc_slice grpc_slice_from_static_string(const char *source)
cq_verifier * cq_verifier_create(grpc_completion_queue *cq)
void cancel_in_a_vacuum(grpc_end2end_test_config config)
static void shutdown_client(grpc_end2end_test_fixture *f)
GRPCAPI void grpc_server_destroy(grpc_server *server)
static void test_cancel_in_a_vacuum(grpc_end2end_test_config config, cancellation_mode mode)
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)
#define GPR_ARRAY_SIZE(array)
#define GRPC_PROPAGATE_DEFAULTS
static const cancellation_mode cancellation_modes[]
GRPCAPI void grpc_completion_queue_destroy(grpc_completion_queue *cq)
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)
GRPCAPI void grpc_completion_queue_shutdown(grpc_completion_queue *cq)
GRPCAPI void grpc_channel_destroy(grpc_channel *channel)
static void * tag(intptr_t t)
grpc_completion_type type
static gpr_timespec n_seconds_from_now(int n)
static grpc_completion_queue * cq
static void drain_cq(grpc_completion_queue *cq)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:52