Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
grpc::testing Namespace Reference

Namespaces

 internal
 
 interop
 

Classes

class  AddAnotherFunctor
 
class  AdditionalMetadataInterceptor
 
class  AdditionalMetadataInterceptorFactory
 
class  AddSelfFunctor
 
class  AdminServicesTest
 
class  AdsServiceImpl
 
class  AsyncCertificateVerifier
 
class  AsyncClient
 
class  AsyncClientEnd2endTest
 
class  AsyncQpsServerTest
 
class  AsyncStreamingFromClientClient
 
class  AsyncStreamingFromServerClient
 
class  AsyncStreamingPingPongClient
 
class  AsyncUnaryClient
 
class  BaseFixture
 
class  BenchmarkCallbackServiceImpl
 
class  BenchmarkServiceImpl
 
class  BidiClient
 
class  BlockingCounter
 
class  CallbackClient
 
struct  CallbackClientRpcContext
 
class  CallbackServer
 
class  CallbackStreamingClient
 
class  CallbackStreamingPingPongClient
 
class  CallbackStreamingPingPongClientImpl
 
class  CallbackStreamingPingPongReactor
 
class  CallbackStreamingTestService
 
class  CallbackTestServiceImpl
 
class  CallbackUnaryClient
 
class  ChannelArgumentsTest
 
class  ChannelTestPeer
 A test-only class to access private members of Channel. More...
 
class  CliCall
 
class  CliCallTest
 
class  CliCredentials
 
class  Client
 
class  Client_AddMetadata
 
class  ClientContextTestPeer
 A test-only class to access private members and methods of ClientContext. More...
 
struct  ClientData
 
class  ClientImpl
 
class  ClientRequestCreator
 
class  ClientRequestCreator< ByteBuffer >
 
class  ClientRequestCreator< SimpleRequest >
 
class  ClientRpcContext
 
class  ClientRpcContextGenericStreamingImpl
 
class  ClientRpcContextStreamingFromClientImpl
 
class  ClientRpcContextStreamingFromServerImpl
 
class  ClientRpcContextStreamingPingPongImpl
 
class  ClientRpcContextUnaryImpl
 
class  CommonStressTest
 
class  CommonStressTestAsyncServer
 
class  CommonStressTestInproc
 
class  CommonStressTestInsecure
 
class  CommonStressTestSyncServer
 
class  CommonStressTestSyncServerLowThreadCount
 
class  CompositeReporter
 
class  ConnectionAttemptInjector
 
class  ConnectionDelayInjector
 
class  ConnectionHoldInjector
 
class  CountedService
 
class  CredentialsProvider
 
class  CredentialTypeProvider
 
class  DefaultReactorTestPeer
 
class  EchoTestServiceImpl
 
class  EchoTestServiceStreamingImpl
 
class  End2endTest
 
class  EndpointPairFixture
 
class  ErrorPrinter
 
class  ExpDist
 
class  FixtureConfiguration
 
struct  fullstack_secure_fixture_data
 
class  FullstackFixture
 
class  GenericAsyncStreamingClient
 
class  GprLogReporter
 
struct  grpc_end2end_test_config_wrapper
 
class  GrpcToolTest
 
class  H2SslCertTest
 
class  HealthCheckServiceImpl
 
class  Histogram
 
class  HistogramEntry
 
class  HistogramTest
 
class  Http2Client
 
class  InProcess
 
class  InProcessCHTTP2
 
class  InProcessCHTTP2WithExplicitStats
 
class  InsertPluginServerBuilderOption
 
class  InterarrivalTimer
 
class  InteropClient
 
class  InteropClientContextInspector
 
class  InteropServerContextInspector
 
class  JsonReporter
 
class  LrsServiceImpl
 
class  MetadataAndStatusLoggerInterceptor
 
class  MetadataAndStatusLoggerInterceptorFactory
 
class  MetricsServiceImpl
 
class  MinStackConfiguration
 
class  MinStackize
 
class  MockClientAsyncReader
 
class  MockClientAsyncReaderWriter
 
class  MockClientAsyncResponseReader
 TODO: We do not support mocking an async RPC for now. More...
 
class  MockClientAsyncWriter
 
class  MockClientReader
 
class  MockClientReaderWriter
 
class  MockClientWriter
 
class  MockServerReader
 
class  MockServerReaderWriter
 
class  MockServerWriter
 
class  MyCallData
 
class  MyChannelData
 
class  NoOpHttpFilter
 
class  NoOpMutator
 
class  NullInterceptorFactory
 
class  PhonyInterceptor
 
class  PhonyInterceptorFactory
 
class  PhonyTag
 
class  ProtoFileParser
 
class  ProtoServerReflectionTest
 
class  QpsGauge
 
class  QpsWorker
 
class  RandomAsciiMetadata
 
class  RandomBinaryMetadata
 
class  RandomDistInterface
 
class  Reporter
 
class  RlsServiceImpl
 
class  RpcReporter
 
class  ScopedProfile
 
class  Server
 
class  Server_AddInitialMetadata
 
class  ServerBuilderPluginTest
 
class  ServerContextTestSpouse
 A test-only class to access private members and methods of ServerContext. More...
 
struct  ServerData
 
class  ServiceImpl
 
class  ShortWorkFunctorForAdd
 
class  ShutdownCallback
 
class  ShutdownTest
 
class  Snapshot
 
class  SockPair
 
struct  StaticTestPluginInitializer
 
class  StressTestInteropClient
 
class  SuicideFunctorForAdd
 
class  SyncCertificateVerifier
 
class  SynchronousClient
 
class  SynchronousServer
 
class  SynchronousStreamingBothWaysClient
 
class  SynchronousStreamingClient
 
class  SynchronousStreamingFromClientClient
 
class  SynchronousStreamingFromServerClient
 
class  SynchronousStreamingPingPongClient
 
class  SynchronousUnaryClient
 
class  TagCallback
 
class  TCP
 
class  TestEnvironment
 
class  TestGrpcScope
 
class  TestInterceptor
 
class  TestInterceptorFactory
 
class  TestMultipleServiceImpl
 
class  TestServerBuilderPlugin
 
class  TestServiceImpl
 
class  TestServiceSignaller
 
class  UDS
 
class  Verifier
 
class  WeightedRandomTestSelector
 
class  WorkerServiceImpl
 
class  XdsEnd2endTest
 
class  XdsTestType
 

Typedefs

typedef std::function< std::shared_ptr< Channel >void)> ChannelCreationFunc
 
typedef std::function< void(const InteropClientContextInspector &, const SimpleRequest *, const SimpleResponse *)> CheckerFn
 
typedef ::testing::Types< CommonStressTestSyncServer< CommonStressTestInsecure< TestServiceImpl > >, CommonStressTestSyncServer< CommonStressTestInproc< TestServiceImpl, false > >, CommonStressTestSyncServerLowThreadCount< CommonStressTestInproc< TestServiceImpl, true > >, CommonStressTestAsyncServer< CommonStressTestInsecure< grpc::testing::EchoTestService::AsyncService > >, CommonStressTestAsyncServer< CommonStressTestInproc< grpc::testing::EchoTestService::AsyncService, false > > > CommonTypes
 
typedef struct grpc::testing::grpc_end2end_test_config_wrapper grpc_end2end_test_config_wrapper
 
typedef std::function< bool(const std::string &)> GrpcToolOutputCallback
 
typedef MinStackize< InProcessMinInProcess
 
typedef MinStackize< InProcessCHTTP2MinInProcessCHTTP2
 
typedef MinStackize< SockPairMinSockPair
 
typedef MinStackize< TCPMinTCP
 
typedef MinStackize< UDSMinUDS
 
using RlsService = CountedService< grpc::lookup::v1::RouteLookupService::Service >
 
typedef std::unordered_map< int, int64_tStatusHistogram
 
using TestServiceImpl = TestMultipleServiceImpl< grpc::testing::EchoTestService::Service >
 

Enumerations

enum  certtype { NONE, SELF_SIGNED, SIGNED, BAD_CERT_PAIR }
 
enum  ServerTryCancelRequestPhase { DO_NOT_CANCEL = 0, CANCEL_BEFORE_PROCESSING, CANCEL_DURING_PROCESSING, CANCEL_AFTER_PROCESSING }
 
enum  test_result { SUCCESS, FAIL }
 
enum  TestCaseType {
  UNKNOWN_TEST = -1, EMPTY_UNARY, LARGE_UNARY, CLIENT_COMPRESSED_UNARY,
  CLIENT_COMPRESSED_STREAMING, CLIENT_STREAMING, SERVER_STREAMING, SERVER_COMPRESSED_UNARY,
  SERVER_COMPRESSED_STREAMING, SLOW_CONSUMER, HALF_DUPLEX, PING_PONG,
  CANCEL_AFTER_BEGIN, CANCEL_AFTER_FIRST_RESPONSE, TIMEOUT_ON_SLEEPING_SERVER, EMPTY_STREAM,
  STATUS_CODE_AND_MESSAGE, CUSTOM_METADATA
}
 
enum  transport_security { INSECURE = 0, TLS, ALTS }
 

Functions

 Apply (StreamingPingPongArgs)
 
 Apply (SweepSizesArgs)
 
static void ApplyCommonChannelArguments (ChannelArguments *c)
 
static void ApplyCommonServerBuilderConfig (ServerBuilder *b)
 
 Args ({0, 0})
 
template<class T , class F >
double average (const T &container, F functor)
 
 BENCHMARK (BM_Alarm_Tag_Immediate)
 
 BENCHMARK (BM_ByteBuffer_Copy) -> Ranges(
 
 BENCHMARK (BM_ByteBufferReader_Next) -> Ranges(
 
 BENCHMARK (BM_ByteBufferReader_Peek) -> Ranges(
 
 BENCHMARK (BM_Callback_CQ_Pass1Core)
 
 BENCHMARK (BM_Callback_CQ_Pass1CoreHeapCompletion)
 
 BENCHMARK (BM_Cq_Throughput) -> ThreadRange(1, 16) ->UseRealTime()
 
 BENCHMARK (BM_CreateDestroyCore)
 
 BENCHMARK (BM_CreateDestroyCpp)
 
 BENCHMARK (BM_CreateDestroyCpp2)
 
 BENCHMARK (BM_EmptyCore)
 
 BENCHMARK (BM_Pass1Core)
 
 BENCHMARK (BM_Pass1Cpp)
 
 BENCHMARK (BM_Pluck1Core)
 
 BENCHMARK (BM_SpikyLoad) -> Arg(1) ->Arg(2) ->Arg(4) ->Arg(8) ->Arg(16)
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongMsgSizeArgs)
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackBidiStreaming, MinInProcess, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongMsgSizeArgs)
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, NoOpMutator) -> Apply(SweepSizesArgs)
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_CallbackUnaryPingPong, MinInProcess, NoOpMutator, NoOpMutator) -> Apply(SweepSizesArgs)
 
 BENCHMARK_TEMPLATE (BM_PumpStreamClientToServer, MinInProcess) -> Arg(0)
 
 BENCHMARK_TEMPLATE (BM_PumpStreamClientToServer, MinInProcessCHTTP2) -> Arg(0)
 
 BENCHMARK_TEMPLATE (BM_PumpStreamClientToServer, MinTCP) -> Arg(0)
 
 BENCHMARK_TEMPLATE (BM_PumpStreamClientToServer, MinUDS) -> Arg(0)
 
 BENCHMARK_TEMPLATE (BM_PumpStreamServerToClient, MinInProcess) -> Arg(0)
 
 BENCHMARK_TEMPLATE (BM_PumpStreamServerToClient, MinInProcessCHTTP2) -> Arg(0)
 
 BENCHMARK_TEMPLATE (BM_PumpStreamServerToClient, MinTCP) -> Arg(0)
 
 BENCHMARK_TEMPLATE (BM_PumpStreamServerToClient, MinUDS) -> Arg(0)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPong, InProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongArgs)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPong, MinInProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongArgs)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPongMsgs, InProcess, NoOpMutator, NoOpMutator) -> Range(0, 128 *1024 *1024)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPongMsgs, InProcessCHTTP2, NoOpMutator, NoOpMutator) -> Range(0, 128 *1024 *1024)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPongMsgs, MinInProcess, NoOpMutator, NoOpMutator) -> Range(0, 128 *1024 *1024)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPongMsgs, MinInProcessCHTTP2, NoOpMutator, NoOpMutator) -> Range(0, 128 *1024 *1024)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPongWithCoalescingApi, InProcess, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongWithCoalescingApiArgs)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPongWithCoalescingApi, InProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongWithCoalescingApiArgs)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPongWithCoalescingApi, MinInProcess, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongWithCoalescingApiArgs)
 
 BENCHMARK_TEMPLATE (BM_StreamingPingPongWithCoalescingApi, MinInProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(StreamingPingPongWithCoalescingApiArgs)
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcess, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >, NoOpMutator) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, InProcessCHTTP2, NoOpMutator, Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >) -> Args(
 
 BENCHMARK_TEMPLATE (BM_UnaryPingPong, MinInProcessCHTTP2, NoOpMutator, NoOpMutator) -> Apply(SweepSizesArgs)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 1) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 4) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddAnother, 8) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 1) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 128) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 16) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 2048) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 32) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 4) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 512) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 64) -> RangePair(524288, 524288, 1, 1024)
 
 BENCHMARK_TEMPLATE (ThreadPoolAddSelf, 8) -> RangePair(524288, 524288, 1, 1024)
 
static std::unique_ptr< BenchmarkService::Stub > BenchmarkStubCreator (const std::shared_ptr< Channel > &ch)
 
static std::unique_ptr< BenchmarkService::Stub > BenchmarkStubCreator (const std::shared_ptr< Channel > &ch)
 
static std::unique_ptr< BenchmarkService::Stub > BenchmarkStubCreator (const std::shared_ptr< Channel > &ch)
 
static double BinarySearch (Scenario *scenario, double targeted_cpu_load, double low, double high, const std::map< std::string, std::string > &per_worker_credential_types, bool *success)
 
