/external/grpc-grpc/test/cpp/end2end/ |
D | async_end2end_test.cc | 49 using grpc::testing::EchoResponse; 307 EchoResponse send_response; in SendRpc() 308 EchoResponse recv_response; in SendRpc() 313 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx); in SendRpc() 316 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in SendRpc() 417 EchoResponse send_response; in TEST_P() 418 EchoResponse recv_response; in TEST_P() 423 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx); in TEST_P() 426 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in TEST_P() 458 EchoResponse send_response; in TEST_P() [all …]
|
D | mock_test.cc | 54 using grpc::testing::EchoResponse; 71 EchoResponse response; in DoEcho() 80 EchoResponse response; in DoRequestStream() 106 EchoResponse response; in DoResponseStream() 110 std::unique_ptr<ClientReaderInterface<EchoResponse>> cstream = in DoResponseStream() 129 EchoResponse response; in DoBidiStream() 133 std::unique_ptr<ClientReaderWriterInterface<EchoRequest, EchoResponse>> in DoBidiStream() 167 EchoResponse* response) override { in Echo() 174 EchoResponse* response) override { in RequestStream() 186 ServerWriter<EchoResponse>* writer) override { in ResponseStream() [all …]
|
D | end2end_test.cc | 50 using grpc::testing::EchoResponse; 175 EchoResponse* response) override { in Echo() 189 EchoResponse* response) override { in Echo() 343 EchoResponse response; in SendRpc() 381 EchoResponse response; in TestRequestStreamServerCancel() 454 EchoResponse response; in TestResponseStreamServerCancel() 531 EchoResponse response; in TestBidiStreamServerCancel() 601 EchoResponse response; in TEST_P() 668 EchoResponse response; in TEST_P() 735 EchoResponse response; in TEST_P() [all …]
|
D | hybrid_end2end_test.cc | 63 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx); in HandleEcho() 65 EchoResponse send_response; in HandleEcho() 91 EchoResponse send_response; in HandleRawEcho() 102 EchoResponse send_response; in HandleClientStreaming() 103 ServerAsyncReader<EchoResponse, EchoRequest> srv_stream(&srv_ctx); in HandleClientStreaming() 121 EchoResponse send_response; in HandleRawClientStreaming() 144 EchoResponse send_response; in HandleServerStreaming() 145 ServerAsyncWriter<EchoResponse> srv_stream(&srv_ctx); in HandleServerStreaming() 169 EchoResponse send_response; in HandleGenericEcho() 182 EchoResponse send_response; in HandleGenericRequestStream() [all …]
|
D | streaming_throughput_test.cc | 44 using grpc::testing::EchoResponse; 91 ServerReaderWriter<EchoResponse, EchoRequest>* stream, in BidiStream_Sender() argument 93 EchoResponse response; in BidiStream_Sender() 110 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override { in BidiStream() argument 159 static void Drainer(ClientReaderWriter<EchoRequest, EchoResponse>* reader) { in Drainer() 160 EchoResponse response; in Drainer()
|
D | test_service_impl.h | 53 EchoResponse* response) override; 59 EchoResponse* response) override; 62 ServerWriter<EchoResponse>* writer) override; 66 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override;
|
D | server_crash_test.cc | 38 using grpc::testing::EchoResponse; 54 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override { in BidiStream() argument 57 EchoResponse response; in BidiStream() 69 ServerWriter<EchoResponse>* writer) override { in ResponseStream() 70 EchoResponse response; in ResponseStream()
|
D | exception_test.cc | 43 EchoResponse* response) override { in Echo() 48 EchoResponse* response) override { in RequestStream() 88 EchoResponse response; in TEST_F() 101 EchoResponse response; in TEST_F()
|
D | test_service_impl.cc | 42 EchoResponse* response) { in MaybeEchoDeadline() 75 EchoResponse* response) { in Echo() 172 EchoResponse* response) { in RequestStream() 222 ServerWriter<EchoResponse>* writer) { in ResponseStream() 246 EchoResponse response; in ResponseStream() 278 ServerReaderWriter<EchoResponse, EchoRequest>* stream) { in BidiStream() argument 291 EchoResponse response; in BidiStream()
|
D | server_early_return_test.cc | 53 EchoResponse* response) override { in RequestStream() 77 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override { in BidiStream() argument 86 EchoResponse response; in BidiStream() 142 EchoResponse response; in DoBidiStream() 180 EchoResponse response; in DoRequestStream()
|
D | client_crash_test_server.cc | 34 using grpc::testing::EchoResponse; 49 ServerReaderWriter<EchoResponse, EchoRequest>* stream) override { in BidiStream() argument 51 EchoResponse response; in BidiStream()
|
D | generic_end2end_test.cc | 42 using grpc::testing::EchoResponse; 111 EchoResponse send_response; in SendRpc() 112 EchoResponse recv_response; in SendRpc() 206 EchoResponse send_response; in TEST_F() 207 EchoResponse recv_response; in TEST_F() 264 EchoResponse send_response; in TEST_F() 265 EchoResponse recv_response; in TEST_F()
|
D | thread_stress_test.cc | 42 using grpc::testing::EchoResponse; 59 EchoResponse* response) override { in Echo() 218 EchoResponse send_response; in ProcessRpcs() 237 new grpc::ServerAsyncResponseWriter<EchoResponse>( in RefreshContext() 247 std::unique_ptr<grpc::ServerAsyncResponseWriter<EchoResponse>> 274 EchoResponse response; in SendRpc() 353 EchoResponse response; 356 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader;
|
D | raw_end2end_test.cc | 46 using grpc::testing::EchoResponse; 154 EchoResponse send_response_; 159 EchoResponse recv_response_; 173 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx_); in TEST_F() 176 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in TEST_F() 201 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in TEST_F() 275 std::unique_ptr<ClientAsyncReader<EchoResponse>> cli_stream( in TEST_F() 318 std::unique_ptr<ClientAsyncReaderWriter<EchoRequest, EchoResponse>> in TEST_F()
|
D | nonblocking_test.cc | 118 EchoResponse send_response; in SendRpc() 119 EchoResponse recv_response; in SendRpc() 124 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer(&srv_ctx); in SendRpc() 127 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in SendRpc()
|
D | client_crash_test.cc | 38 using grpc::testing::EchoResponse; 76 EchoResponse response; in TEST_F() 102 EchoResponse response; in TEST_F()
|
D | filter_end2end_test.cc | 45 using grpc::testing::EchoResponse; 166 EchoResponse send_response; in SendRpc() 167 EchoResponse recv_response; in SendRpc() 261 EchoResponse send_response; in TEST_F() 262 EchoResponse recv_response; in TEST_F()
|
/external/grpc-grpc/doc/ |
D | unit_testing.md | 12 rpc Echo(EchoRequest) returns (EchoResponse); 13 rpc BidiStream(stream EchoRequest) returns (stream EchoResponse); 23 …context, const ::grpc::testing::EchoRequest& request, ::grpc::testing::EchoResponse* response) = 0; 25 …ReaderWriterInterface< ::grpc::testing::EchoRequest, ::grpc::testing::EchoResponse>> BidiStream(::… 26 …ReaderWriterInterface< ::grpc::testing::EchoRequest, ::grpc::testing::EchoResponse>>(BidiStreamRaw… 30 …ReaderWriterInterface< ::grpc::testing::EchoRequest, ::grpc::testing::EchoResponse>* BidiStreamRaw… 46 …t* context, const ::grpc::testing::EchoRequest& request, ::grpc::testing::EchoResponse* response)); 47 …ReaderWriterInterface< ::grpc::testing::EchoRequest, ::grpc::testing::EchoResponse>*(::grpc::Clien… 94 EchoResponse response; 103 EchoResponse response; [all …]
|
/external/grpc-grpc/src/proto/grpc/testing/ |
D | echo.proto | 23 rpc Echo(EchoRequest) returns (EchoResponse); 24 rpc RequestStream(stream EchoRequest) returns (EchoResponse); 25 rpc ResponseStream(EchoRequest) returns (stream EchoResponse); 26 rpc BidiStream(stream EchoRequest) returns (stream EchoResponse); 27 rpc Unimplemented(EchoRequest) returns (EchoResponse); 31 rpc Unimplemented(EchoRequest) returns (EchoResponse);
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | fullstack_streaming_ping_pong.h | 55 EchoResponse send_response; in BM_StreamingPingPong() 56 EchoResponse recv_response; in BM_StreamingPingPong() 71 ServerAsyncReaderWriter<EchoResponse, EchoRequest> response_rw(&svr_ctx); in BM_StreamingPingPong() 148 EchoResponse send_response; in BM_StreamingPingPongMsgs() 149 EchoResponse recv_response; in BM_StreamingPingPongMsgs() 163 ServerAsyncReaderWriter<EchoResponse, EchoRequest> response_rw(&svr_ctx); in BM_StreamingPingPongMsgs() 252 EchoResponse send_response; in BM_StreamingPingPongWithCoalescingApi() 253 EchoResponse recv_response; in BM_StreamingPingPongWithCoalescingApi() 268 ServerAsyncReaderWriter<EchoResponse, EchoRequest> response_rw(&svr_ctx); in BM_StreamingPingPongWithCoalescingApi()
|
D | fullstack_unary_ping_pong.h | 45 EchoResponse send_response; in BM_UnaryPingPong() 46 EchoResponse recv_response; in BM_UnaryPingPong() 57 grpc::ServerAsyncResponseWriter<EchoResponse> response_writer; in BM_UnaryPingPong() 79 std::unique_ptr<ClientAsyncResponseReader<EchoResponse>> response_reader( in BM_UnaryPingPong()
|
D | fullstack_streaming_pump.h | 52 ServerAsyncReaderWriter<EchoResponse, EchoRequest> response_rw(&svr_ctx); in BM_PumpStreamClientToServer() 114 EchoResponse send_response; in BM_PumpStreamServerToClient() 115 EchoResponse recv_response; in BM_PumpStreamServerToClient() 121 ServerAsyncReaderWriter<EchoResponse, EchoRequest> response_rw(&svr_ctx); in BM_PumpStreamServerToClient()
|
D | bm_opencensus_plugin.cc | 37 grpc::testing::EchoResponse* response) override { in Echo() 89 grpc::testing::EchoResponse response; in BM_E2eLatencyCensusDisabled() 109 grpc::testing::EchoResponse response; in BM_E2eLatencyCensusEnabled()
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | EchoMessages.cs | 56 …r::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.EchoResponse), global::Grpc.Testing.EchoRespon… in EchoMessagesReflection() 1324 public sealed partial class EchoResponse : pb::IMessage<EchoResponse> { class 1325 … static readonly pb::MessageParser<EchoResponse> _parser = new pb::MessageParser<EchoResponse>(() … 1328 public static pb::MessageParser<EchoResponse> Parser { get { return _parser; } } 1341 public EchoResponse() { in EchoResponse() method in Grpc.Testing.EchoResponse 1348 public EchoResponse(EchoResponse other) : this() { in EchoResponse() method in Grpc.Testing.EchoResponse 1355 public EchoResponse Clone() { in Clone() 1356 return new EchoResponse(this); in Clone() 1383 return Equals(other as EchoResponse); in Equals() 1387 public bool Equals(EchoResponse other) { in Equals() [all …]
|
/external/grpc-grpc/test/cpp/server/ |
D | server_request_call_test.cc | 60 ServerAsyncResponseWriter<testing::EchoResponse> responder(&ctx); in TEST() 94 testing::EchoResponse response; in TEST() 133 testing::EchoResponse response; in TEST()
|