#include <algorithm>
#include <atomic>
#include <condition_variable>
#include <functional>
#include <memory>
#include <mutex>
#include <sstream>
#include <thread>
#include <google/protobuf/arena.h>
#include <gtest/gtest.h>
#include <grpc/impl/codegen/log.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/support/client_callback.h>
#include <grpcpp/support/message_allocator.h>
#include "src/core/lib/iomgr/iomgr.h"
#include "src/proto/grpc/testing/echo.grpc.pb.h"
#include "test/core/util/port.h"
#include "test/core/util/test_config.h"
#include "test/cpp/util/test_credentials_provider.h"
Go to the source code of this file.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ allocation_count
◆ allocator_mutator_
std::function<void(RpcAllocatorState* allocator_state, const EchoRequest* req, EchoResponse* resp)> allocator_mutator_ |
|
private |
◆ arena_
◆ callback_service_
CallbackTestServiceImpl callback_service_ |
|
protected |
◆ channel_
std::shared_ptr<Channel> channel_ |
|
protected |
◆ credentials_type
const std::string credentials_type |
◆ messages_deallocation_count
std::atomic_int messages_deallocation_count {0} |
◆ messages_deallocation_count_
std::atomic_int* const messages_deallocation_count_ |
|
private |
◆ picked_port_
◆ protocol
◆ request_deallocation_count
std::atomic_int request_deallocation_count {0} |
◆ request_deallocation_count_
std::atomic_int* const request_deallocation_count_ |
|
private |
◆ server_
std::unique_ptr<Server> server_ |
|
protected |
◆ server_address_
std::ostringstream server_address_ |
|
protected |
◆ stub_
std::unique_ptr<EchoTestService::Stub> stub_ |
|
protected |