Functions
global_config_test.cc File Reference
#include "src/core/lib/gprpp/global_config.h"
#include <stdio.h>
#include <string.h>
#include <gtest/gtest.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/gpr/env.h"
#include "src/core/lib/gprpp/memory.h"
Include dependency graph for global_config_test.cc:

Go to the source code of this file.

Functions

 GPR_GLOBAL_CONFIG_DECLARE_BOOL (bool_var)
 
 GPR_GLOBAL_CONFIG_DEFINE_BOOL (bool_var, false, "")
 
 GPR_GLOBAL_CONFIG_DEFINE_INT32 (int32_var, 0, "")
 
 GPR_GLOBAL_CONFIG_DEFINE_STRING (string_var, "", "")
 
int main (int argc, char **argv)
 
 TEST (GlobalConfigTest, BoolTest)
 
 TEST (GlobalConfigTest, Int32Test)
 
 TEST (GlobalConfigTest, StringTest)
 

Function Documentation

◆ GPR_GLOBAL_CONFIG_DECLARE_BOOL()

GPR_GLOBAL_CONFIG_DECLARE_BOOL ( bool_var  )

◆ GPR_GLOBAL_CONFIG_DEFINE_BOOL()

GPR_GLOBAL_CONFIG_DEFINE_BOOL ( bool_var  ,
false  ,
""   
)

◆ GPR_GLOBAL_CONFIG_DEFINE_INT32()

GPR_GLOBAL_CONFIG_DEFINE_INT32 ( int32_var  ,
,
""   
)

◆ GPR_GLOBAL_CONFIG_DEFINE_STRING()

GPR_GLOBAL_CONFIG_DEFINE_STRING ( string_var  ,
""  ,
""   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 62 of file global_config_test.cc.

◆ TEST() [1/3]

TEST ( GlobalConfigTest  ,
BoolTest   
)

Definition at line 38 of file global_config_test.cc.

◆ TEST() [2/3]

TEST ( GlobalConfigTest  ,
Int32Test   
)

Definition at line 44 of file global_config_test.cc.

◆ TEST() [3/3]

TEST ( GlobalConfigTest  ,
StringTest   
)

Definition at line 50 of file global_config_test.cc.



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