Classes | Macros | Typedefs | Functions | Variables
num_external_connectivity_watchers_test.cc File Reference
#include <grpc/grpc.h>
#include <grpc/grpc_security.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/host_port.h"
#include "src/core/lib/gprpp/memory.h"
#include "src/core/lib/gprpp/thd.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/iomgr/load_file.h"
#include "test/core/util/port.h"
#include "test/core/util/test_config.h"
Include dependency graph for num_external_connectivity_watchers_test.cc:

Go to the source code of this file.

Classes

struct  test_fixture
 

Macros

#define CA_CERT_PATH   "src/core/tsi/test_creds/ca.pem"
 

Typedefs

typedef struct test_fixture test_fixture
 

Functions

static void channel_idle_poll_for_timeout (grpc_channel *channel, grpc_completion_queue *cq)
 
static void channel_idle_start_watch (grpc_channel *channel, grpc_completion_queue *cq)
 
static grpc_channelinsecure_test_create_channel (const char *addr)
 
int main (int argc, char **argv)
 
static void run_channel_shutdown_before_timeout_test (const test_fixture *fixture)
 
static void run_timeouts_test (const test_fixture *fixture)
 
static grpc_channelsecure_test_create_channel (const char *addr)
 

Variables

static const test_fixture insecure_test
 
static size_t next_tag = 1
 
static const test_fixture secure_test
 

Macro Definition Documentation

◆ CA_CERT_PATH

#define CA_CERT_PATH   "src/core/tsi/test_creds/ca.pem"

Definition at line 33 of file num_external_connectivity_watchers_test.cc.

Typedef Documentation

◆ test_fixture

typedef struct test_fixture test_fixture

Function Documentation

◆ channel_idle_poll_for_timeout()

static void channel_idle_poll_for_timeout ( grpc_channel channel,
grpc_completion_queue cq 
)
static

Definition at line 55 of file num_external_connectivity_watchers_test.cc.

◆ channel_idle_start_watch()

static void channel_idle_start_watch ( grpc_channel channel,
grpc_completion_queue cq 
)
static

Definition at line 42 of file num_external_connectivity_watchers_test.cc.

◆ insecure_test_create_channel()

static grpc_channel* insecure_test_create_channel ( const char *  addr)
static

Definition at line 159 of file num_external_connectivity_watchers_test.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 200 of file num_external_connectivity_watchers_test.cc.

◆ run_channel_shutdown_before_timeout_test()

static void run_channel_shutdown_before_timeout_test ( const test_fixture fixture)
static

Definition at line 120 of file num_external_connectivity_watchers_test.cc.

◆ run_timeouts_test()

static void run_timeouts_test ( const test_fixture fixture)
static

Definition at line 70 of file num_external_connectivity_watchers_test.cc.

◆ secure_test_create_channel()

static grpc_channel* secure_test_create_channel ( const char *  addr)
static

Definition at line 171 of file num_external_connectivity_watchers_test.cc.

Variable Documentation

◆ insecure_test

const test_fixture insecure_test
static
Initial value:
= {
"insecure",
}

Definition at line 166 of file num_external_connectivity_watchers_test.cc.

◆ next_tag

size_t next_tag = 1
static

Definition at line 40 of file num_external_connectivity_watchers_test.cc.

◆ secure_test

const test_fixture secure_test
static
Initial value:
= {
"secure",
}

Definition at line 195 of file num_external_connectivity_watchers_test.cc.

insecure_test_create_channel
static grpc_channel * insecure_test_create_channel(const char *addr)
Definition: num_external_connectivity_watchers_test.cc:159
secure_test_create_channel
static grpc_channel * secure_test_create_channel(const char *addr)
Definition: num_external_connectivity_watchers_test.cc:171


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:24