Classes | Functions | Variables
TestHelper.h File Reference
#import <XCTest/XCTest.h>
#import <map>
#import <sstream>
#import <grpc/support/time.h>
#import <grpcpp/impl/codegen/config.h>
#import <grpcpp/impl/codegen/string_ref.h>
#import <grpcpp/support/client_interceptor.h>
#import "src/proto/grpc/testing/echo.grpc.pb.h"
Include dependency graph for TestHelper.h:

Go to the source code of this file.

Classes

class  PhonyInterceptor
 
class  PhonyInterceptorFactory
 
class  TestServiceImpl
 

Functions

bool CheckIsLocalhost (const std::string &addr)
 
void configureCronet (void)
 
std::string ToString (const grpc::string_ref &r)
 

Variables

const char *const kDebugInfoTrailerKey = "debug-info-bin"
 
const int kServerDefaultResponseStreamsToSend = 3
 
const char *const kServerFinishAfterNReads = "server_finish_after_n_reads"
 
const char *const kServerResponseStreamsToSend = "server_responses_to_send"
 

Function Documentation

◆ CheckIsLocalhost()

bool CheckIsLocalhost ( const std::string &  addr)

◆ configureCronet()

void configureCronet ( void  )

◆ ToString()

std::string ToString ( const grpc::string_ref r)

Definition at line 24 of file string_ref_helper.cc.

Variable Documentation

◆ kDebugInfoTrailerKey

const char* const kDebugInfoTrailerKey = "debug-info-bin"

Definition at line 37 of file TestHelper.h.

◆ kServerDefaultResponseStreamsToSend

const int kServerDefaultResponseStreamsToSend = 3

Definition at line 36 of file TestHelper.h.

◆ kServerFinishAfterNReads

const char* const kServerFinishAfterNReads = "server_finish_after_n_reads"

Definition at line 34 of file TestHelper.h.

◆ kServerResponseStreamsToSend

const char* const kServerResponseStreamsToSend = "server_responses_to_send"

Definition at line 35 of file TestHelper.h.



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