mirror of https://github.com/grpc/grpc.git
parent
b32e89eb8b
commit
443a75dd22
10 changed files with 91 additions and 15 deletions
@ -0,0 +1,49 @@ |
||||
// Generated by the gRPC C++ plugin. |
||||
// If you make any local change, they will be lost. |
||||
// source: src/proto/grpc/testing/compiler_test.proto |
||||
|
||||
#include "src/proto/grpc/testing/compiler_test.pb.h" |
||||
#include "src/proto/grpc/testing/compiler_test.grpc.pb.h" |
||||
|
||||
#include <grpc++/impl/codegen/async_stream.h> |
||||
#include <grpc++/impl/codegen/sync_stream.h> |
||||
#include <gmock/gmock.h> |
||||
namespace grpc { |
||||
namespace testing { |
||||
|
||||
// ServiceA detached comment 1 |
||||
// |
||||
// ServiceA detached comment 2 |
||||
// |
||||
// ServiceA leading comment 1 |
||||
class MockServiceAStub : public ServiceA::StubInterface { |
||||
public: |
||||
MockServiceAStub(){} |
||||
~MockServiceAStub(){} |
||||
// MethodA1 leading comment 1 |
||||
MOCK_METHOD3(MethodA1, ::grpc::Status(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc::testing::Response* response)); |
||||
MOCK_METHOD3(AsyncMethodA1Raw, ::grpc::ClientAsyncResponseReaderInterface< ::grpc::testing::Response>*(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc::CompletionQueue* cq)); |
||||
// MethodA1 trailing comment 1 |
||||
// MethodA2 detached leading comment 1 |
||||
// |
||||
// Method A2 leading comment 1 |
||||
// Method A2 leading comment 2 |
||||
MOCK_METHOD2(MethodA2Raw, ::grpc::ClientWriterInterface< ::grpc::testing::Request>*(::grpc::ClientContext* context, ::grpc::testing::Response* response)); |
||||
MOCK_METHOD4(AsyncMethodA2Raw, ::grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>*(::grpc::ClientContext* context, ::grpc::testing::Response* response, ::grpc::CompletionQueue* cq, void* tag)); |
||||
// MethodA2 trailing comment 1 |
||||
}; |
||||
|
||||
// ServiceB leading comment 1 |
||||
class MockServiceBStub : public ServiceB::StubInterface { |
||||
public: |
||||
MockServiceBStub(){} |
||||
~MockServiceBStub(){} |
||||
// MethodB1 leading comment 1 |
||||
MOCK_METHOD3(MethodB1, ::grpc::Status(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc::testing::Response* response)); |
||||
MOCK_METHOD3(AsyncMethodB1Raw, ::grpc::ClientAsyncResponseReaderInterface< ::grpc::testing::Response>*(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc::CompletionQueue* cq)); |
||||
// MethodB1 trailing comment 1 |
||||
}; |
||||
|
||||
} // namespace grpc |
||||
} // namespace testing |
||||
|
Loading…
Reference in new issue