Go to the documentation of this file.
19 #include <gmock/gmock.h>
20 #include <gtest/gtest.h>
22 #include "absl/strings/str_cat.h"
28 #include "src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h"
47 auto reflection_stub = reflection::v1alpha::ServerReflection::NewStub(
54 reflection::v1alpha::ServerReflectionRequest
request;
55 reflection::v1alpha::ServerReflectionResponse
response;
70 reflection::v1alpha::ServerReflectionResponse>>
82 #if defined(GRPC_NO_XDS) || defined(DISABLED_XDS_PROTO_IN_CC)
85 "envoy.service.status.v3.ClientStatusDiscoveryService")));
89 "envoy.service.status.v3.ClientStatusDiscoveryService"));
90 #endif // GRPC_NO_XDS or DISABLED_XDS_PROTO_IN_CC
96 int main(
int argc,
char** argv) {
EXPECT_THAT(status.error_message(), ::testing::HasSubstr("subject_token_type"))
internal::NotMatcher< InnerMatcher > Not(InnerMatcher m)
std::string StrCat(const AlphaNum &a, const AlphaNum &b)
std::vector< std::string > GetServiceList()
A builder class for the creation and startup of grpc::Server instances.
std::shared_ptr< ClientReaderWriter< reflection::v1alpha::ServerReflectionRequest, reflection::v1alpha::ServerReflectionResponse > > stream_
ClientContext reflection_ctx_
std::shared_ptr< Channel > CreateChannel(const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds)
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
int grpc_pick_unused_port_or_die(void)
int main(int argc, char **argv)
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
TEST_F(ChannelArgumentsTest, SetInt)
UniquePtr< SSL_SESSION > ret
void AddAdminServices(grpc::ServerBuilder *builder)
std::shared_ptr< ServerCredentials > InsecureServerCredentials()
internal::AllOfResult2< M1, M2 >::type AllOf(M1 m1, M2 m2)
std::shared_ptr< ChannelCredentials > InsecureChannelCredentials()
Credentials for an unencrypted, unauthenticated channel.
__attribute__((deprecated("Please use GRPCProtoMethod."))) @interface ProtoMethod NSString * service
std::unique_ptr< Server > server_
internal::ContainsMatcher< M > Contains(M matcher)
void InitProtoReflectionServerBuilderPlugin()
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:40