Home
last modified time | relevance | path

Searched refs:fake_messager_ (Results 1 – 1 of 1) sorted by relevance

/external/openscreen/cast/streaming/
Drpc_broker_unittest.cc59 fake_messager_ = std::make_unique<FakeMessager>(); in SetUp()
60 ASSERT_FALSE(fake_messager_->received_count()); in SetUp()
63 [p = fake_messager_.get()](std::vector<uint8_t> message) { in SetUp()
68 fake_messager_->set_handle(handle); in SetUp()
70 handle, [p = fake_messager_.get()](const RpcMessage& message) { in SetUp()
75 std::unique_ptr<FakeMessager> fake_messager_; member in openscreen::cast::RpcBrokerTest
81 rpc.set_handle(fake_messager_->handle()); in TEST_F()
83 ASSERT_EQ(1, fake_messager_->received_count()); in TEST_F()
88 rpc_broker_->UnregisterMessageReceiverCallback(fake_messager_->handle()); in TEST_F()
90 ASSERT_EQ(0, fake_messager_->received_count()); in TEST_F()
[all …]