Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
test_service_impl.h File Reference
#include <condition_variable>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <gtest/gtest.h>
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include <grpcpp/alarm.h>
#include <grpcpp/security/credentials.h>
#include <grpcpp/server_context.h>
#include "src/proto/grpc/testing/echo.grpc.pb.h"
#include "test/cpp/util/string_ref_helper.h"
Include dependency graph for test_service_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  grpc::testing::CallbackTestServiceImpl
 
class  grpc::testing::TestMultipleServiceImpl< RpcService >
 
class  grpc::testing::TestServiceSignaller
 

Namespaces

 grpc
 
 grpc::testing
 
 grpc::testing::internal
 

Typedefs

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

Enumerations

enum  grpc::testing::ServerTryCancelRequestPhase { grpc::testing::DO_NOT_CANCEL = 0, grpc::testing::CANCEL_BEFORE_PROCESSING, grpc::testing::CANCEL_DURING_PROCESSING, grpc::testing::CANCEL_AFTER_PROCESSING }
 

Functions

void grpc::testing::internal::CheckServerAuthContext (const ServerContextBase *context, const std::string &expected_transport_security_type, const std::string &expected_client_identity)
 
int grpc::testing::internal::GetIntValueFromMetadata (const char *key, const std::multimap< grpc::string_ref, grpc::string_ref > &metadata, int default_value)
 
int grpc::testing::internal::GetIntValueFromMetadataHelper (const char *key, const std::multimap< grpc::string_ref, grpc::string_ref > &metadata, int default_value)
 
void grpc::testing::internal::MaybeEchoDeadline (ServerContextBase *context, const EchoRequest *request, EchoResponse *response)
 
int grpc::testing::internal::MetadataMatchCount (const std::multimap< grpc::string_ref, grpc::string_ref > &metadata, const std::string &key, const std::string &value)
 
void grpc::testing::internal::ServerTryCancel (ServerContext *context)
 

Variables

const char *const grpc::testing::kCheckClientInitialMetadataKey = "custom_client_metadata"
 
const char *const grpc::testing::kCheckClientInitialMetadataVal = "Value for client metadata"
 
const char *const grpc::testing::kClientTryCancelRequest = "client_try_cancel"
 
const char *const grpc::testing::kDebugInfoTrailerKey = "debug-info-bin"
 
const int grpc::testing::kServerDefaultResponseStreamsToSend = 3
 
const char *const grpc::testing::kServerFinishAfterNReads = "server_finish_after_n_reads"
 
const char *const grpc::testing::kServerResponseStreamsToSend = "server_responses_to_send"
 
const char *const grpc::testing::kServerTryCancelRequest = "server_try_cancel"
 
const char *const grpc::testing::kServerUseCoalescingApi = "server_use_coalescing_api"
 


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