std::shared_ptr< ServerCredentialsBinderServerCredentials ()
 
static void BM_Alarm_Tag_Immediate (benchmark::State &state)
 
static void BM_ByteBuffer_Copy (benchmark::State &state)
 
static void BM_ByteBufferReader_Next (benchmark::State &state)
 
static void BM_ByteBufferReader_Peek (benchmark::State &state)
 
static void BM_Callback_CQ_Pass1Core (benchmark::State &state)
 
static void BM_Callback_CQ_Pass1CoreHeapCompletion (benchmark::State &state)
 
template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void BM_CallbackBidiStreaming (benchmark::State &state)
 
template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void BM_CallbackUnaryPingPong (benchmark::State &state)
 
static void BM_Cq_Throughput (benchmark::State &state)
 
static void BM_CreateDestroyCore (benchmark::State &state)
 
static void BM_CreateDestroyCpp (benchmark::State &state)
 
static void BM_CreateDestroyCpp2 (benchmark::State &state)
 
static void BM_EmptyCore (benchmark::State &state)
 
static void BM_Pass1Core (benchmark::State &state)
 
static void BM_Pass1Cpp (benchmark::State &state)
 
static void BM_Pluck1Core (benchmark::State &state)
 
template<class Fixture >
static void BM_PumpStreamClientToServer (benchmark::State &state)
 
template<class Fixture >
static void BM_PumpStreamServerToClient (benchmark::State &state)
 
static void BM_SpikyLoad (benchmark::State &state)
 
template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void BM_StreamingPingPong (benchmark::State &state)
 
template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void BM_StreamingPingPongMsgs (benchmark::State &state)
 
template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void BM_StreamingPingPongWithCoalescingApi (benchmark::State &state)
 
static void BM_ThreadPoolExternalAdd (benchmark::State &state)
 
template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void BM_UnaryPingPong (benchmark::State &state)
 
grpc::lookup::v1::RouteLookupRequest BuildRlsRequest (std::map< std::string, std::string > key, grpc::lookup::v1::RouteLookupRequest::Reason reason, const char *stale_header_data)
 
grpc::lookup::v1::RouteLookupResponse BuildRlsResponse (std::vector< std::string > targets, const char *header_data)
 
bool CheckMetadata (const std::multimap< grpc::string_ref, grpc::string_ref > &map, const string &key, const string &value)
 
bool CheckMetadata (const std::multimap< std::string, std::string > &map, const string &key, const string &value)
 
static grpc_end2end_test_fixture chttp2_create_fixture_secure_fullstack (grpc_channel_args *, grpc_channel_args *)
 
static void chttp2_init_client_secure_fullstack (grpc_end2end_test_fixture *f, grpc_channel_args *client_args, grpc_channel_credentials *creds)
 
static void chttp2_init_server_secure_fullstack (grpc_end2end_test_fixture *f, grpc_channel_args *server_args, grpc_server_credentials *server_creds)
 
void chttp2_tear_down_secure_fullstack (grpc_end2end_test_fixture *f)
 
bool ClientMetadataContains (const ServerContext &context, const grpc::string_ref &key, const grpc::string_ref &value)
 
static double CliPollCount (const ClientStats &s)
 
static std::map< std::string, std::string > ConstructPerWorkerCredentialTypesMap ()
 
static int Cores (int n)
 
static void cq_done_cb (void *, grpc_cq_completion *cq_completion)
 
std::unique_ptr< ClientCreateAsyncClient (const ClientConfig &config)
 
std::unique_ptr< ServerCreateAsyncGenericServer (const ServerConfig &config)
 
std::unique_ptr< ServerCreateAsyncServer (const ServerConfig &config)
 
std::shared_ptr< grpc::ChannelCreateBinderChannel (std::unique_ptr< grpc_binder::Binder > endpoint_binder)
 
std::unique_ptr< ClientCreateCallbackClient (const ClientConfig &config)
 
std::unique_ptr< ServerCreateCallbackServer (const ServerConfig &config)
 
std::shared_ptr< ChannelCreateChannelForTestCase (const std::string &test_case, std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >> interceptor_creators)
 
static std::unique_ptr< ClientCreateClient (const ClientConfig &config)
 
std::unique_ptr< ClientCreateGenericAsyncStreamingClient (const ClientConfig &config)
 
std::shared_ptr< ServerCredentialsCreateInteropServerCredentials ()
 
std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface > > CreatePhonyClientInterceptors ()
 
std::unique_ptr< ServerBuilderCreateQpsServerBuilder ()
 
static std::unique_ptr< ServerCreateServer (const ServerConfig &config)
 
std::unique_ptr< ClientCreateSynchronousClient (const ClientConfig &config)
 
std::unique_ptr< ServerCreateSynchronousServer (const ServerConfig &config)
 
std::unique_ptr< ServerBuilderPluginCreateTestServerBuilderPlugin ()
 
std::string DescribeMethod (const grpc::protobuf::MethodDescriptor *method)
 
std::string DescribeService (const grpc::protobuf::ServiceDescriptor *service)
 
std::string DescribeServiceList (std::vector< std::string > service_list, grpc::protobuf::DescriptorPool &desc_pool)
 
int detag (void *p)
 
static void DoneWithCompletionOnHeap (void *, grpc_cq_completion *completion)
 
static void DoneWithCompletionOnStack (void *, grpc_cq_completion *)
 
static void drain_cq (grpc_completion_queue *cq)
 
static void Drainer (ClientReaderWriter< EchoRequest, EchoResponse > *reader)
 
static void end_test (grpc_end2end_test_fixture *f)
 
 EXPECT_EQ (grpc::StatusCode::INVALID_ARGUMENT, grpc::experimental::StsCredentialsOptionsFromJson(invalid_json, &options) .error_code())
 
 EXPECT_EQ (options.resource, "")
 
 EXPECT_EQ (options.subject_token_path, "subject_token_path")
 
 EXPECT_EQ (options.subject_token_type, "subject_token_type")
 
 EXPECT_EQ (options.token_exchange_service_uri, "https://foo/exchange")
 
 EXPECT_TRUE (grpc::experimental::StsCredentialsOptionsFromJson(minimum_valid_json, &options) .ok())
 
static int fail_server_auth_check (grpc_channel_args *server_args)
 
static int FindExpectedBucket (int i, int j)
 
static void FinishClients (const std::vector< ClientData > &clients, const ClientArgs &client_mark)
 
static void FinishServers (const std::vector< ServerData > &servers, const ServerArgs &server_mark)
 
static gpr_timespec five_seconds_time (void)
 
static std::unique_ptr< grpc::GenericStubGenericStubCreator (const std::shared_ptr< Channel > &ch)
 
static std::string get_host (const std::string &worker)
 
static deque< string > get_workers (const string &env_name)
 
std::vector< string > GetAllCredentialsTypeList ()
 
static double GetCpuLoad (Scenario *scenario, double offered_load, const std::map< std::string, std::string > &per_worker_credential_types, bool *success)
 
CredentialsProviderGetCredentialsProvider ()
 
std::string GetCredType (const std::string &worker_addr, const std::map< std::string, std::string > &per_worker_credential_types, const std::string &credential_type)
 
std::string GetOauth2AccessToken ()
 
std::shared_ptr< ReporterGetReporter ()
 
std::string GetServiceAccountJsonKey ()
 
int GrpcToolMainLib (int argc, const char **argv, const CliCredentials &cred, const GrpcToolOutputCallback &callback)
 
static std::shared_ptr< ReporterInitBenchmarkReporters ()
 
void InitTest (int *argc, char ***argv, bool remove_flags)
 
 INSTANTIATE_TEST_SUITE_P (End2EndShutdown, ShutdownTest, ::testing::ValuesIn(GetAllCredentialsTypeList()))
 
 INSTANTIATE_TEST_SUITE_P (H2SslCert, H2SslCertTest, ::testing::ValuesIn(configs))
 
 INSTANTIATE_TEST_SUITE_P (HistogramTestCases, HistogramTest, ::testing::Range< int >(0, GRPC_STATS_HISTOGRAM_COUNT))
 
 INSTANTIATE_TEST_SUITE_P (ServerBuilderPluginTest, ServerBuilderPluginTest, ::testing::Values(false, true))
 
void InvokeResolverComponentTestsRunner (std::string test_runner_bin_path, const std::string &test_bin_path, const std::string &dns_server_bin_path, const std::string &records_config_path, const std::string &dns_resolver_bin_path, const std::string &tcp_connect_bin_path)
 
static bool IsSuccess (const Status &s)
 
static void log_metadata_entry (const std::string &prefix, const grpc::string_ref &key, const grpc::string_ref &value)
 
static grpc_event_engine_vtable make_engine_vtable (const char *name)
 
void MakeAsyncCQBidiStreamingCall (const std::shared_ptr< Channel > &)
 
void MakeAsyncCQCall (const std::shared_ptr< Channel > &channel)
 
void MakeAsyncCQClientStreamingCall (const std::shared_ptr< Channel > &)
 
void MakeAsyncCQServerStreamingCall (const std::shared_ptr< Channel > &channel)
 
void MakeBidiStreamingCall (const std::shared_ptr< Channel > &channel)
 
void MakeCall (const std::shared_ptr< Channel > &channel, const StubOptions &options)
 
void MakeCallbackCall (const std::shared_ptr< Channel > &channel)
 
void MakeClientStreamingCall (const std::shared_ptr< Channel > &channel)
 
void MakeServerStreamingCall (const std::shared_ptr< Channel > &channel)
 
template<class F >
auto MakeVector (size_t length, F f) -> std::vector< decltype(f())>
 
void MergeStatusHistogram (const StatusHistogram &from, StatusHistogram *to)
 
static gpr_timespec n_seconds_time (int n)
 
bool ParseFromByteBuffer (ByteBuffer *buffer, grpc::protobuf::Message *message)
 
void ParseJson (const std::string &json, const std::string &type, GRPC_CUSTOM_MESSAGE *msg)
 
static void pollset_destroy (grpc_pollset *ps)
 
static void pollset_init (grpc_pollset *ps, gpr_mu **mu)
 
static grpc_error_handle pollset_kick (grpc_pollset *, grpc_pollset_worker *)
 
static void pollset_shutdown (grpc_pollset *, grpc_closure *closure)
 
static grpc_error_handle pollset_work (grpc_pollset *ps, grpc_pollset_worker **, grpc_core::Timestamp deadline)
 
static void postprocess_scenario_result (ScenarioResult *result)
 
static void process_auth_failure (void *state, grpc_auth_context *, const grpc_metadata *, size_t, grpc_process_auth_metadata_done_cb cb, void *user_data)
 
static Status ProcessGenericRPC (const PayloadConfig &payload_config, ByteBuffer *request, ByteBuffer *response)
 
static Status ProcessSimpleRPC (const PayloadConfig &, SimpleRequest *request, SimpleResponse *response)
 
static bool QpsDriver ()
 
 Range (0, 128 *1024 *1024)
 
 RangePair (524288, 524288, 1, 1024)
 
static void ReceiveFinalStatusFromClients (const std::vector< ClientData > &clients, Histogram &merged_latencies, std::unordered_map< int, int64_t > &merged_statuses, ScenarioResult &result)
 
static void ReceiveFinalStatusFromServer (const std::vector< ServerData > &servers, ScenarioResult &result)
 
static void RegisterBenchmarkService (ServerBuilder *builder, BenchmarkService::AsyncService *service)
 
static void RegisterGenericService (ServerBuilder *builder, grpc::AsyncGenericService *service)
 
static std::unique_ptr< ScenarioResult > RunAndReport (const Scenario &scenario, const std::map< std::string, std::string > &per_worker_credential_types, bool *success)
 
static void RunQPS ()
 
bool RunQuit (const std::string &credential_type, const std::map< std::string, std::string > &per_worker_credential_types)
 
std::unique_ptr< ScenarioResult > RunScenario (const ClientConfig &initial_client_config, size_t num_clients, const ServerConfig &initial_server_config, size_t num_servers, int warmup_seconds, int benchmark_seconds, int spawn_local_worker_count, const std::string &qps_server_target_override, const std::string &credential_type, const std::map< std::string, std::string > &per_worker_credential_types, bool run_inproc, int32_t median_latency_collection_interval_millis)
 
std::unique_ptr< ScenarioResult > RunScenario (const grpc::testing::ClientConfig &client_config, size_t num_clients, const grpc::testing::ServerConfig &server_config, size_t num_servers, int warmup_seconds, int benchmark_seconds, int spawn_local_worker_count, const std::string &qps_server_target_override, const std::string &credential_type, const std::map< std::string, std::string > &per_worker_credential_types, bool run_inproc, int32_t median_latency_collection_interval_millis)
 
void RunServer ()
 
static void RunSynchronousUnaryPingPong ()
 
static void RunSynchronousUnaryPingPong ()
 
static double SearchOfferedLoad (double initial_offered_load, double targeted_cpu_load, Scenario *scenario, const std::map< std::string, std::string > &per_worker_credential_types, bool *success)
 
void SendCallbackUnaryPingPong (benchmark::State *state, ClientContext *cli_ctx, EchoRequest *request, EchoResponse *response, EchoTestService::Stub *stub_, bool *done, std::mutex *mu, std::condition_variable *cv)
 
static void SendRpc (grpc::testing::EchoTestService::Stub *stub, int num_rpcs, bool allow_exhaustion, gpr_atm *errors)
 
std::string SerializeJson (const GRPC_CUSTOM_MESSAGE &msg, const std::string &type)
 
std::unique_ptr< ByteBufferSerializeToByteBuffer (grpc::protobuf::Message *message)
 
bool SerializeToByteBufferInPlace (grpc::protobuf::Message *message, ByteBuffer *buffer)
 
static double ServerIdleCpuTime (const ServerStats &s)
 
bool ServerInitialMetadataContains (const ClientContext &context, const grpc::string_ref &key, const grpc::string_ref &value)
 
static double ServerSystemTime (const ServerStats &s)
 
