Classes | Namespaces | Macros | Functions | Variables
test/core/util/test_config.h File Reference
#include <grpc/support/time.h>
#include "test/core/util/build.h"
Include dependency graph for test/core/util/test_config.h:

Go to the source code of this file.

Classes

class  grpc::testing::TestEnvironment
 
class  grpc::testing::TestGrpcScope
 

Namespaces

 grpc
 
 grpc::testing
 

Macros

#define GRPC_TEST_PICK_PORT
 

Functions

void grpc_test_init (int *argc, char **argv)
 
int64_t grpc_test_slowdown_factor ()
 
gpr_timespec grpc_timeout_milliseconds_to_deadline (int64_t time_ms)
 
gpr_timespec grpc_timeout_seconds_to_deadline (int64_t time_s)
 
bool grpc_wait_until_shutdown (int64_t time_s)
 

Variables

int64_t g_fixture_slowdown_factor
 
int64_t g_poller_slowdown_factor
 

Macro Definition Documentation

◆ GRPC_TEST_PICK_PORT

#define GRPC_TEST_PICK_PORT

Definition at line 39 of file test/core/util/test_config.h.

Function Documentation

◆ grpc_test_init()

void grpc_test_init ( int argc,
char **  argv 
)

Definition at line 135 of file test/core/util/test_config.cc.

◆ grpc_test_slowdown_factor()

int64_t grpc_test_slowdown_factor ( )

Definition at line 76 of file test/core/util/test_config.cc.

◆ grpc_timeout_milliseconds_to_deadline()

gpr_timespec grpc_timeout_milliseconds_to_deadline ( int64_t  time_ms)

Definition at line 89 of file test/core/util/test_config.cc.

◆ grpc_timeout_seconds_to_deadline()

gpr_timespec grpc_timeout_seconds_to_deadline ( int64_t  time_s)

Definition at line 81 of file test/core/util/test_config.cc.

◆ grpc_wait_until_shutdown()

bool grpc_wait_until_shutdown ( int64_t  time_s)

Definition at line 151 of file test/core/util/test_config.cc.

Variable Documentation

◆ g_fixture_slowdown_factor

int64_t g_fixture_slowdown_factor

Definition at line 47 of file test/core/util/test_config.cc.

◆ g_poller_slowdown_factor

int64_t g_poller_slowdown_factor

Definition at line 48 of file test/core/util/test_config.cc.



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