Namespaces | Functions
mock_test.cc File Reference
#include <climits>
#include <iostream>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "absl/types/optional.h"
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include <grpcpp/channel.h>
#include <grpcpp/client_context.h>
#include <grpcpp/create_channel.h>
#include <grpcpp/server.h>
#include <grpcpp/server_builder.h>
#include <grpcpp/server_context.h>
#include <grpcpp/test/default_reactor_test_peer.h>
#include <grpcpp/test/mock_stream.h>
#include "src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.h"
#include "src/proto/grpc/testing/echo.grpc.pb.h"
#include "src/proto/grpc/testing/echo_mock.grpc.pb.h"
#include "test/core/util/port.h"
#include "test/core/util/test_config.h"
Include dependency graph for mock_test.cc:

Go to the source code of this file.

Namespaces

 grpc
 
 grpc::testing
 

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 429 of file mock_test.cc.

Variable Documentation

◆ context_

ServerContext context_
protected

Definition at line 187 of file mock_test.cc.

◆ server_

std::unique_ptr<Server> server_
protected

Definition at line 335 of file mock_test.cc.

◆ server_address_

std::ostringstream server_address_
protected

Definition at line 336 of file mock_test.cc.

◆ service_

TestServiceImpl service_
protected

Definition at line 186 of file mock_test.cc.

◆ stub_

std::unique_ptr<grpc::testing::EchoTestService::Stub> stub_
private

Definition at line 160 of file mock_test.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:23