static double ServerTotalCpuTime (const ServerStats &s)
 
static double ServerUserTime (const ServerStats &s)
 
static double ServerWallTime (const ServerStats &s)
 
void SetCreateQpsServerBuilderFunc (std::function< std::unique_ptr< ServerBuilder >()> create_qps_server_builder)
 
void SetCredentialsProvider (CredentialsProvider *provider)
 
static void setup ()
 
static void shutdown_and_destroy (grpc_completion_queue *cc)
 
static void shutdown_client (grpc_end2end_test_fixture *f)
 
static void shutdown_server (grpc_end2end_test_fixture *f)
 
static void ShutdownClients (const std::vector< ClientData > &clients, ScenarioResult &result)
 
static void ShutdownServers (const std::vector< ServerData > &servers, ScenarioResult &result)
 
static void simple_request_body (grpc_end2end_test_fixture f, test_result expected_result)
 
static void StreamingPingPongArgs (benchmark::internal::Benchmark *b)
 
static void StreamingPingPongMsgSizeArgs (benchmark::internal::Benchmark *b)
 
static void StreamingPingPongMsgsNumberArgs (benchmark::internal::Benchmark *b)
 
static void StreamingPingPongWithCoalescingApiArgs (benchmark::internal::Benchmark *b)
 
template<class T , class F >
double sum (const T &container, F functor)
 
std::string SummarizeMethod (const grpc::protobuf::MethodDescriptor *method)
 
std::string SummarizeService (const grpc::protobuf::ServiceDescriptor *service)
 
static double SvrPollCount (const ServerStats &s)
 
static void SweepSizesArgs (benchmark::internal::Benchmark *b)
 
static void SweepSizesArgs (benchmark::internal::Benchmark *b)
 
static double SystemTime (const ClientStats &s)
 
void * tag (int i)
 
static void * tag (intptr_t t)
 
static void * tag (intptr_t x)
 
static void * tag (intptr_t x)
 
static void * tag (intptr_t x)
 
static void * tag (intptr_t x)
 
static void teardown ()
 
 TEST (ChannelFilterTest, RegisterChannelFilter)
 
 TEST (ClientContextTestPeerTest, AddServerInitialMetadata)
 
 TEST (ClientContextTestPeerTest, GetSendInitialMetadata)
 
 TEST (ServerContextTestSpouseTest, ClientMetadataHandle)
 
 TEST (ServerContextTestSpouseTest, InitialMetadata)
 
 TEST (ServerContextTestSpouseTest, ServerMetadataHandle)
 
 TEST (StatsTest, IncCounters)
 
 TEST (StatsTest, IncSpecificCounter)
 
 TEST (WritesPerRpcTest, UnaryPingPong)
 
 TEST_F (AdminServicesTest, ValidateRegisteredServices)
 
 TEST_F (ChannelArgumentsTest, SetInt)
 
 TEST_F (ChannelArgumentsTest, SetPointer)
 
 TEST_F (ChannelArgumentsTest, SetSocketMutator)
 
 TEST_F (ChannelArgumentsTest, SetString)
 
 TEST_F (ChannelArgumentsTest, SetUserAgentPrefix)
 
 TEST_F (CliCallTest, SimpleRpc)
 
 TEST_F (End2endTest, StreamingThroughput)
 
 TEST_F (GrpcToolTest, CallCommand)
 
 TEST_F (GrpcToolTest, CallCommandBatch)
 
 TEST_F (GrpcToolTest, CallCommandBatchJsonInput)
 
 TEST_F (GrpcToolTest, CallCommandBatchJsonInputWithBadRequest)
 
 TEST_F (GrpcToolTest, CallCommandBatchWithBadRequest)
 
 TEST_F (GrpcToolTest, CallCommandBidiStream)
 
 TEST_F (GrpcToolTest, CallCommandBidiStreamWithBadRequest)
 
 TEST_F (GrpcToolTest, CallCommandJsonInput)
 
 TEST_F (GrpcToolTest, CallCommandRequestStream)
 
 TEST_F (GrpcToolTest, CallCommandRequestStreamJsonInput)
 
 TEST_F (GrpcToolTest, CallCommandRequestStreamWithBadRequest)
 
 TEST_F (GrpcToolTest, CallCommandRequestStreamWithBadRequestJsonInput)
 
 TEST_F (GrpcToolTest, CallCommandResponseStream)
 
 TEST_F (GrpcToolTest, CallCommandWithBadMetadata)
 
 TEST_F (GrpcToolTest, CallCommandWithDefaultTimeoutValue)
 
 TEST_F (GrpcToolTest, CallCommandWithMetadata)
 
 TEST_F (GrpcToolTest, CallCommandWithNegativeTimeoutValue)
 
 TEST_F (GrpcToolTest, CallCommandWithTimeoutDeadlineSet)
 
 TEST_F (GrpcToolTest, CallCommandWithTimeoutDeadlineUpperBound)
 
 TEST_F (GrpcToolTest, ConfiguringDefaultServiceConfig)
 
 TEST_F (GrpcToolTest, HelpCommand)
 
 TEST_F (GrpcToolTest, InvalidCommand)
 
 TEST_F (GrpcToolTest, ListCommand)
 
 TEST_F (GrpcToolTest, ListCommand_OverrideSslHostName)
 
 TEST_F (GrpcToolTest, ListOneMethod)
 
 TEST_F (GrpcToolTest, ListOneService)
 
 TEST_F (GrpcToolTest, NoCommand)
 
 TEST_F (GrpcToolTest, ParseCommand)
 
 TEST_F (GrpcToolTest, ParseCommandJsonFormat)
 
 TEST_F (GrpcToolTest, TooFewArguments)
 
 TEST_F (GrpcToolTest, TooManyArguments)
 
 TEST_F (GrpcToolTest, TypeCommand)
 
 TEST_F (GrpcToolTest, TypeNotFound)
 
 TEST_F (ProtoServerReflectionTest, CheckResponseWithLocalDescriptorPool)
 
 TEST_P (H2SslCertTest, SimpleRequestBody)
 
 TEST_P (HistogramTest, IncHistogram)
 
 TEST_P (ServerBuilderPluginTest, PluginWithoutServiceTest)
 
 TEST_P (ServerBuilderPluginTest, PluginWithServiceTest)
 
 TEST_P (ShutdownTest, ShutdownTest)
 
template<int kConcurrentFunctor>
static void ThreadPoolAddAnother (benchmark::State &state)
 
template<int kConcurrentFunctor>
static void ThreadPoolAddSelf (benchmark::State &state)
 
std::string ToString (const grpc::string_ref &r)
 
 TYPED_TEST (AsyncClientEnd2endTest, ThreadStress)
 
 TYPED_TEST (End2endTest, ThreadStress)
 
 TYPED_TEST_SUITE (AsyncClientEnd2endTest, CommonTypes)
 
 TYPED_TEST_SUITE (End2endTest, CommonTypes)
 
static double UnaryPingPong (int request_size, int response_size)
 
void UpdateActions (std::unordered_map< std::string, std::function< bool()>> *)
 
static double UserTime (const ClientStats &s)
 
void ValidateChannelProtoJsonTranslation (const char *json_c_str)
 
void ValidateChannelTraceProtoJsonTranslation (const char *json_c_str)
 
void ValidateGetChannelResponseProtoJsonTranslation (const char *json_c_str)
 
void ValidateGetServerResponseProtoJsonTranslation (const char *json_c_str)
 
void ValidateGetServersResponseProtoJsonTranslation (const char *json_c_str)
 
void ValidateGetTopChannelsResponseProtoJsonTranslation (const char *json_c_str)
 
void ValidateServerProtoJsonTranslation (const char *json_c_str)
 
void ValidateSubchannelProtoJsonTranslation (const char *json_c_str)
 
static double WallTime (const ClientStats &s)
 

Variables

static const int BENCHMARK = 3
 
static const int BENCHMARK = 3
 
static const int BENCHMARK = 3
 
static grpc_end2end_test_config_wrapper configs []
 
static gpr_cv cv
 
static grpc_completion_queueg_cq
 
static internal::GrpcLibraryInitializer g_initializer
 
static internal::GrpcLibraryInitializer g_initializer
 
std::vector< grpc::testing::Server * > * g_inproc_servers = nullptr
 
const char invalid_json []
 
const char kAltsCredentialsType [] = "alts"
 
constexpr char kCdsTypeUrl []
 
constexpr char kCdsV2TypeUrl [] = "type.googleapis.com/envoy.api.v2.Cluster"
 
const char *const kCheckClientInitialMetadataKey = "custom_client_metadata"
 
const char *const kCheckClientInitialMetadataVal = "Value for client metadata"
 
const char *const kClientTryCancelRequest = "client_try_cancel"
 
const char *const kDebugInfoTrailerKey = "debug-info-bin"
 
constexpr char kEdsTypeUrl []
 
constexpr char kEdsV2TypeUrl []
 
const char * kErrorMessage = "This service caused an exception"
 
const char key1 [] = "metadata-key1"
 
const char key2 [] = "metadata-key2"
 
const char kGoogleDefaultCredentialsType [] = "google_default_credentials"
 
const char kInsecureCredentialsType [] = "INSECURE_CREDENTIALS"
 
constexpr char kLdsTypeUrl []
 
constexpr char kLdsV2TypeUrl [] = "type.googleapis.com/envoy.api.v2.Listener"
 
constexpr int kNumStreamingMessages = 10
 
static const int kPregenerateKeyCount = 100000
 
constexpr char kRdsTypeUrl []
 
constexpr char kRdsV2TypeUrl []
 
const int kServerDefaultResponseStreamsToSend = 3
 
const char *const kServerFinishAfterNReads = "server_finish_after_n_reads"
 
const char *const kServerMessageSize = "server_message_size"
 
const char *const kServerResponseStreamsToSend = "server_responses_to_send"
 
const char *const kServerTryCancelRequest = "server_try_cancel"
 
const char *const kServerUseCoalescingApi = "server_use_coalescing_api"
 
const vector< pair< TestCaseType, std::string > > kTestCaseList
 
const char kTlsCredentialsType [] = "ssl"
 
static gpr_mu mu
 
static gpr_cv shutdown_cv
 
static gpr_mu shutdown_mu
 
struct grpc::testing::StaticTestPluginInitializer static_plugin_initializer_test_
 
const char val1 [] = "metadata-val1"
 
const char val2 [] = "metadata-val2"
 
static const int WARMUP = 1
 
static const int WARMUP = 1
 
static const int WARMUP = 1
 

Typedef Documentation

◆ ChannelCreationFunc

Definition at line 38 of file interop_client.h.

◆ CheckerFn

typedef std::function<void(const InteropClientContextInspector&, const SimpleRequest*, const SimpleResponse*)> grpc::testing::CheckerFn

Definition at line 36 of file interop_client.h.

◆ CommonTypes

Definition at line 310 of file thread_stress_test.cc.

◆ grpc_end2end_test_config_wrapper

◆ GrpcToolOutputCallback

Definition at line 31 of file grpc_tool.h.

◆ MinInProcess

Definition at line 330 of file fullstack_fixtures.h.

◆ MinInProcessCHTTP2

Definition at line 332 of file fullstack_fixtures.h.

◆ MinSockPair

Definition at line 331 of file fullstack_fixtures.h.

◆ MinTCP

Definition at line 328 of file fullstack_fixtures.h.

◆ MinUDS

Definition at line 329 of file fullstack_fixtures.h.

◆ RlsService

using grpc::testing::RlsService = typedef CountedService<grpc::lookup::v1::RouteLookupService::Service>

Definition at line 28 of file rls_server.h.

◆ StatusHistogram

typedef std::unordered_map<int, int64_t> grpc::testing::StatusHistogram

Definition at line 135 of file client.h.

◆ TestServiceImpl

using grpc::testing::TestServiceImpl = typedef TestMultipleServiceImpl<grpc::testing::EchoTestService::Service>

Definition at line 498 of file test_service_impl.h.

Enumeration Type Documentation

◆ certtype

Enumerator
NONE 
SELF_SIGNED 
SIGNED 
BAD_CERT_PAIR 

Definition at line 152 of file h2_ssl_cert_test.cc.

◆ ServerTryCancelRequestPhase

Enumerator
DO_NOT_CANCEL 
CANCEL_BEFORE_PROCESSING 
CANCEL_DURING_PROCESSING 
CANCEL_AFTER_PROCESSING 

Definition at line 52 of file test_service_impl.h.

◆ test_result

Enumerator
SUCCESS 
FAIL 

Definition at line 201 of file h2_ssl_cert_test.cc.

◆ TestCaseType

Enumerator
UNKNOWN_TEST 
EMPTY_UNARY 
LARGE_UNARY 
CLIENT_COMPRESSED_UNARY 
CLIENT_COMPRESSED_STREAMING 
CLIENT_STREAMING 
SERVER_STREAMING 
SERVER_COMPRESSED_UNARY 
SERVER_COMPRESSED_STREAMING 
SLOW_CONSUMER 
HALF_DUPLEX 
PING_PONG 
CANCEL_AFTER_BEGIN 
CANCEL_AFTER_FIRST_RESPONSE 
TIMEOUT_ON_SLEEPING_SERVER 
EMPTY_STREAM 
STATUS_CODE_AND_MESSAGE 
CUSTOM_METADATA 

Definition at line 37 of file stress_interop_client.h.

◆ transport_security

Enumerator
INSECURE 
TLS 
ALTS 

Definition at line 34 of file create_test_channel.h.

Function Documentation

◆ Apply() [1/2]

grpc::testing::Apply ( StreamingPingPongArgs  )

◆ Apply() [2/2]

grpc::testing::Apply ( SweepSizesArgs  )

◆ ApplyCommonChannelArguments()

static void grpc::testing::ApplyCommonChannelArguments ( ChannelArguments c)
static

Definition at line 55 of file writes_per_rpc_test.cc.

◆ ApplyCommonServerBuilderConfig()

static void grpc::testing::ApplyCommonServerBuilderConfig ( ServerBuilder b)
static

Definition at line 50 of file writes_per_rpc_test.cc.

