Namespaces | Functions
message_allocator_end2end_test.cc File Reference
#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"
Include dependency graph for message_allocator_end2end_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 395 of file message_allocator_end2end_test.cc.

Variable Documentation

◆ allocation_count

int allocation_count = 0

Definition at line 246 of file message_allocator_end2end_test.cc.

◆ allocator_mutator_

std::function<void(RpcAllocatorState* allocator_state, const EchoRequest* req, EchoResponse* resp)> allocator_mutator_
private

Definition at line 77 of file message_allocator_end2end_test.cc.

◆ arena_

google::protobuf::Arena arena_
private

Definition at line 336 of file message_allocator_end2end_test.cc.

◆ callback_service_

CallbackTestServiceImpl callback_service_
protected

Definition at line 193 of file message_allocator_end2end_test.cc.

◆ channel_

std::shared_ptr<Channel> channel_
protected

Definition at line 191 of file message_allocator_end2end_test.cc.

◆ credentials_type

const std::string credentials_type

Definition at line 88 of file message_allocator_end2end_test.cc.

◆ messages_deallocation_count

std::atomic_int messages_deallocation_count {0}

Definition at line 248 of file message_allocator_end2end_test.cc.

◆ messages_deallocation_count_

std::atomic_int* const messages_deallocation_count_
private

Definition at line 239 of file message_allocator_end2end_test.cc.

◆ picked_port_

int picked_port_ {0}
protected

Definition at line 190 of file message_allocator_end2end_test.cc.

◆ protocol

Protocol protocol

Definition at line 87 of file message_allocator_end2end_test.cc.

◆ request_deallocation_count

std::atomic_int request_deallocation_count {0}

Definition at line 247 of file message_allocator_end2end_test.cc.

◆ request_deallocation_count_

std::atomic_int* const request_deallocation_count_
private

Definition at line 238 of file message_allocator_end2end_test.cc.

◆ server_

std::unique_ptr<Server> server_
protected

Definition at line 194 of file message_allocator_end2end_test.cc.

◆ server_address_

std::ostringstream server_address_
protected

Definition at line 195 of file message_allocator_end2end_test.cc.

◆ stub_

std::unique_ptr<EchoTestService::Stub> stub_
protected

Definition at line 192 of file message_allocator_end2end_test.cc.



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