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::Channel > | BinderChannelForTesting (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 | |
| TransactionProcessor * | g_transaction_processor = nullptr |
| 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.
| 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.
| std::pair< grpc_transport *, grpc_transport * > grpc_binder::end2end_testing::CreateClientServerBindersPairForTesting | ( | ) |
Definition at line 64 of file testing_channel_create.cc.
| grpc_binder::end2end_testing::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 > > grpc_binder::end2end_testing::NewBinderPair | ( | TransactionReceiver::OnTransactCb | transact_cb | ) |
Definition at line 267 of file fake_binder.cc.
| grpc_binder::end2end_testing::TEST_P | ( | FakeBinderTest | , |
| SendBinder | |||
| ) |
Definition at line 160 of file fake_binder_test.cc.
| grpc_binder::end2end_testing::TEST_P | ( | FakeBinderTest | , |
| SendByteArray | |||
| ) |
Definition at line 94 of file fake_binder_test.cc.
| grpc_binder::end2end_testing::TEST_P | ( | FakeBinderTest | , |
| SendInt32 | |||
| ) |
Definition at line 44 of file fake_binder_test.cc.
| grpc_binder::end2end_testing::TEST_P | ( | FakeBinderTest | , |
| SendMultipleItems | |||
| ) |
Definition at line 122 of file fake_binder_test.cc.
| grpc_binder::end2end_testing::TEST_P | ( | FakeBinderTest | , |
| SendString | |||
| ) |
Definition at line 69 of file fake_binder_test.cc.
| grpc_binder::end2end_testing::TEST_P | ( | FakeBinderTest | , |
| SendTransactionAfterDestruction | |||
| ) |
Definition at line 201 of file fake_binder_test.cc.
| grpc_binder::end2end_testing::TEST_P | ( | FakeBinderTest | , |
| StressTest | |||
| ) |
Definition at line 254 of file fake_binder_test.cc.
| TransactionProcessor * grpc_binder::end2end_testing::g_transaction_processor = nullptr |
Definition at line 25 of file fake_binder.cc.