◆ Args()

grpc::testing::Args ( {0, 0}  )

◆ average()

template<class T , class F >
double grpc::testing::average ( const T container,
functor 
)

Definition at line 39 of file test/cpp/qps/stats.h.

◆ BENCHMARK() [1/15]

grpc::testing::BENCHMARK ( BM_Alarm_Tag_Immediate  )

◆ BENCHMARK() [2/15]

grpc::testing::BENCHMARK ( BM_ByteBuffer_Copy  ) -> Ranges(

Definition at line 50 of file bm_byte_buffer.cc.

◆ BENCHMARK() [3/15]

grpc::testing::BENCHMARK ( BM_ByteBufferReader_Next  ) -> Ranges(

Definition at line 83 of file bm_byte_buffer.cc.

◆ BENCHMARK() [4/15]

grpc::testing::BENCHMARK ( BM_ByteBufferReader_Peek  ) -> Ranges(

Definition at line 116 of file bm_byte_buffer.cc.

◆ BENCHMARK() [5/15]

grpc::testing::BENCHMARK ( BM_Callback_CQ_Pass1Core  )

◆ BENCHMARK() [6/15]

grpc::testing::BENCHMARK ( BM_Callback_CQ_Pass1CoreHeapCompletion  )

◆ BENCHMARK() [7/15]

grpc::testing::BENCHMARK ( BM_Cq_Throughput  ) -> ThreadRange(1, 16) ->UseRealTime()

◆ BENCHMARK() [8/15]

grpc::testing::BENCHMARK ( BM_CreateDestroyCore  )

◆ BENCHMARK() [9/15]

grpc::testing::BENCHMARK ( BM_CreateDestroyCpp  )

◆ BENCHMARK() [10/15]

grpc::testing::BENCHMARK ( BM_CreateDestroyCpp2  )

◆ BENCHMARK() [11/15]

grpc::testing::BENCHMARK ( BM_EmptyCore  )

◆ BENCHMARK() [12/15]

grpc::testing::BENCHMARK ( BM_Pass1Core  )

◆ BENCHMARK() [13/15]

grpc::testing::BENCHMARK ( BM_Pass1Cpp  )

◆ BENCHMARK() [14/15]

grpc::testing::BENCHMARK ( BM_Pluck1Core  )

◆ BENCHMARK() [15/15]

grpc::testing::BENCHMARK ( BM_SpikyLoad  ) -> Arg(1) ->Arg(2) ->Arg(4) ->Arg(8) ->Arg(16)

◆ BENCHMARK_TEMPLATE() [1/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 89 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [2/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 95 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [3/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 92 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [4/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 69 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [5/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 79 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [6/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 75 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [7/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 85 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [8/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 72 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [9/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 82 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [10/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
NoOpMutator  ,
NoOpMutator   
) -> Apply(StreamingPingPongMsgSizeArgs)

◆ BENCHMARK_TEMPLATE() [11/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >   
) -> Args(

Definition at line 109 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [12/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >   
) -> Args(

Definition at line 118 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [13/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >   
) -> Args(

Definition at line 115 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [14/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >   
) -> Args(

Definition at line 112 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [15/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >   
) -> Args(

Definition at line 100 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [16/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >   
) -> Args(

Definition at line 106 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [17/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >   
) -> Args(

Definition at line 103 of file bm_callback_streaming_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [18/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackBidiStreaming  ,
MinInProcess  ,
NoOpMutator  ,
NoOpMutator   
) -> Apply(StreamingPingPongMsgSizeArgs)

◆ BENCHMARK_TEMPLATE() [19/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 72 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [20/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 78 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [21/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 75 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [22/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 52 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [23/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 62 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [24/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 58 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [25/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 68 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [26/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 55 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [27/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 65 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [28/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
NoOpMutator   
) -> Apply(SweepSizesArgs)

◆ BENCHMARK_TEMPLATE() [29/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >   
) -> Args(

Definition at line 92 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [30/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >   
) -> Args(

Definition at line 101 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [31/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >   
) -> Args(

Definition at line 98 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [32/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >   
) -> Args(

Definition at line 95 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [33/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >   
) -> Args(

Definition at line 83 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [34/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >   
) -> Args(

Definition at line 89 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [35/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >   
) -> Args(

Definition at line 86 of file bm_callback_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [36/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_CallbackUnaryPingPong  ,
MinInProcess  ,
NoOpMutator  ,
NoOpMutator   
) -> Apply(SweepSizesArgs)

◆ BENCHMARK_TEMPLATE() [37/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_PumpStreamClientToServer  ,
MinInProcess   
) -> Arg(0)

◆ BENCHMARK_TEMPLATE() [38/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_PumpStreamClientToServer  ,
MinInProcessCHTTP2   
) -> Arg(0)

◆ BENCHMARK_TEMPLATE() [39/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_PumpStreamClientToServer  ,
MinTCP   
) -> Arg(0)

◆ BENCHMARK_TEMPLATE() [40/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_PumpStreamClientToServer  ,
MinUDS   
) -> Arg(0)

◆ BENCHMARK_TEMPLATE() [41/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_PumpStreamServerToClient  ,
MinInProcess   
) -> Arg(0)

◆ BENCHMARK_TEMPLATE() [42/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_PumpStreamServerToClient  ,
MinInProcessCHTTP2   
) -> Arg(0)

◆ BENCHMARK_TEMPLATE() [43/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_PumpStreamServerToClient  ,
MinTCP   
) -> Arg(0)

◆ BENCHMARK_TEMPLATE() [44/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_PumpStreamServerToClient  ,
MinUDS   
) -> Arg(0)

◆ BENCHMARK_TEMPLATE() [45/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_StreamingPingPong  ,
InProcessCHTTP2  ,
NoOpMutator  ,
NoOpMutator   
) -> Apply(StreamingPingPongArgs)

◆ BENCHMARK_TEMPLATE() [46/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_StreamingPingPong  ,
MinInProcessCHTTP2  ,
NoOpMutator  ,
NoOpMutator   
) -> Apply(StreamingPingPongArgs)

◆ BENCHMARK_TEMPLATE() [47/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_StreamingPingPongMsgs  ,
InProcess  ,
NoOpMutator  ,
NoOpMutator   
) -> Range(0, 128 *1024 *1024)

◆ BENCHMARK_TEMPLATE() [48/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_StreamingPingPongMsgs  ,
InProcessCHTTP2  ,
NoOpMutator  ,
NoOpMutator   
) -> Range(0, 128 *1024 *1024)

◆ BENCHMARK_TEMPLATE() [49/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_StreamingPingPongMsgs  ,
MinInProcess  ,
NoOpMutator  ,
NoOpMutator   
) -> Range(0, 128 *1024 *1024)

◆ BENCHMARK_TEMPLATE() [50/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_StreamingPingPongMsgs  ,
MinInProcessCHTTP2  ,
NoOpMutator  ,
NoOpMutator   
) -> Range(0, 128 *1024 *1024)

◆ BENCHMARK_TEMPLATE() [51/99]

◆ BENCHMARK_TEMPLATE() [52/99]

◆ BENCHMARK_TEMPLATE() [53/99]

◆ BENCHMARK_TEMPLATE() [54/99]

◆ BENCHMARK_TEMPLATE() [55/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 143 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [56/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 149 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [57/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 146 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [58/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 114 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [59/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 124 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [60/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 120 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [61/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 130 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [62/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 117 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [63/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 127 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [64/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >   
) -> Args(

Definition at line 152 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [65/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >   
) -> Args(

Definition at line 161 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [66/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >   
) -> Args(

Definition at line 158 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [67/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >   
) -> Args(

Definition at line 155 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [68/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >   
) -> Args(

Definition at line 134 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [69/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >   
) -> Args(

Definition at line 140 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [70/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcess  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >   
) -> Args(

Definition at line 137 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [71/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomAsciiMetadata< 10 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 93 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [72/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomAsciiMetadata< 100 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 99 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [73/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomAsciiMetadata< 31 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 96 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [74/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomBinaryMetadata< 10 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 64 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [75/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomBinaryMetadata< 10 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 74 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [76/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomBinaryMetadata< 100 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 70 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [77/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomBinaryMetadata< 100 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 80 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [78/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomBinaryMetadata< 31 >, 1 >  ,
NoOpMutator   
) -> Args(

Definition at line 67 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [79/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
Client_AddMetadata< RandomBinaryMetadata< 31 >, 2 >  ,
NoOpMutator   
) -> Args(

Definition at line 77 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [80/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 1 >   
) -> Args(

Definition at line 102 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [81/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 10 >, 100 >   
) -> Args(

Definition at line 111 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [82/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 100 >, 1 >   
) -> Args(

Definition at line 108 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [83/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomAsciiMetadata< 31 >, 1 >   
) -> Args(

Definition at line 105 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [84/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 10 >, 1 >   
) -> Args(

Definition at line 84 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [85/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 100 >, 1 >   
) -> Args(

Definition at line 90 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [86/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
InProcessCHTTP2  ,
NoOpMutator  ,
Server_AddInitialMetadata< RandomBinaryMetadata< 31 >, 1 >   
) -> Args(

Definition at line 87 of file bm_fullstack_unary_ping_pong.cc.

◆ BENCHMARK_TEMPLATE() [87/99]

grpc::testing::BENCHMARK_TEMPLATE ( BM_UnaryPingPong  ,
MinInProcessCHTTP2  ,
NoOpMutator  ,
NoOpMutator   
) -> Apply(SweepSizesArgs)

◆ BENCHMARK_TEMPLATE() [88/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddAnother  ,
 
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [89/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddAnother  ,
 
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [90/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddAnother  ,
 
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [91/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
 
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [92/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
128   
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [93/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
16   
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [94/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
2048   
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [95/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
32   
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [96/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
 
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [97/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
512   
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [98/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
64   
) -> RangePair(524288, 524288, 1, 1024)

◆ BENCHMARK_TEMPLATE() [99/99]

grpc::testing::BENCHMARK_TEMPLATE ( ThreadPoolAddSelf  ,
 
) -> RangePair(524288, 524288, 1, 1024)

◆ BenchmarkStubCreator() [1/3]

static std::unique_ptr<BenchmarkService::Stub> grpc::testing::BenchmarkStubCreator ( const std::shared_ptr< Channel > &  ch)
static

Definition at line 45 of file client_sync.cc.

◆ BenchmarkStubCreator() [2/3]

static std::unique_ptr<BenchmarkService::Stub> grpc::testing::BenchmarkStubCreator ( const std::shared_ptr< Channel > &  ch)
static

Definition at line 59 of file test/cpp/qps/client_callback.cc.

◆ BenchmarkStubCreator() [3/3]

static std::unique_ptr<BenchmarkService::Stub> grpc::testing::BenchmarkStubCreator ( const std::shared_ptr< Channel > &  ch)
static

Definition at line 303 of file client_async.cc.

◆ BinarySearch()

static double grpc::testing::BinarySearch ( Scenario *  scenario,
double  targeted_cpu_load,
double  low,
double  high,
const std::map< std::string, std::string > &  per_worker_credential_types,
bool success 
)
static

Definition at line 180 of file qps_json_driver.cc.

◆ BinderServerCredentials()

std::shared_ptr<ServerCredentials> grpc::testing::BinderServerCredentials ( )

Definition at line 66 of file binder_server_test.cc.

◆ BM_Alarm_Tag_Immediate()

static void grpc::testing::BM_Alarm_Tag_Immediate ( benchmark::State state)
static

Definition at line 35 of file bm_alarm.cc.

◆ BM_ByteBuffer_Copy()

static void grpc::testing::BM_ByteBuffer_Copy ( benchmark::State state)
static

Definition at line 35 of file bm_byte_buffer.cc.

◆ BM_ByteBufferReader_Next()

static void grpc::testing::BM_ByteBufferReader_Next ( benchmark::State state)
static

Definition at line 52 of file bm_byte_buffer.cc.

◆ BM_ByteBufferReader_Peek()

static void grpc::testing::BM_ByteBufferReader_Peek ( benchmark::State state)
static

Definition at line 85 of file bm_byte_buffer.cc.

◆ BM_Callback_CQ_Pass1Core()

static void grpc::testing::BM_Callback_CQ_Pass1Core ( benchmark::State state)
static

Definition at line 204 of file bm_cq.cc.

◆ BM_Callback_CQ_Pass1CoreHeapCompletion()

static void grpc::testing::BM_Callback_CQ_Pass1CoreHeapCompletion ( benchmark::State state)
static

Definition at line 261 of file bm_cq.cc.

◆ BM_CallbackBidiStreaming()

template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void grpc::testing::BM_CallbackBidiStreaming ( benchmark::State state)
static

Definition at line 123 of file callback_streaming_ping_pong.h.

◆ BM_CallbackUnaryPingPong()

template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void grpc::testing::BM_CallbackUnaryPingPong ( benchmark::State state)
static

Definition at line 65 of file callback_unary_ping_pong.h.

◆ BM_Cq_Throughput()

static void grpc::testing::BM_Cq_Throughput ( benchmark::State state)
static

Definition at line 160 of file bm_cq_multiple_threads.cc.

◆ BM_CreateDestroyCore()

static void grpc::testing::BM_CreateDestroyCore ( benchmark::State state)
static

Definition at line 58 of file bm_cq.cc.

◆ BM_CreateDestroyCpp()

static void grpc::testing::BM_CreateDestroyCpp ( benchmark::State state)
static

Definition at line 37 of file bm_cq.cc.

◆ BM_CreateDestroyCpp2()

static void grpc::testing::BM_CreateDestroyCpp2 ( benchmark::State state)
static

Definition at line 47 of file bm_cq.cc.

◆ BM_EmptyCore()

static void grpc::testing::BM_EmptyCore ( benchmark::State state)
static

Definition at line 143 of file bm_cq.cc.

◆ BM_Pass1Core()

static void grpc::testing::BM_Pass1Core ( benchmark::State state)
static

Definition at line 105 of file bm_cq.cc.

◆ BM_Pass1Cpp()

static void grpc::testing::BM_Pass1Cpp ( benchmark::State state)
static

Definition at line 85 of file bm_cq.cc.

◆ BM_Pluck1Core()

static void grpc::testing::BM_Pluck1Core ( benchmark::State state)
static

Definition at line 124 of file bm_cq.cc.

◆ BM_PumpStreamClientToServer()

template<class Fixture >
static void grpc::testing::BM_PumpStreamClientToServer ( benchmark::State state)
static

Definition at line 43 of file fullstack_streaming_pump.h.

◆ BM_PumpStreamServerToClient()

template<class Fixture >
static void grpc::testing::BM_PumpStreamServerToClient ( benchmark::State state)
static

Definition at line 112 of file fullstack_streaming_pump.h.

◆ BM_SpikyLoad()

static void grpc::testing::BM_SpikyLoad ( benchmark::State state)
static

Definition at line 294 of file bm_threadpool.cc.

◆ BM_StreamingPingPong()

template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void grpc::testing::BM_StreamingPingPong ( benchmark::State state)
static

Definition at line 50 of file fullstack_streaming_ping_pong.h.

◆ BM_StreamingPingPongMsgs()

template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void grpc::testing::BM_StreamingPingPongMsgs ( benchmark::State state)
static

Definition at line 144 of file fullstack_streaming_ping_pong.h.

◆ BM_StreamingPingPongWithCoalescingApi()

template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void grpc::testing::BM_StreamingPingPongWithCoalescingApi ( benchmark::State state)
static

Definition at line 242 of file fullstack_streaming_ping_pong.h.

◆ BM_ThreadPoolExternalAdd()

static void grpc::testing::BM_ThreadPoolExternalAdd ( benchmark::State state)
static

Definition at line 153 of file bm_threadpool.cc.

◆ BM_UnaryPingPong()

template<class Fixture , class ClientContextMutator , class ServerContextMutator >
static void grpc::testing::BM_UnaryPingPong ( benchmark::State state)
static

Definition at line 43 of file fullstack_unary_ping_pong.h.

◆ BuildRlsRequest()

grpc::lookup::v1::RouteLookupRequest grpc::testing::BuildRlsRequest ( std::map< std::string, std::string >  key,
grpc::lookup::v1::RouteLookupRequest::Reason  reason,
const char *  stale_header_data 
)

Definition at line 82 of file rls_server.cc.

◆ BuildRlsResponse()

grpc::lookup::v1::RouteLookupResponse grpc::testing::BuildRlsResponse ( std::vector< std::string >  targets,
const char *  header_data 
)

Definition at line 94 of file rls_server.cc.

◆ CheckMetadata() [1/2]

bool grpc::testing::CheckMetadata ( const std::multimap< grpc::string_ref, grpc::string_ref > &  map,
const string &  key,
const string &  value 
)

Definition at line 184 of file interceptors_util.cc.

◆ CheckMetadata() [2/2]

bool grpc::testing::CheckMetadata ( const std::multimap< std::string, std::string > &  map,
const string &  key,
const string &  value 
)

Definition at line 194 of file interceptors_util.cc.

◆ chttp2_create_fixture_secure_fullstack()

static grpc_end2end_test_fixture grpc::testing::chttp2_create_fixture_secure_fullstack ( grpc_channel_args ,
grpc_channel_args  
)
static

Definition at line 50 of file h2_ssl_cert_test.cc.

◆ chttp2_init_client_secure_fullstack()

static void grpc::testing::chttp2_init_client_secure_fullstack ( grpc_end2end_test_fixture f,
grpc_channel_args client_args,
grpc_channel_credentials creds 
)
static

Definition at line 73 of file h2_ssl_cert_test.cc.

◆ chttp2_init_server_secure_fullstack()

static void grpc::testing::chttp2_init_server_secure_fullstack ( grpc_end2end_test_fixture f,
grpc_channel_args server_args,
grpc_server_credentials server_creds 
)
static

Definition at line 83 of file h2_ssl_cert_test.cc.

◆ chttp2_tear_down_secure_fullstack()

void grpc::testing::chttp2_tear_down_secure_fullstack ( grpc_end2end_test_fixture f)

Definition at line 99 of file h2_ssl_cert_test.cc.

◆ ClientMetadataContains()

bool grpc::testing::ClientMetadataContains ( const ServerContext context,
const grpc::string_ref key,
const grpc::string_ref value 
)

Definition at line 37 of file server_context_test_spouse_test.cc.

◆ CliPollCount()

static double grpc::testing::CliPollCount ( const ClientStats &  s)
static

Definition at line 110 of file driver.cc.

◆ ConstructPerWorkerCredentialTypesMap()

static std::map<std::string, std::string> grpc::testing::ConstructPerWorkerCredentialTypesMap ( )
static

Definition at line 90 of file qps_json_driver.cc.

◆ Cores()

static int grpc::testing::Cores ( int  n)
static

Definition at line 121 of file driver.cc.

◆ cq_done_cb()

static void grpc::testing::cq_done_cb ( void *  ,
grpc_cq_completion cq_completion 
)
static

Definition at line 67 of file bm_cq_multiple_threads.cc.

◆ CreateAsyncClient()

std::unique_ptr< Client > grpc::testing::CreateAsyncClient ( const ClientConfig &  config)

Definition at line 934 of file client_async.cc.

◆ CreateAsyncGenericServer()

std::unique_ptr< Server > grpc::testing::CreateAsyncGenericServer ( const ServerConfig &  config)

Definition at line 588 of file server_async.cc.

◆ CreateAsyncServer()

std::unique_ptr< Server > grpc::testing::CreateAsyncServer ( const ServerConfig &  config)

Definition at line 575 of file server_async.cc.

◆ CreateBinderChannel()

std::shared_ptr<grpc::Channel> grpc::testing::CreateBinderChannel ( std::unique_ptr< grpc_binder::Binder endpoint_binder)

Definition at line 70 of file binder_server_test.cc.

◆ CreateCallbackClient()

std::unique_ptr< Client > grpc::testing::CreateCallbackClient ( const ClientConfig &  config)

Definition at line 371 of file test/cpp/qps/client_callback.cc.

◆ CreateCallbackServer()

std::unique_ptr< grpc::testing::Server > grpc::testing::CreateCallbackServer ( const ServerConfig &  config)

Definition at line 133 of file test/cpp/qps/server_callback.cc.

◆ CreateChannelForTestCase()

std::shared_ptr< Channel > grpc::testing::CreateChannelForTestCase ( const std::string &  test_case,
std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface >>  interceptor_creators 
)

Definition at line 85 of file client_helper.cc.

◆ CreateClient()

static std::unique_ptr<Client> grpc::testing::CreateClient ( const ClientConfig &  config)
static

Definition at line 52 of file qps_worker.cc.

◆ CreateGenericAsyncStreamingClient()

std::unique_ptr< Client > grpc::testing::CreateGenericAsyncStreamingClient ( const ClientConfig &  config)

Definition at line 955 of file client_async.cc.

◆ CreateInteropServerCredentials()

std::shared_ptr< ServerCredentials > grpc::testing::CreateInteropServerCredentials ( )

Definition at line 39 of file server_helper.cc.

◆ CreatePhonyClientInterceptors()

std::vector< std::unique_ptr< experimental::ClientInterceptorFactoryInterface > > grpc::testing::CreatePhonyClientInterceptors ( )

Definition at line 205 of file interceptors_util.cc.

◆ CreateQpsServerBuilder()

std::unique_ptr< ServerBuilder > grpc::testing::CreateQpsServerBuilder ( )

Definition at line 37 of file qps_server_builder.cc.

◆ CreateServer()

static std::unique_ptr<Server> grpc::testing::CreateServer ( const ServerConfig &  config)
static

Definition at line 72 of file qps_worker.cc.

◆ CreateSynchronousClient()

std::unique_ptr< Client > grpc::testing::CreateSynchronousClient ( const ClientConfig &  config)

Definition at line 404 of file client_sync.cc.

◆ CreateSynchronousServer()

std::unique_ptr< grpc::testing::Server > grpc::testing::CreateSynchronousServer ( const ServerConfig &  config)

Definition at line 191 of file server_sync.cc.

◆ CreateTestServerBuilderPlugin()

std::unique_ptr<ServerBuilderPlugin> grpc::testing::CreateTestServerBuilderPlugin ( )

Definition at line 122 of file server_builder_plugin_test.cc.

◆ DescribeMethod()

std::string grpc::testing::DescribeMethod ( const grpc::protobuf::MethodDescriptor method)

Definition at line 64 of file service_describer.cc.

◆ DescribeService()

std::string grpc::testing::DescribeService ( const grpc::protobuf::ServiceDescriptor service)

Definition at line 43 of file service_describer.cc.

◆ DescribeServiceList()

std::string grpc::testing::DescribeServiceList ( std::vector< std::string >  service_list,
grpc::protobuf::DescriptorPool desc_pool 
)

Definition at line 29 of file service_describer.cc.

◆ detag()

int grpc::testing::detag ( void *  p)
inline

Definition at line 232 of file interceptors_util.h.

◆ DoneWithCompletionOnHeap()

static void grpc::testing::DoneWithCompletionOnHeap ( void *  ,
grpc_cq_completion completion 
)
static

Definition at line 73 of file bm_cq.cc.

◆ DoneWithCompletionOnStack()

static void grpc::testing::DoneWithCompletionOnStack ( void *  ,
grpc_cq_completion  
)
static

Definition at line 70 of file bm_cq.cc.

◆ drain_cq()

static void grpc::testing::drain_cq ( grpc_completion_queue cq)
static

Definition at line 271 of file h2_ssl_cert_test.cc.

◆ Drainer()

static void grpc::testing::Drainer ( ClientReaderWriter< EchoRequest, EchoResponse > *  reader)
static

Definition at line 159 of file streaming_throughput_test.cc.

◆ end_test()

static void grpc::testing::end_test ( grpc_end2end_test_fixture f)
static

Definition at line 295 of file h2_ssl_cert_test.cc.

◆ EXPECT_EQ() [1/5]

◆ EXPECT_EQ() [2/5]

grpc::testing::EXPECT_EQ ( options.  resource,
""   
)

◆ EXPECT_EQ() [3/5]

grpc::testing::EXPECT_EQ ( options.  subject_token_path,
"subject_token_path"   
)

◆ EXPECT_EQ() [4/5]

grpc::testing::EXPECT_EQ ( options.  subject_token_type,
"subject_token_type"   
)

◆ EXPECT_EQ() [5/5]

grpc::testing::EXPECT_EQ ( options.  token_exchange_service_uri,
"https://foo/exchange"   
)

◆ EXPECT_TRUE()

grpc::testing::EXPECT_TRUE ( grpc::experimental::StsCredentialsOptionsFromJson(minimum_valid_json, &options) .ok()  )

◆ fail_server_auth_check()

static int grpc::testing::fail_server_auth_check ( grpc_channel_args server_args)
static

Definition at line 105 of file h2_ssl_cert_test.cc.

◆ FindExpectedBucket()

static int grpc::testing::FindExpectedBucket ( int  i,
int  j 
)
static

Definition at line 71 of file stats_test.cc.

◆ FinishClients()

static void grpc::testing::FinishClients ( const std::vector< ClientData > &  clients,
const ClientArgs &  client_mark 
)
static

Definition at line 242 of file driver.cc.

◆ FinishServers()

static void grpc::testing::FinishServers ( const std::vector< ServerData > &  servers,
const ServerArgs &  server_mark 
)
static

Definition at line 308 of file driver.cc.

◆ five_seconds_time()

static gpr_timespec grpc::testing::five_seconds_time ( void  )
static

Definition at line 269 of file h2_ssl_cert_test.cc.

◆ GenericStubCreator()

static std::unique_ptr<grpc::GenericStub> grpc::testing::GenericStubCreator ( const std::shared_ptr< Channel > &  ch)
static

Definition at line 900 of file client_async.cc.

◆ get_host()

static std::string grpc::testing::get_host ( const std::string &  worker)
static

Definition at line 56 of file driver.cc.

◆ get_workers()

static deque<string> grpc::testing::get_workers ( const string &  env_name)
static

Definition at line 63 of file driver.cc.

◆ GetAllCredentialsTypeList()

std::vector<string> grpc::testing::GetAllCredentialsTypeList ( )

Definition at line 119 of file shutdown_test.cc.

◆ GetCpuLoad()

static double grpc::testing::GetCpuLoad ( Scenario *  scenario,
double  offered_load,
const std::map< std::string, std::string > &  per_worker_credential_types,
bool success 
)
static

Definition at line 168 of file qps_json_driver.cc.

◆ GetCredentialsProvider()

CredentialsProvider * grpc::testing::GetCredentialsProvider ( )

Definition at line 169 of file test_credentials_provider.cc.

◆ GetCredType()

std::string grpc::testing::GetCredType ( const std::string &  worker_addr,
const std::map< std::string, std::string > &  per_worker_credential_types,
const std::string &  credential_type 
)

Definition at line 95 of file driver.cc.

◆ GetOauth2AccessToken()

std::string grpc::testing::GetOauth2AccessToken ( )

Definition at line 68 of file client_helper.cc.

◆ GetReporter()

std::shared_ptr< Reporter > grpc::testing::GetReporter ( )

Returns the benchmark Reporter instance.

The returned instance will take care of generating reports for all the actual reporters configured via the "enable_*_reporter" command line flags (see benchmark_config.cc).

Definition at line 84 of file benchmark_config.cc.

◆ GetServiceAccountJsonKey()

std::string grpc::testing::GetServiceAccountJsonKey ( )

Definition at line 57 of file client_helper.cc.

◆ GrpcToolMainLib()

int grpc::testing::GrpcToolMainLib ( int  argc,
const char **  argv,
const CliCredentials cred,
const GrpcToolOutputCallback callback 
)

Definition at line 295 of file grpc_tool.cc.

◆ InitBenchmarkReporters()

static std::shared_ptr<Reporter> grpc::testing::InitBenchmarkReporters ( )
static

Definition at line 59 of file benchmark_config.cc.

◆ InitTest()

void grpc::testing::InitTest ( int argc,
char ***  argv,
bool  remove_flags 
)

Definition at line 28 of file test_config_cc.cc.

◆ INSTANTIATE_TEST_SUITE_P() [1/4]

grpc::testing::INSTANTIATE_TEST_SUITE_P ( End2EndShutdown  ,
ShutdownTest  ,
::testing::ValuesIn(GetAllCredentialsTypeList())   
)

◆ INSTANTIATE_TEST_SUITE_P() [2/4]

grpc::testing::INSTANTIATE_TEST_SUITE_P ( H2SslCert  ,
H2SslCertTest  ,
::testing::ValuesIn(configs  
)

◆ INSTANTIATE_TEST_SUITE_P() [3/4]

grpc::testing::INSTANTIATE_TEST_SUITE_P ( HistogramTestCases  ,
HistogramTest  ,
::testing::Range< int 0, GRPC_STATS_HISTOGRAM_COUNT 
)

◆ INSTANTIATE_TEST_SUITE_P() [4/4]

grpc::testing::INSTANTIATE_TEST_SUITE_P ( ServerBuilderPluginTest  ,
ServerBuilderPluginTest  ,
::testing::Values(false, true  
)

◆ InvokeResolverComponentTestsRunner()

void grpc::testing::InvokeResolverComponentTestsRunner ( std::string  test_runner_bin_path,
const std::string &  test_bin_path,
const std::string &  dns_server_bin_path,
const std::string &  records_config_path,
const std::string &  dns_resolver_bin_path,
const std::string &  tcp_connect_bin_path 
)

Definition at line 70 of file resolver_component_tests_runner_invoker.cc.

◆ IsSuccess()

static bool grpc::testing::IsSuccess ( const Status s)
static

Definition at line 123 of file driver.cc.

◆ log_metadata_entry()

static void grpc::testing::log_metadata_entry ( const std::string &  prefix,
const grpc::string_ref key,
const grpc::string_ref value 
)
static

Definition at line 144 of file client_helper.cc.

◆ make_engine_vtable()

static grpc_event_engine_vtable grpc::testing::make_engine_vtable ( const char *  name)
static

Definition at line 93 of file bm_cq_multiple_threads.cc.

◆ MakeAsyncCQBidiStreamingCall()

void grpc::testing::MakeAsyncCQBidiStreamingCall ( const std::shared_ptr< Channel > &  )

Definition at line 155 of file interceptors_util.cc.

◆ MakeAsyncCQCall()

void grpc::testing::MakeAsyncCQCall ( const std::shared_ptr< Channel > &  channel)

Definition at line 104 of file interceptors_util.cc.

◆ MakeAsyncCQClientStreamingCall()

void grpc::testing::MakeAsyncCQClientStreamingCall ( const std::shared_ptr< Channel > &  )

Definition at line 122 of file interceptors_util.cc.

◆ MakeAsyncCQServerStreamingCall()

void grpc::testing::MakeAsyncCQServerStreamingCall ( const std::shared_ptr< Channel > &  channel)

Definition at line 127 of file interceptors_util.cc.

◆ MakeBidiStreamingCall()

void grpc::testing::MakeBidiStreamingCall ( const std::shared_ptr< Channel > &  channel)

Definition at line 85 of file interceptors_util.cc.

◆ MakeCall()

void grpc::testing::MakeCall ( const std::shared_ptr< Channel > &  channel,
const StubOptions options 
)

Definition at line 32 of file interceptors_util.cc.

◆ MakeCallbackCall()

void grpc::testing::MakeCallbackCall ( const std::shared_ptr< Channel > &  channel)

Definition at line 159 of file interceptors_util.cc.

◆ MakeClientStreamingCall()

void grpc::testing::MakeClientStreamingCall ( const std::shared_ptr< Channel > &  channel)

Definition at line 46 of file interceptors_util.cc.

◆ MakeServerStreamingCall()

void grpc::testing::MakeServerStreamingCall ( const std::shared_ptr< Channel > &  channel)

Definition at line 66 of file interceptors_util.cc.

◆ MakeVector()

template<class F >
auto grpc::testing::MakeVector ( size_t  length,
f 
) -> std::vector<decltype(f())>

Definition at line 43 of file fullstack_context_mutators.h.

◆ MergeStatusHistogram()

void grpc::testing::MergeStatusHistogram ( const StatusHistogram from,
StatusHistogram to 
)
inline

Definition at line 137 of file client.h.

◆ n_seconds_time()

static gpr_timespec grpc::testing::n_seconds_time ( int  n)
static

Definition at line 265 of file h2_ssl_cert_test.cc.

◆ ParseFromByteBuffer()

bool grpc::testing::ParseFromByteBuffer ( ByteBuffer buffer,
grpc::protobuf::Message message 
)

Definition at line 26 of file byte_buffer_proto_helper.cc.

◆ ParseJson()

void grpc::testing::ParseJson ( const std::string &  json,
const std::string &  type,
GRPC_CUSTOM_MESSAGE msg 
)

Definition at line 28 of file parse_json.cc.

◆ pollset_destroy()

static void grpc::testing::pollset_destroy ( grpc_pollset ps)
static

Definition at line 59 of file bm_cq_multiple_threads.cc.

◆ pollset_init()

static void grpc::testing::pollset_init ( grpc_pollset ps,
gpr_mu **  mu 
)
static

Definition at line 54 of file bm_cq_multiple_threads.cc.

◆ pollset_kick()

static grpc_error_handle grpc::testing::pollset_kick ( grpc_pollset ,
grpc_pollset_worker  
)
static

Definition at line 61 of file bm_cq_multiple_threads.cc.

◆ pollset_shutdown()

static void grpc::testing::pollset_shutdown ( grpc_pollset ,
grpc_closure closure 
)
static

Definition at line 50 of file bm_cq_multiple_threads.cc.

◆ pollset_work()

static grpc_error_handle grpc::testing::pollset_work ( grpc_pollset ps,
grpc_pollset_worker **  ,
grpc_core::Timestamp  deadline 
)
static

Definition at line 73 of file bm_cq_multiple_threads.cc.

◆ postprocess_scenario_result()

static void grpc::testing::postprocess_scenario_result ( ScenarioResult *  result)
static

Definition at line 138 of file driver.cc.

◆ process_auth_failure()

static void grpc::testing::process_auth_failure ( void *  state,
grpc_auth_context ,
const grpc_metadata ,
size_t  ,
grpc_process_auth_metadata_done_cb  cb,
void *  user_data 
)
static

Definition at line 64 of file h2_ssl_cert_test.cc.

◆ ProcessGenericRPC()

static Status grpc::testing::ProcessGenericRPC ( const PayloadConfig &  payload_config,
ByteBuffer request,
ByteBuffer response 
)
static

Definition at line 562 of file server_async.cc.

◆ ProcessSimpleRPC()

static Status grpc::testing::ProcessSimpleRPC ( const PayloadConfig &  ,
SimpleRequest *  request,
SimpleResponse *  response 
)
static

Definition at line 548 of file server_async.cc.

◆ QpsDriver()

static bool grpc::testing::QpsDriver ( )
static

Definition at line 231 of file qps_json_driver.cc.

◆ Range()

grpc::testing::Range ( ,
128 *1024 *  1024 
)

◆ RangePair()

grpc::testing::RangePair ( 524288  ,
524288  ,
,
1024   
)

◆ ReceiveFinalStatusFromClients()

static void grpc::testing::ReceiveFinalStatusFromClients ( const std::vector< ClientData > &  clients,
Histogram merged_latencies,
std::unordered_map< int, int64_t > &  merged_statuses,
ScenarioResult &  result 
)
static

Definition at line 258 of file driver.cc.

◆ ReceiveFinalStatusFromServer()

static void grpc::testing::ReceiveFinalStatusFromServer ( const std::vector< ServerData > &  servers,
ScenarioResult &  result 
)
static

Definition at line 324 of file driver.cc.

◆ RegisterBenchmarkService()

static void grpc::testing::RegisterBenchmarkService ( ServerBuilder builder,
BenchmarkService::AsyncService *  service 
)
static

Definition at line 539 of file server_async.cc.

◆ RegisterGenericService()

static void grpc::testing::RegisterGenericService ( ServerBuilder builder,
grpc::AsyncGenericService service 
)
static

Definition at line 543 of file server_async.cc.

◆ RunAndReport()

static std::unique_ptr<ScenarioResult> grpc::testing::RunAndReport ( const Scenario &  scenario,
const std::map< std::string, std::string > &  per_worker_credential_types,
bool success 
)
static

Definition at line 123 of file qps_json_driver.cc.

◆ RunQPS()

static void grpc::testing::RunQPS ( )
static

Definition at line 37 of file qps_openloop_test.cc.

◆ RunQuit()

bool grpc::testing::RunQuit ( const std::string &  credential_type,
const std::map< std::string, std::string > &  per_worker_credential_types 
)

Definition at line 670 of file driver.cc.

◆ RunScenario() [1/2]

std::unique_ptr<ScenarioResult> grpc::testing::RunScenario ( const ClientConfig &  initial_client_config,
size_t  num_clients,
const ServerConfig &  initial_server_config,
size_t  num_servers,
int  warmup_seconds,
int  benchmark_seconds,
int  spawn_local_worker_count,
const std::string &  qps_server_target_override,
const std::string &  credential_type,
const std::map< std::string, std::string > &  per_worker_credential_types,
bool  run_inproc,
int32_t  median_latency_collection_interval_millis 
)

Definition at line 365 of file driver.cc.

◆ RunScenario() [2/2]

std::unique_ptr<ScenarioResult> grpc::testing::RunScenario ( const grpc::testing::ClientConfig &  client_config,
size_t  num_clients,
const grpc::testing::ServerConfig &  server_config,
size_t  num_servers,
int  warmup_seconds,
int  benchmark_seconds,
int  spawn_local_worker_count,
const std::string &  qps_server_target_override,
const std::string &  credential_type,
const std::map< std::string, std::string > &  per_worker_credential_types,
bool  run_inproc,
int32_t  median_latency_collection_interval_millis 
)

◆ RunServer()

static void grpc::testing::RunServer ( )

Definition at line 56 of file client_crash_test_server.cc.

◆ RunSynchronousUnaryPingPong() [1/2]

static void grpc::testing::RunSynchronousUnaryPingPong ( )
static

Definition at line 37 of file inproc_sync_unary_ping_pong_test.cc.

◆ RunSynchronousUnaryPingPong() [2/2]

static void grpc::testing::RunSynchronousUnaryPingPong ( )
static

Definition at line 37 of file secure_sync_unary_ping_pong_test.cc.

◆ SearchOfferedLoad()

static double grpc::testing::SearchOfferedLoad ( double  initial_offered_load,
double  targeted_cpu_load,
Scenario *  scenario,
const std::map< std::string, std::string > &  per_worker_credential_types,
bool success 
)
static

Definition at line 203 of file qps_json_driver.cc.

◆ SendCallbackUnaryPingPong()

void grpc::testing::SendCallbackUnaryPingPong ( benchmark::State state,
ClientContext cli_ctx,
EchoRequest *  request,
EchoResponse *  response,
EchoTestService::Stub *  stub_,
bool done,
std::mutex mu,
std::condition_variable *  cv 
)
inline

Definition at line 41 of file callback_unary_ping_pong.h.

◆ SendRpc()

static void grpc::testing::SendRpc ( grpc::testing::EchoTestService::Stub *  stub,
int  num_rpcs,
bool  allow_exhaustion,
gpr_atm errors 
)
static

Definition at line 277 of file thread_stress_test.cc.

◆ SerializeJson()

std::string grpc::testing::SerializeJson ( const GRPC_CUSTOM_MESSAGE msg,
const std::string &  type 
)

Definition at line 46 of file parse_json.cc.

◆ SerializeToByteBuffer()

std::unique_ptr< ByteBuffer > grpc::testing::SerializeToByteBuffer ( grpc::protobuf::Message message)

Definition at line 37 of file byte_buffer_proto_helper.cc.

◆ SerializeToByteBufferInPlace()

bool grpc::testing::SerializeToByteBufferInPlace ( grpc::protobuf::Message message,
ByteBuffer buffer 
)

Definition at line 45 of file byte_buffer_proto_helper.cc.

◆ ServerIdleCpuTime()

static double grpc::testing::ServerIdleCpuTime ( const ServerStats &  s)
static

Definition at line 118 of file driver.cc.

◆ ServerInitialMetadataContains()

bool grpc::testing::ServerInitialMetadataContains ( const ClientContext context,
const grpc::string_ref key,
const grpc::string_ref value 
)

Definition at line 37 of file client_context_test_peer_test.cc.

◆ ServerSystemTime()

static double grpc::testing::ServerSystemTime ( const ServerStats &  s)
static

Definition at line 113 of file driver.cc.

◆ ServerTotalCpuTime()

static double grpc::testing::ServerTotalCpuTime ( const ServerStats &  s)
static

Definition at line 115 of file driver.cc.

◆ ServerUserTime()

static double grpc::testing::ServerUserTime ( const ServerStats &  s)
static

Definition at line 114 of file driver.cc.

◆ ServerWallTime()

static double grpc::testing::ServerWallTime ( const ServerStats &  s)
static

Definition at line 112 of file driver.cc.

◆ SetCreateQpsServerBuilderFunc()

void grpc::testing::SetCreateQpsServerBuilderFunc ( std::function< std::unique_ptr< ServerBuilder >()>  create_qps_server_builder)

Definition at line 41 of file qps_server_builder.cc.

◆ SetCredentialsProvider()

void grpc::testing::SetCredentialsProvider ( CredentialsProvider provider)

Definition at line 176 of file test_credentials_provider.cc.

◆ setup()

static void grpc::testing::setup ( )
static

Definition at line 117 of file bm_cq_multiple_threads.cc.

◆ shutdown_and_destroy()

static void grpc::testing::shutdown_and_destroy ( grpc_completion_queue cc)
static

Definition at line 157 of file bm_cq.cc.

◆ shutdown_client()

static void grpc::testing::shutdown_client ( grpc_end2end_test_fixture f)
static

Definition at line 289 of file h2_ssl_cert_test.cc.

◆ shutdown_server()

static void grpc::testing::shutdown_server ( grpc_end2end_test_fixture f)
static

Definition at line 280 of file h2_ssl_cert_test.cc.

◆ ShutdownClients()

static void grpc::testing::ShutdownClients ( const std::vector< ClientData > &  clients,
ScenarioResult &  result 
)
static

Definition at line 289 of file driver.cc.

◆ ShutdownServers()

static void grpc::testing::ShutdownServers ( const std::vector< ServerData > &  servers,
ScenarioResult &  result 
)
static

Definition at line 344 of file driver.cc.

◆ simple_request_body()

static void grpc::testing::simple_request_body ( grpc_end2end_test_fixture  f,
test_result  expected_result 
)
static

Definition at line 301 of file h2_ssl_cert_test.cc.

◆ StreamingPingPongArgs()

static void grpc::testing::StreamingPingPongArgs ( benchmark::internal::Benchmark b)
static

Definition at line 34 of file bm_fullstack_streaming_ping_pong.cc.

◆ StreamingPingPongMsgSizeArgs()

static void grpc::testing::StreamingPingPongMsgSizeArgs ( benchmark::internal::Benchmark b)
static

Definition at line 32 of file bm_callback_streaming_ping_pong.cc.

◆ StreamingPingPongMsgsNumberArgs()

static void grpc::testing::StreamingPingPongMsgsNumberArgs ( benchmark::internal::Benchmark b)
static

Definition at line 45 of file bm_callback_streaming_ping_pong.cc.

◆ StreamingPingPongWithCoalescingApiArgs()

static void grpc::testing::StreamingPingPongWithCoalescingApiArgs ( benchmark::internal::Benchmark b)
static

Definition at line 82 of file bm_fullstack_streaming_ping_pong.cc.

◆ sum()

template<class T , class F >
double grpc::testing::sum ( const T container,
functor 
)

Definition at line 30 of file test/cpp/qps/stats.h.

◆ SummarizeMethod()

std::string grpc::testing::SummarizeMethod ( const grpc::protobuf::MethodDescriptor method)

Definition at line 85 of file service_describer.cc.

◆ SummarizeService()

std::string grpc::testing::SummarizeService ( const grpc::protobuf::ServiceDescriptor service)

Definition at line 77 of file service_describer.cc.

◆ SvrPollCount()

static double grpc::testing::SvrPollCount ( const ServerStats &  s)
static

Definition at line 111 of file driver.cc.

◆ SweepSizesArgs() [1/2]

static void grpc::testing::SweepSizesArgs ( benchmark::internal::Benchmark b)
static

Definition at line 32 of file bm_callback_unary_ping_pong.cc.

◆ SweepSizesArgs() [2/2]

static void grpc::testing::SweepSizesArgs ( benchmark::internal::Benchmark b)
static

Definition at line 34 of file bm_fullstack_unary_ping_pong.cc.

◆ SystemTime()

static double grpc::testing::SystemTime ( const ClientStats &  s)
static

Definition at line 108 of file driver.cc.

◆ tag() [1/6]

void* grpc::testing::tag ( int  i)
inline

Definition at line 231 of file interceptors_util.h.

◆ tag() [2/6]

static void* grpc::testing::tag ( intptr_t  t)
static

Definition at line 263 of file h2_ssl_cert_test.cc.

◆ tag() [3/6]

static void* grpc::testing::tag ( intptr_t  x)
static

Definition at line 40 of file fullstack_streaming_ping_pong.h.

◆ tag() [4/6]

static void* grpc::testing::tag ( intptr_t  x)
static

Definition at line 40 of file fullstack_streaming_pump.h.

◆ tag() [5/6]

static void* grpc::testing::tag ( intptr_t  x)
static

Definition at line 40 of file fullstack_unary_ping_pong.h.

◆ tag() [6/6]

static void* grpc::testing::tag ( intptr_t  x)
static

Definition at line 48 of file writes_per_rpc_test.cc.

◆ teardown()

static void grpc::testing::teardown ( )
static

Definition at line 126 of file bm_cq_multiple_threads.cc.

◆ TEST() [1/9]

grpc::testing::TEST ( ChannelFilterTest  ,
RegisterChannelFilter   
)

Definition at line 52 of file channel_filter_test.cc.

◆ TEST() [2/9]

grpc::testing::TEST ( ClientContextTestPeerTest  ,
AddServerInitialMetadata   
)

Definition at line 50 of file client_context_test_peer_test.cc.

◆ TEST() [3/9]

grpc::testing::TEST ( ClientContextTestPeerTest  ,
GetSendInitialMetadata   
)

Definition at line 61 of file client_context_test_peer_test.cc.

◆ TEST() [4/9]

grpc::testing::TEST ( ServerContextTestSpouseTest  ,
ClientMetadataHandle   
)

Definition at line 50 of file server_context_test_spouse_test.cc.

◆ TEST() [5/9]

grpc::testing::TEST ( ServerContextTestSpouseTest  ,
InitialMetadata   
)

Definition at line 62 of file server_context_test_spouse_test.cc.

◆ TEST() [6/9]

grpc::testing::TEST ( ServerContextTestSpouseTest  ,
ServerMetadataHandle   
)

Definition at line 76 of file server_context_test_spouse_test.cc.

◆ TEST() [7/9]

grpc::testing::TEST ( StatsTest  ,
IncCounters   
)

Definition at line 51 of file stats_test.cc.

◆ TEST() [8/9]

grpc::testing::TEST ( StatsTest  ,
IncSpecificCounter   
)

Definition at line 62 of file stats_test.cc.

◆ TEST() [9/9]

grpc::testing::TEST ( WritesPerRpcTest  ,
UnaryPingPong   
)

Definition at line 231 of file writes_per_rpc_test.cc.

◆ TEST_F() [1/42]

grpc::testing::TEST_F ( AdminServicesTest  ,
ValidateRegisteredServices   
)

Definition at line 74 of file admin_services_end2end_test.cc.

◆ TEST_F() [2/42]

grpc::testing::TEST_F ( ChannelArgumentsTest  ,
SetInt   
)

Definition at line 134 of file channel_arguments_test.cc.

◆ TEST_F() [3/42]

grpc::testing::TEST_F ( ChannelArgumentsTest  ,
SetPointer   
)

Definition at line 193 of file channel_arguments_test.cc.

◆ TEST_F() [4/42]

grpc::testing::TEST_F ( ChannelArgumentsTest  ,
SetSocketMutator   
)

Definition at line 207 of file channel_arguments_test.cc.

◆ TEST_F() [5/42]

grpc::testing::TEST_F ( ChannelArgumentsTest  ,
SetString   
)

Definition at line 160 of file channel_arguments_test.cc.

◆ TEST_F() [6/42]

grpc::testing::TEST_F ( ChannelArgumentsTest  ,
SetUserAgentPrefix   
)

Definition at line 227 of file channel_arguments_test.cc.

◆ TEST_F() [7/42]

grpc::testing::TEST_F ( CliCallTest  ,
SimpleRpc   
)

Definition at line 91 of file cli_call_test.cc.

◆ TEST_F() [8/42]

grpc::testing::TEST_F ( End2endTest  ,
StreamingThroughput   
)

Definition at line 166 of file streaming_throughput_test.cc.

◆ TEST_F() [9/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommand   
)

Definition at line 487 of file grpc_tool_test.cc.

◆ TEST_F() [10/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandBatch   
)

Definition at line 560 of file grpc_tool_test.cc.

◆ TEST_F() [11/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandBatchJsonInput   
)

Definition at line 620 of file grpc_tool_test.cc.

◆ TEST_F() [12/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandBatchJsonInputWithBadRequest   
)

Definition at line 738 of file grpc_tool_test.cc.

◆ TEST_F() [13/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandBatchWithBadRequest   
)

Definition at line 683 of file grpc_tool_test.cc.

◆ TEST_F() [14/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandBidiStream   
)

Definition at line 1034 of file grpc_tool_test.cc.

◆ TEST_F() [15/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandBidiStreamWithBadRequest   
)

Definition at line 1060 of file grpc_tool_test.cc.

◆ TEST_F() [16/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandJsonInput   
)

Definition at line 523 of file grpc_tool_test.cc.

◆ TEST_F() [17/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandRequestStream   
)

Definition at line 798 of file grpc_tool_test.cc.

◆ TEST_F() [18/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandRequestStreamJsonInput   
)

Definition at line 823 of file grpc_tool_test.cc.

◆ TEST_F() [19/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandRequestStreamWithBadRequest   
)

Definition at line 851 of file grpc_tool_test.cc.

◆ TEST_F() [20/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandRequestStreamWithBadRequestJsonInput   
)

Definition at line 876 of file grpc_tool_test.cc.

◆ TEST_F() [21/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandResponseStream   
)

Definition at line 992 of file grpc_tool_test.cc.

◆ TEST_F() [22/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandWithBadMetadata   
)

Definition at line 1261 of file grpc_tool_test.cc.

◆ TEST_F() [23/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandWithDefaultTimeoutValue   
)

Definition at line 970 of file grpc_tool_test.cc.

◆ TEST_F() [24/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandWithMetadata   
)

Definition at line 1215 of file grpc_tool_test.cc.

◆ TEST_F() [25/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandWithNegativeTimeoutValue   
)

Definition at line 948 of file grpc_tool_test.cc.

◆ TEST_F() [26/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandWithTimeoutDeadlineSet   
)

Definition at line 904 of file grpc_tool_test.cc.

◆ TEST_F() [27/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
CallCommandWithTimeoutDeadlineUpperBound   
)

Definition at line 925 of file grpc_tool_test.cc.

◆ TEST_F() [28/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
ConfiguringDefaultServiceConfig   
)

Definition at line 1324 of file grpc_tool_test.cc.

◆ TEST_F() [29/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
HelpCommand   
)

Definition at line 362 of file grpc_tool_test.cc.

◆ TEST_F() [30/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
InvalidCommand   
)

Definition at line 348 of file grpc_tool_test.cc.

◆ TEST_F() [31/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
ListCommand   
)

Definition at line 375 of file grpc_tool_test.cc.

◆ TEST_F() [32/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
ListCommand_OverrideSslHostName   
)

Definition at line 1301 of file grpc_tool_test.cc.

◆ TEST_F() [33/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
ListOneMethod   
)

Definition at line 444 of file grpc_tool_test.cc.

◆ TEST_F() [34/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
ListOneService   
)

Definition at line 393 of file grpc_tool_test.cc.

◆ TEST_F() [35/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
NoCommand   
)

Definition at line 334 of file grpc_tool_test.cc.

◆ TEST_F() [36/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
ParseCommand   
)

Definition at line 1086 of file grpc_tool_test.cc.

◆ TEST_F() [37/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
ParseCommandJsonFormat   
)

Definition at line 1146 of file grpc_tool_test.cc.

◆ TEST_F() [38/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
TooFewArguments   
)

Definition at line 1184 of file grpc_tool_test.cc.

◆ TEST_F() [39/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
TooManyArguments   
)

Definition at line 1199 of file grpc_tool_test.cc.

◆ TEST_F() [40/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
TypeCommand   
)

Definition at line 423 of file grpc_tool_test.cc.

◆ TEST_F() [41/42]

grpc::testing::TEST_F ( GrpcToolTest  ,
TypeNotFound   
)

Definition at line 473 of file grpc_tool_test.cc.

◆ TEST_F() [42/42]

grpc::testing::TEST_F ( ProtoServerReflectionTest  ,
CheckResponseWithLocalDescriptorPool   
)

Definition at line 132 of file proto_server_reflection_test.cc.

◆ TEST_P() [1/5]

grpc::testing::TEST_P ( H2SslCertTest  ,
SimpleRequestBody   
)

Definition at line 353 of file h2_ssl_cert_test.cc.

◆ TEST_P() [2/5]

grpc::testing::TEST_P ( HistogramTest  ,
IncHistogram   
)

Definition at line 87 of file stats_test.cc.

◆ TEST_P() [3/5]

grpc::testing::TEST_P ( ServerBuilderPluginTest  ,
PluginWithoutServiceTest   
)

Definition at line 237 of file server_builder_plugin_test.cc.

◆ TEST_P() [4/5]

grpc::testing::TEST_P ( ServerBuilderPluginTest  ,
PluginWithServiceTest   
)

Definition at line 242 of file server_builder_plugin_test.cc.

◆ TEST_P() [5/5]

grpc::testing::TEST_P ( ShutdownTest  ,
ShutdownTest   
)

Definition at line 143 of file shutdown_test.cc.

◆ ThreadPoolAddAnother()

template<int kConcurrentFunctor>
static void grpc::testing::ThreadPoolAddAnother ( benchmark::State state)
static

Definition at line 97 of file bm_threadpool.cc.

◆ ThreadPoolAddSelf()

template<int kConcurrentFunctor>
static void grpc::testing::ThreadPoolAddSelf ( benchmark::State state)
static

Definition at line 214 of file bm_threadpool.cc.

◆ ToString()

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

Definition at line 24 of file string_ref_helper.cc.

◆ TYPED_TEST() [1/2]

grpc::testing::TYPED_TEST ( AsyncClientEnd2endTest  ,
ThreadStress   
)

Definition at line 410 of file thread_stress_test.cc.

◆ TYPED_TEST() [2/2]

grpc::testing::TYPED_TEST ( End2endTest  ,
ThreadStress   
)

Definition at line 312 of file thread_stress_test.cc.

◆ TYPED_TEST_SUITE() [1/2]

grpc::testing::TYPED_TEST_SUITE ( AsyncClientEnd2endTest  ,
CommonTypes   
)

◆ TYPED_TEST_SUITE() [2/2]

grpc::testing::TYPED_TEST_SUITE ( End2endTest  ,
CommonTypes   
)

◆ UnaryPingPong()

static double grpc::testing::UnaryPingPong ( int  request_size,
int  response_size 
)
static

Definition at line 155 of file writes_per_rpc_test.cc.

◆ UpdateActions()

void grpc::testing::UpdateActions ( std::unordered_map< std::string, std::function< bool()>> *  )

Definition at line 82 of file client_helper.cc.

◆ UserTime()

static double grpc::testing::UserTime ( const ClientStats &  s)
static

Definition at line 109 of file driver.cc.

◆ ValidateChannelProtoJsonTranslation()

void grpc::testing::ValidateChannelProtoJsonTranslation ( const char *  json_c_str)

Definition at line 82 of file channel_trace_proto_helper.cc.

◆ ValidateChannelTraceProtoJsonTranslation()

void grpc::testing::ValidateChannelTraceProtoJsonTranslation ( const char *  json_c_str)

Definition at line 78 of file channel_trace_proto_helper.cc.

◆ ValidateGetChannelResponseProtoJsonTranslation()

void grpc::testing::ValidateGetChannelResponseProtoJsonTranslation ( const char *  json_c_str)

Definition at line 92 of file channel_trace_proto_helper.cc.

◆ ValidateGetServerResponseProtoJsonTranslation()

void grpc::testing::ValidateGetServerResponseProtoJsonTranslation ( const char *  json_c_str)

Definition at line 97 of file channel_trace_proto_helper.cc.

◆ ValidateGetServersResponseProtoJsonTranslation()

void grpc::testing::ValidateGetServersResponseProtoJsonTranslation ( const char *  json_c_str)

Definition at line 110 of file channel_trace_proto_helper.cc.

◆ ValidateGetTopChannelsResponseProtoJsonTranslation()

void grpc::testing::ValidateGetTopChannelsResponseProtoJsonTranslation ( const char *  json_c_str)

Definition at line 86 of file channel_trace_proto_helper.cc.

◆ ValidateServerProtoJsonTranslation()

void grpc::testing::ValidateServerProtoJsonTranslation ( const char *  json_c_str)

Definition at line 106 of file channel_trace_proto_helper.cc.

◆ ValidateSubchannelProtoJsonTranslation()

void grpc::testing::ValidateSubchannelProtoJsonTranslation ( const char *  json_c_str)

Definition at line 102 of file channel_trace_proto_helper.cc.

◆ WallTime()

static double grpc::testing::WallTime ( const ClientStats &  s)
static

Definition at line 107 of file driver.cc.

Variable Documentation

◆ BENCHMARK [1/3]

const int grpc::testing::BENCHMARK = 3
static

Definition at line 35 of file inproc_sync_unary_ping_pong_test.cc.

◆ BENCHMARK [2/3]

const int grpc::testing::BENCHMARK = 3
static

Definition at line 35 of file qps_openloop_test.cc.

◆ BENCHMARK [3/3]

const int grpc::testing::BENCHMARK = 3
static

Definition at line 35 of file secure_sync_unary_ping_pong_test.cc.

◆ configs

grpc_end2end_test_config_wrapper grpc::testing::configs[]
static

Definition at line 223 of file h2_ssl_cert_test.cc.

◆ cv

gpr_cv grpc::testing::cv
static

Definition at line 163 of file bm_cq.cc.

◆ g_cq

grpc_completion_queue* grpc::testing::g_cq
static

Definition at line 48 of file bm_cq_multiple_threads.cc.

◆ g_initializer [1/2]

internal::GrpcLibraryInitializer grpc::testing::g_initializer
static

Definition at line 30 of file client_context_test_peer_test.cc.

◆ g_initializer [2/2]

internal::GrpcLibraryInitializer grpc::testing::g_initializer
static

Definition at line 30 of file server_context_test_spouse_test.cc.

◆ g_inproc_servers

std::vector< grpc::testing::Server * > * grpc::testing::g_inproc_servers = nullptr

Definition at line 363 of file driver.cc.

◆ invalid_json

const char grpc::testing::invalid_json[]
Initial value:
= R"(
I'm not a valid JSON.
)"

Definition at line 187 of file cpp/client/credentials_test.cc.

◆ kAltsCredentialsType

const char grpc::testing::kAltsCredentialsType[] = "alts"

Definition at line 35 of file test_credentials_provider.h.

◆ kCdsTypeUrl

constexpr char grpc::testing::kCdsTypeUrl[]
constexpr
Initial value:
=
"type.googleapis.com/envoy.config.cluster.v3.Cluster"

Definition at line 55 of file xds_server.h.

◆ kCdsV2TypeUrl

constexpr char grpc::testing::kCdsV2TypeUrl[] = "type.googleapis.com/envoy.api.v2.Cluster"
constexpr

Definition at line 63 of file xds_server.h.

◆ kCheckClientInitialMetadataKey

const char* const grpc::testing::kCheckClientInitialMetadataKey = "custom_client_metadata"

Definition at line 49 of file test_service_impl.h.

◆ kCheckClientInitialMetadataVal

const char* const grpc::testing::kCheckClientInitialMetadataVal = "Value for client metadata"

Definition at line 50 of file test_service_impl.h.

◆ kClientTryCancelRequest

const char* const grpc::testing::kClientTryCancelRequest = "client_try_cancel"

Definition at line 45 of file test_service_impl.h.

◆ kDebugInfoTrailerKey

const char* const grpc::testing::kDebugInfoTrailerKey = "debug-info-bin"

Definition at line 46 of file test_service_impl.h.

◆ kEdsTypeUrl

constexpr char grpc::testing::kEdsTypeUrl[]
constexpr
Initial value:
=
"type.googleapis.com/envoy.config.endpoint.v3.ClusterLoadAssignment"

Definition at line 57 of file xds_server.h.

◆ kEdsV2TypeUrl

constexpr char grpc::testing::kEdsV2TypeUrl[]
constexpr
Initial value:
=
"type.googleapis.com/envoy.api.v2.ClusterLoadAssignment"

Definition at line 64 of file xds_server.h.

◆ kErrorMessage

const char* grpc::testing::kErrorMessage = "This service caused an exception"

Definition at line 38 of file exception_test.cc.

◆ key1

const char grpc::testing::key1 = "metadata-key1"

Definition at line 32 of file client_context_test_peer_test.cc.

◆ key2

const char grpc::testing::key2 = "metadata-key2"

Definition at line 33 of file client_context_test_peer_test.cc.

◆ kGoogleDefaultCredentialsType

const char grpc::testing::kGoogleDefaultCredentialsType[] = "google_default_credentials"

Definition at line 36 of file test_credentials_provider.h.

◆ kInsecureCredentialsType

const char grpc::testing::kInsecureCredentialsType[] = "INSECURE_CREDENTIALS"

Definition at line 31 of file test_credentials_provider.h.

◆ kLdsTypeUrl

constexpr char grpc::testing::kLdsTypeUrl[]
constexpr
Initial value:
=
"type.googleapis.com/envoy.config.listener.v3.Listener"

Definition at line 51 of file xds_server.h.

◆ kLdsV2TypeUrl

constexpr char grpc::testing::kLdsV2TypeUrl[] = "type.googleapis.com/envoy.api.v2.Listener"
constexpr

Definition at line 60 of file xds_server.h.

◆ kNumStreamingMessages

constexpr int grpc::testing::kNumStreamingMessages = 10
constexpr

Definition at line 201 of file interceptors_util.h.

◆ kPregenerateKeyCount

const int grpc::testing::kPregenerateKeyCount = 100000
static

Definition at line 40 of file fullstack_context_mutators.h.

◆ kRdsTypeUrl

constexpr char grpc::testing::kRdsTypeUrl[]
constexpr
Initial value:
=
"type.googleapis.com/envoy.config.route.v3.RouteConfiguration"

Definition at line 53 of file xds_server.h.

◆ kRdsV2TypeUrl

constexpr char grpc::testing::kRdsV2TypeUrl[]
constexpr
Initial value:
=
"type.googleapis.com/envoy.api.v2.RouteConfiguration"

Definition at line 61 of file xds_server.h.

◆ kServerDefaultResponseStreamsToSend

const int grpc::testing::kServerDefaultResponseStreamsToSend = 3

Definition at line 42 of file test_service_impl.h.

◆ kServerFinishAfterNReads

const char* const grpc::testing::kServerFinishAfterNReads = "server_finish_after_n_reads"

Definition at line 47 of file test_service_impl.h.

◆ kServerMessageSize

const char* const grpc::testing::kServerMessageSize = "server_message_size"

Definition at line 35 of file callback_test_service.h.

◆ kServerResponseStreamsToSend

const char* const grpc::testing::kServerResponseStreamsToSend = "server_responses_to_send"

Definition at line 43 of file test_service_impl.h.

◆ kServerTryCancelRequest

const char* const grpc::testing::kServerTryCancelRequest = "server_try_cancel"

Definition at line 44 of file test_service_impl.h.

◆ kServerUseCoalescingApi

const char* const grpc::testing::kServerUseCoalescingApi = "server_use_coalescing_api"

Definition at line 48 of file test_service_impl.h.

◆ kTestCaseList

const vector<pair<TestCaseType, std::string> > grpc::testing::kTestCaseList
Initial value:
= {
{EMPTY_UNARY, "empty_unary"},
{LARGE_UNARY, "large_unary"},
{CLIENT_COMPRESSED_UNARY, "client_compressed_unary"},
{CLIENT_COMPRESSED_STREAMING, "client_compressed_streaming"},
{CLIENT_STREAMING, "client_streaming"},
{SERVER_STREAMING, "server_streaming"},
{SERVER_COMPRESSED_UNARY, "server_compressed_unary"},
{SERVER_COMPRESSED_STREAMING, "server_compressed_streaming"},
{SLOW_CONSUMER, "slow_consumer"},
{HALF_DUPLEX, "half_duplex"},
{PING_PONG, "ping_pong"},
{CANCEL_AFTER_BEGIN, "cancel_after_begin"},
{CANCEL_AFTER_FIRST_RESPONSE, "cancel_after_first_response"},
{TIMEOUT_ON_SLEEPING_SERVER, "timeout_on_sleeping_server"},
{EMPTY_STREAM, "empty_stream"},
{STATUS_CODE_AND_MESSAGE, "status_code_and_message"},
{CUSTOM_METADATA, "custom_metadata"}}

Definition at line 58 of file stress_interop_client.h.

◆ kTlsCredentialsType

const char grpc::testing::kTlsCredentialsType[] = "ssl"

Definition at line 34 of file test_credentials_provider.h.

◆ mu

gpr_mu grpc::testing::mu
static

Definition at line 162 of file bm_cq.cc.

◆ shutdown_cv

gpr_cv grpc::testing::shutdown_cv
static

Definition at line 163 of file bm_cq.cc.

◆ shutdown_mu

gpr_mu grpc::testing::shutdown_mu
static

Definition at line 162 of file bm_cq.cc.

◆ static_plugin_initializer_test_

struct grpc::testing::StaticTestPluginInitializer grpc::testing::static_plugin_initializer_test_

◆ val1

const char grpc::testing::val1 = "metadata-val1"

Definition at line 34 of file client_context_test_peer_test.cc.

◆ val2

const char grpc::testing::val2 = "metadata-val2"

Definition at line 35 of file client_context_test_peer_test.cc.

◆ WARMUP [1/3]

const int grpc::testing::WARMUP = 1
static

Definition at line 34 of file inproc_sync_unary_ping_pong_test.cc.

◆ WARMUP [2/3]

const int grpc::testing::WARMUP = 1
static

Definition at line 34 of file secure_sync_unary_ping_pong_test.cc.

◆ WARMUP [3/3]

const int grpc::testing::WARMUP = 1
static

Definition at line 34 of file qps_openloop_test.cc.

grpc::testing::SERVER_COMPRESSED_STREAMING
@ SERVER_COMPRESSED_STREAMING
Definition: stress_interop_client.h:46
grpc::testing::EMPTY_STREAM
@ EMPTY_STREAM
Definition: stress_interop_client.h:53
grpc::testing::SLOW_CONSUMER
@ SLOW_CONSUMER
Definition: stress_interop_client.h:47
grpc::testing::CLIENT_STREAMING
@ CLIENT_STREAMING
Definition: stress_interop_client.h:43
grpc::testing::CLIENT_COMPRESSED_UNARY
@ CLIENT_COMPRESSED_UNARY
Definition: stress_interop_client.h:41
grpc::testing::TIMEOUT_ON_SLEEPING_SERVER
@ TIMEOUT_ON_SLEEPING_SERVER
Definition: stress_interop_client.h:52
grpc::testing::SERVER_STREAMING
@ SERVER_STREAMING
Definition: stress_interop_client.h:44
grpc::testing::CUSTOM_METADATA
@ CUSTOM_METADATA
Definition: stress_interop_client.h:55
grpc::testing::EMPTY_UNARY
@ EMPTY_UNARY
Definition: stress_interop_client.h:39
grpc::testing::PING_PONG
@ PING_PONG
Definition: stress_interop_client.h:49
grpc::testing::SERVER_COMPRESSED_UNARY
@ SERVER_COMPRESSED_UNARY
Definition: stress_interop_client.h:45
grpc::testing::STATUS_CODE_AND_MESSAGE
@ STATUS_CODE_AND_MESSAGE
Definition: stress_interop_client.h:54
grpc::testing::LARGE_UNARY
@ LARGE_UNARY
Definition: stress_interop_client.h:40
grpc::testing::HALF_DUPLEX
@ HALF_DUPLEX
Definition: stress_interop_client.h:48
grpc::testing::CLIENT_COMPRESSED_STREAMING
@ CLIENT_COMPRESSED_STREAMING
Definition: stress_interop_client.h:42
grpc::testing::CANCEL_AFTER_BEGIN
@ CANCEL_AFTER_BEGIN
Definition: stress_interop_client.h:50
grpc::testing::CANCEL_AFTER_FIRST_RESPONSE
@ CANCEL_AFTER_FIRST_RESPONSE
Definition: stress_interop_client.h:51


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