mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.1 KiB
50 lines
2.1 KiB
8 years ago
|
// 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
|
||
|
|