Classes | Typedefs | Functions | Variables
grpc_binder::end2end_testing Namespace Reference

Classes

class  FakeBinder
 
class  FakeBinderTunnel
 
struct  FakeEndpoint
 
class  FakeReadableParcel
 
class  FakeTransactionReceiver
 
class  FakeWritableParcel
 
class  PersistentFakeTransactionReceiver
 
class  TransactionProcessor
 

Typedefs

using FakeData = std::vector< absl::variant< int32_t, int64_t, void *, std::string, std::vector< int8_t > >>
 

Functions

std::shared_ptr< grpc::ChannelBinderChannelForTesting (grpc::Server *server, const grpc::ChannelArguments &args)
 
std::pair< grpc_transport *, grpc_transport * > CreateClientServerBindersPairForTesting ()
 
 INSTANTIATE_TEST_SUITE_P (FakeBinderTestWithDifferentDelayTimes, FakeBinderTest, testing::Values(absl::ZeroDuration(), absl::Nanoseconds(10), absl::Microseconds(10)))
 
std::pair< std::unique_ptr< Binder >, std::unique_ptr< TransactionReceiver > > NewBinderPair (TransactionReceiver::OnTransactCb transact_cb)
 
 TEST_P (FakeBinderTest, SendBinder)
 
 TEST_P (FakeBinderTest, SendByteArray)
 
 TEST_P (FakeBinderTest, SendInt32)
 
 TEST_P (FakeBinderTest, SendMultipleItems)
 
 TEST_P (FakeBinderTest, SendString)
 
 TEST_P (FakeBinderTest, SendTransactionAfterDestruction)
 
 TEST_P (FakeBinderTest, StressTest)
 

Variables

TransactionProcessorg_transaction_processor = nullptr
 

Typedef Documentation

◆ FakeData

using grpc_binder::end2end_testing::FakeData = typedef std::vector< absl::variant<int32_t, int64_t, void*, std::string, std::vector<int8_t> >>

Definition at line 76 of file fake_binder.h.

Function Documentation

◆ BinderChannelForTesting()

std::shared_ptr< grpc::Channel > grpc_binder::end2end_testing::BinderChannelForTesting ( grpc::Server server,
const grpc::ChannelArguments args 
)

Definition at line 97 of file testing_channel_create.cc.

◆ CreateClientServerBindersPairForTesting()

std::pair< grpc_transport *, grpc_transport * > grpc_binder::end2end_testing::CreateClientServerBindersPairForTesting ( )

Definition at line 64 of file testing_channel_create.cc.

◆ INSTANTIATE_TEST_SUITE_P()

grpc_binder::end2end_testing::INSTANTIATE_TEST_SUITE_P ( FakeBinderTestWithDifferentDelayTimes  ,
FakeBinderTest  ,
testing::Values(absl::ZeroDuration(), absl::Nanoseconds(10), absl::Microseconds(10))   
)

◆ NewBinderPair()

std::pair< std::unique_ptr< Binder >, std::unique_ptr< TransactionReceiver > > grpc_binder::end2end_testing::NewBinderPair ( TransactionReceiver::OnTransactCb  transact_cb)

Definition at line 267 of file fake_binder.cc.

◆ TEST_P() [1/7]

grpc_binder::end2end_testing::TEST_P ( FakeBinderTest  ,
SendBinder   
)

Definition at line 160 of file fake_binder_test.cc.

◆ TEST_P() [2/7]

grpc_binder::end2end_testing::TEST_P ( FakeBinderTest  ,
SendByteArray   
)

Definition at line 94 of file fake_binder_test.cc.

◆ TEST_P() [3/7]

grpc_binder::end2end_testing::TEST_P ( FakeBinderTest  ,
SendInt32   
)

Definition at line 44 of file fake_binder_test.cc.

◆ TEST_P() [4/7]

grpc_binder::end2end_testing::TEST_P ( FakeBinderTest  ,
SendMultipleItems   
)

Definition at line 122 of file fake_binder_test.cc.

◆ TEST_P() [5/7]

grpc_binder::end2end_testing::TEST_P ( FakeBinderTest  ,
SendString   
)

Definition at line 69 of file fake_binder_test.cc.

◆ TEST_P() [6/7]

grpc_binder::end2end_testing::TEST_P ( FakeBinderTest  ,
SendTransactionAfterDestruction   
)

Definition at line 201 of file fake_binder_test.cc.

◆ TEST_P() [7/7]

grpc_binder::end2end_testing::TEST_P ( FakeBinderTest  ,
StressTest   
)

Definition at line 254 of file fake_binder_test.cc.

Variable Documentation

◆ g_transaction_processor

TransactionProcessor * grpc_binder::end2end_testing::g_transaction_processor = nullptr

Definition at line 25 of file fake_binder.cc.



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