Macros | Functions | Variables
load_file_test.cc File Reference
#include "src/core/lib/iomgr/load_file.h"
#include <stdio.h>
#include <string.h>
#include <grpc/grpc.h>
#include <grpc/slice.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/gpr/tmpfile.h"
#include "test/core/util/test_config.h"
Include dependency graph for load_file_test.cc:

Go to the source code of this file.

Macros

#define LOG_TEST_NAME(x)   gpr_log(GPR_INFO, "%s", x)
 

Functions

int main (int argc, char **argv)
 
static void test_load_big_file (void)
 
static void test_load_empty_file (void)
 
static void test_load_failure (void)
 
static void test_load_small_file (void)
 

Variables

static const char prefix [] = "file_test"
 

Macro Definition Documentation

◆ LOG_TEST_NAME

#define LOG_TEST_NAME (   x)    gpr_log(GPR_INFO, "%s", x)

Definition at line 33 of file load_file_test.cc.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 155 of file load_file_test.cc.

◆ test_load_big_file()

static void test_load_big_file ( void  )
static

Definition at line 121 of file load_file_test.cc.

◆ test_load_empty_file()

static void test_load_empty_file ( void  )
static

Definition at line 37 of file load_file_test.cc.

◆ test_load_failure()

static void test_load_failure ( void  )
static

Definition at line 66 of file load_file_test.cc.

◆ test_load_small_file()

static void test_load_small_file ( void  )
static

Definition at line 88 of file load_file_test.cc.

Variable Documentation

◆ prefix

const char prefix[] = "file_test"
static

Definition at line 35 of file load_file_test.cc.



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