Functions | Variables
init_test.cc File Reference
#include "src/core/lib/surface/init.h"
#include <gtest/gtest.h>
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include "src/core/lib/iomgr/exec_ctx.h"
#include "test/core/util/test_config.h"
Include dependency graph for init_test.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
static void plugin_destroy (void)
 
static void plugin_init (void)
 
static bool plugin_is_destroyed (void)
 
static bool plugin_is_intialized (void)
 
 TEST (Init, blocking)
 
 TEST (Init, mixed)
 
 TEST (Init, mixed_with_thread)
 
 TEST (Init, plugin)
 
 TEST (Init, repeatedly)
 
 TEST (Init, repeatedly_blocking)
 
 TEST (Init, shutdown_with_thread)
 
 TEST (Init, test)
 
static void test (int rounds)
 
static void test_blocking (int rounds)
 

Variables

static int g_plugin_state
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 140 of file init_test.cc.

◆ plugin_destroy()

static void plugin_destroy ( void  )
static

Definition at line 33 of file init_test.cc.

◆ plugin_init()

static void plugin_init ( void  )
static

Definition at line 32 of file init_test.cc.

◆ plugin_is_destroyed()

static bool plugin_is_destroyed ( void  )
static

Definition at line 35 of file init_test.cc.

◆ plugin_is_intialized()

static bool plugin_is_intialized ( void  )
static

Definition at line 34 of file init_test.cc.

◆ TEST() [1/8]

TEST ( Init  ,
blocking   
)

Definition at line 65 of file init_test.cc.

◆ TEST() [2/8]

TEST ( Init  ,
mixed   
)

Definition at line 82 of file init_test.cc.

◆ TEST() [3/8]

TEST ( Init  ,
mixed_with_thread   
)

Definition at line 92 of file init_test.cc.

◆ TEST() [4/8]

TEST ( Init  ,
plugin   
)

Definition at line 107 of file init_test.cc.

◆ TEST() [5/8]

TEST ( Init  ,
repeatedly   
)

Definition at line 115 of file init_test.cc.

◆ TEST() [6/8]

TEST ( Init  ,
repeatedly_blocking   
)

Definition at line 128 of file init_test.cc.

◆ TEST() [7/8]

TEST ( Init  ,
shutdown_with_thread   
)

Definition at line 71 of file init_test.cc.

◆ TEST() [8/8]

TEST ( Init  ,
test   
)

Definition at line 48 of file init_test.cc.

◆ test()

static void test ( int  rounds)
static

Definition at line 37 of file init_test.cc.

◆ test_blocking()

static void test_blocking ( int  rounds)
static

Definition at line 54 of file init_test.cc.

Variable Documentation

◆ g_plugin_state

int g_plugin_state
static

Definition at line 30 of file init_test.cc.



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