Home
last modified time | relevance | path

Searched refs:TestService (Results 1 – 25 of 69) sorted by relevance

123

/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DInteropClient.cs137 var client = new TestService.TestServiceClient(channel); in RunTestCaseAsync()
205 public static void RunEmptyUnary(TestService.TestServiceClient client) in RunEmptyUnary()
213 public static void RunLargeUnary(TestService.TestServiceClient client) in RunLargeUnary()
227 public static async Task RunClientStreamingAsync(TestService.TestServiceClient client) in RunClientStreamingAsync()
243 public static async Task RunServerStreamingAsync(TestService.TestServiceClient client) in RunServerStreamingAsync()
262 public static async Task RunPingPongAsync(TestService.TestServiceClient client) in RunPingPongAsync()
311 public static async Task RunEmptyStreamAsync(TestService.TestServiceClient client) in RunEmptyStreamAsync()
324 …public static void RunComputeEngineCreds(TestService.TestServiceClient client, string defaultServi… in RunComputeEngineCreds()
346 public static void RunJwtTokenCreds(TestService.TestServiceClient client) in RunJwtTokenCreds()
365 …public static async Task RunOAuth2AuthTokenAsync(TestService.TestServiceClient client, string oaut… in RunOAuth2AuthTokenAsync()
[all …]
DMetadataCredentialsTest.cs39 TestService.TestServiceClient client;
49 Services = { TestService.BindService(serviceImpl) }, in Init()
86 client = new TestService.TestServiceClient(channel); in MetadataCredentials_Channel()
108 client = new TestService.TestServiceClient(channel); in MetadataCredentials_PerCall()
142 client = new TestService.TestServiceClient(channel); in MetadataCredentials_BothChannelAndPerCall()
177 var client = new TestService.TestServiceClient(channel); in MetadataCredentials_Composed()
196 var client = new TestService.TestServiceClient(channel); in MetadataCredentials_ComposedPerCall()
223 client = new TestService.TestServiceClient(channel); in MetadataCredentials_InterceptorLeavesMetadataEmpty()
237 client = new TestService.TestServiceClient(channel); in MetadataCredentials_InterceptorThrows()
244 private class FakeTestService : TestService.TestServiceBase
DGeneratedServiceBaseTest.cs37 TestService.TestServiceClient client;
45 Services = { TestService.BindService(new UnimplementedTestServiceImpl()) }, in Init()
50 client = new TestService.TestServiceClient(channel); in Init()
97 private class UnimplementedTestServiceImpl : TestService.TestServiceBase
DExternalDnsClientServerTest.cs43 TestService.TestServiceClient client;
51 Services = { TestService.BindService(new TestServiceImpl()) }, in Init()
58 client = new TestService.TestServiceClient(channel); in Init()
DCustomErrorDetailsTest.cs43 TestService.TestServiceClient client;
51 Services = { TestService.BindService(new CustomErrorDetailsTestServiceImpl()) }, in Init()
57 client = new TestService.TestServiceClient(channel); in Init()
109 private class CustomErrorDetailsTestServiceImpl : TestService.TestServiceBase
DUnobservedTaskExceptionTest.cs40 TestService.TestServiceClient client;
48 Services = { TestService.BindService(new TestServiceImpl()) }, in Init()
55 client = new TestService.TestServiceClient(channel); in Init()
DInteropClientServerTest.cs39 TestService.TestServiceClient client;
47 Services = { TestService.BindService(new TestServiceImpl()) }, in Init()
58 client = new TestService.TestServiceClient(channel); in Init()
DExternalDnsWithTracingClientServerTest.cs45 TestService.TestServiceClient client;
68 Services = { TestService.BindService(new TestServiceImpl()) }, in Init()
77 client = new TestService.TestServiceClient(channel); in Init()
DGeneratedClientTest.cs34 TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient();
63 private class UnimplementedTestServiceClient : TestService.TestServiceClient
DSslCredentialsTest.cs43 TestService.TestServiceClient client;
63 Services = { TestService.BindService(new SslCredentialsTestServiceImpl()) }, in InitClientAndServer()
74 client = new TestService.TestServiceClient(channel); in InitClientAndServer()
262 private class SslCredentialsTestServiceImpl : TestService.TestServiceBase
DStressTestClient.cs122 var client = new TestService.TestServiceClient(channel); in Run()
139 async Task RunBodyAsync(TestService.TestServiceClient client) in RunBodyAsync()
156 async Task RunTestCaseAsync(TestService.TestServiceClient client, string testCase) in RunTestCaseAsync()
DXdsInteropClientTest.cs52 Services = { TestService.BindService(backendService) }, in Init()
158 public class BackendServiceImpl : TestService.TestServiceBase
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java42 import protobuf_unittest.UnittestProto.TestService;
61 TestService.getDescriptor().getMethods().get(0);
63 TestService.getDescriptor().getMethods().get(1);
80 TestService mockService = control.createMock(TestService.class); in testCallMethod()
103 TestService mockService = control.createMock(TestService.class); in testGetPrototype()
118 TestService stub = TestService.newStub(mockChannel); in testStub()
144 TestService.BlockingInterface stub = TestService.newBlockingStub(mockChannel); in testBlockingStub()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DServiceTest.java40 import protobuf_unittest.UnittestProto.TestService;
65 TestService.getDescriptor().getMethods().get(0);
67 TestService.getDescriptor().getMethods().get(1);
84 TestService mockService = control.createMock(TestService.class); in testCallMethod()
101 TestService mockService = control.createMock(TestService.class); in testGetPrototype()
120 TestService stub = TestService.newStub(mockChannel); in testStub()
147 TestService.BlockingInterface stub = in testBlockingStub()
148 TestService.newBlockingStub(mockChannel); in testBlockingStub()
/third_party/grpc/test/cpp/interop/
Dgrpclb_fallback_test.cc82 using grpc::testing::TestService;
91 GrpclbRouteType DoRPCAndGetPath(TestService::Stub* stub, int deadline_seconds, in DoRPCAndGetPath()
120 GrpclbRouteType DoRPCAndGetPath(TestService::Stub* stub, int deadline_seconds) { in DoRPCAndGetPath()
124 GrpclbRouteType DoWaitForReadyRPCAndGetPath(TestService::Stub* stub, in DoWaitForReadyRPCAndGetPath()
161 std::unique_ptr<TestService::Stub> CreateFallbackTestStub() { in CreateFallbackTestStub()
174 return TestService::NewStub( in CreateFallbackTestStub()
197 std::unique_ptr<TestService::Stub> stub = CreateFallbackTestStub(); in RunFallbackBeforeStartupTest()
221 std::unique_ptr<TestService::Stub> stub = CreateFallbackTestStub(); in RunFallbackAfterStartupTest()
Dhttp2_client.h49 TestService::Stub* Get();
52 std::unique_ptr<TestService::Stub> stub_;
Dxds_interop_server.cc52 using grpc::testing::TestService;
54 class TestServiceImpl : public TestService::Service {
Dinterop_client.h109 TestService::Stub* Get();
117 std::unique_ptr<TestService::Stub> stub_;
Dhttp2_client.cc47 stub_ = TestService::NewStub(channel); in ServiceStub()
50 TestService::Stub* Http2Client::ServiceStub::Get() { return stub_.get(); } in Get()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dservice_reflection_test.py59 class MyService(unittest_pb2.TestService):
77 service_descriptor = unittest_pb2.TestService.GetDescriptor()
84 class MyServiceImpl(unittest_pb2.TestService):
/third_party/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py64 class MyService(unittest_pb2.TestService):
82 service_descriptor = unittest_pb2.TestService.GetDescriptor()
93 class MyServiceImpl(unittest_pb2.TestService):
/third_party/grpc/src/objective-c/tests/Connectivity/ConnectivityTestingApp/
DViewController.m48 service:@"TestService"
76 service:@"TestService"
/third_party/grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_python_plugin_test.py549 response = service_pb2_grpc.TestService.UnaryCall(
561 response = service_pb2_grpc.TestService.UnaryCall(request,
573 responses = service_pb2_grpc.TestService.StreamingOutputCall(
584 response = service_pb2_grpc.TestService.StreamingInputCall(
595 responses = service_pb2_grpc.TestService.FullDuplexCall(
618 responses = service_pb2_grpc.TestService.HalfDuplexCall(
/third_party/grpc/src/python/grpcio_tests/tests/interop/
D_insecure_intraop_test.py32 test_pb2_grpc.add_TestServiceServicer_to_server(service.TestService(),
D_secure_intraop_test.py33 test_pb2_grpc.add_TestServiceServicer_to_server(service.TestService(),

123