Home
last modified time | relevance | path

Searched refs:FakeResolverResponseGenerator (Results 1 – 13 of 13) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc59 friend class FakeResolverResponseGenerator;
74 RefCountedPtr<FakeResolverResponseGenerator> response_generator_;
97 FakeResolverResponseGenerator::GetFromArgs(args.args)) { in FakeResolver()
225 FakeResolverResponseGenerator::FakeResolverResponseGenerator() {} in FakeResolverResponseGenerator() function in grpc_core::FakeResolverResponseGenerator
227 FakeResolverResponseGenerator::~FakeResolverResponseGenerator() {} in ~FakeResolverResponseGenerator()
229 void FakeResolverResponseGenerator::SetResponse(Resolver::Result result) { in SetResponse()
246 void FakeResolverResponseGenerator::SetReresolutionResponse( in SetReresolutionResponse()
260 void FakeResolverResponseGenerator::UnsetReresolutionResponse() { in UnsetReresolutionResponse()
273 void FakeResolverResponseGenerator::SetFailure() { in SetFailure()
286 void FakeResolverResponseGenerator::SetFailureOnReresolution() { in SetFailureOnReresolution()
[all …]
Dfake_resolver.h42 class FakeResolverResponseGenerator
43 : public RefCounted<FakeResolverResponseGenerator> {
45 FakeResolverResponseGenerator();
46 ~FakeResolverResponseGenerator() override;
72 static grpc_arg MakeChannelArg(FakeResolverResponseGenerator* generator);
75 static RefCountedPtr<FakeResolverResponseGenerator> GetFromArgs(
/third_party/grpc/test/core/end2end/
Dno_server_test.cc40 grpc_core::RefCountedPtr<grpc_core::FakeResolverResponseGenerator> in run_test()
42 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in run_test()
43 grpc_arg arg = grpc_core::FakeResolverResponseGenerator::MakeChannelArg( in run_test()
/third_party/grpc/test/core/client_channel/resolvers/
Dfake_resolver_test.cc70 grpc_core::FakeResolverResponseGenerator* response_generator, in build_fake_resolver()
75 grpc_core::FakeResolverResponseGenerator::MakeChannelArg( in build_fake_resolver()
115 grpc_core::RefCountedPtr<grpc_core::FakeResolverResponseGenerator> in test_fake_resolver()
117 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in test_fake_resolver()
/third_party/grpc/test/cpp/client/
Ddestroy_grpclb_channel_with_active_connect_stress_test.cc55 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in TryConnectAndDestroy()
Dclient_channel_stress_test.cc280 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in CreateStub()
336 grpc_core::RefCountedPtr<grpc_core::FakeResolverResponseGenerator>
/third_party/grpc/test/core/iomgr/
Dstranded_event_test.cc339 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in TEST()
346 args.push_back(grpc_core::FakeResolverResponseGenerator::MakeChannelArg( in TEST()
/third_party/grpc/test/cpp/end2end/
Dservice_config_end2end_test.cc133 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in SetUp()
428 grpc_core::RefCountedPtr<grpc_core::FakeResolverResponseGenerator>
Dxds_end2end_test.cc1143 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in SetUp()
1145 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in SetUp()
1394 grpc_core::FakeResolverResponseGenerator* in SetNextResolution()
1409 grpc_arg arg = grpc_core::FakeResolverResponseGenerator::MakeChannelArg( in SetNextResolution()
1419 grpc_core::FakeResolverResponseGenerator* lb_channel_response_generator = in SetNextResolutionForLbChannelAllBalancers()
1431 grpc_core::FakeResolverResponseGenerator* lb_channel_response_generator = in SetNextResolutionForLbChannel()
1694 grpc_core::RefCountedPtr<grpc_core::FakeResolverResponseGenerator>
1696 grpc_core::RefCountedPtr<grpc_core::FakeResolverResponseGenerator>
Dclient_lb_end2end_test.cc157 grpc_core::FakeResolverResponseGenerator>()) {} in FakeResolverResponseGeneratorWrapper()
181 grpc_core::FakeResolverResponseGenerator* Get() const { in Get()
208 grpc_core::RefCountedPtr<grpc_core::FakeResolverResponseGenerator>
Dgrpclb_end2end_test.cc421 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in SetUp()
732 grpc_core::RefCountedPtr<grpc_core::FakeResolverResponseGenerator>
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/
Dgrpclb.cc444 RefCountedPtr<FakeResolverResponseGenerator> response_generator_;
1266 FakeResolverResponseGenerator* response_generator, in BuildBalancerChannelArgs()
1300 grpc_core::FakeResolverResponseGenerator::MakeChannelArg( in BuildBalancerChannelArgs()
1323 response_generator_(MakeRefCounted<FakeResolverResponseGenerator>()), in GrpcLb()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_resolver.cc481 FakeResolverResponseGenerator* fake_resolver_response_generator = in Start()
482 grpc_channel_args_find_pointer<FakeResolverResponseGenerator>( in Start()
487 grpc_arg new_arg = FakeResolverResponseGenerator::MakeChannelArg( in Start()