Home
last modified time | relevance | path

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

/external/chromium_org/media/cast/net/pacing/
Dpaced_sender_unittest.cc64 paced_sender_.reset(new PacedSender(cast_environment_, &mock_transport_)); in SetUp()
76 TestPacketSender mock_transport_; member in media::cast::PacedSenderTest
83 mock_transport_.AddExpectedSize(kSize1, 1); in TEST_F()
89 mock_transport_.AddExpectedSize(kSize2, 1); in TEST_F()
97 mock_transport_.AddExpectedSize(kSize1, 3); in TEST_F()
101 mock_transport_.AddExpectedSize(kSize1, 3); in TEST_F()
113 mock_transport_.AddExpectedSize(kSize1, 3); in TEST_F()
138 mock_transport_.AddExpectedSize(kSize1, 3); in TEST_F()
145 mock_transport_.AddExpectedSize(kNackSize, 5); in TEST_F()
154 mock_transport_.AddExpectedSize(kNackSize, 7); in TEST_F()
[all …]
/external/chromium_org/media/cast/video_sender/
Dvideo_sender_unittest.cc76 video_config, &mock_video_encoder_controller_, &mock_transport_)); in InitEncoder()
79 NULL, &mock_transport_)); in InitEncoder()
101 MockPacedPacketSender mock_transport_; member in media::cast::VideoSenderTest
108 EXPECT_CALL(mock_transport_, SendPackets(_)).Times(1); in TEST_F()
120 EXPECT_CALL(mock_transport_, SendPackets(_)).Times(1); in TEST_F()
138 EXPECT_CALL(mock_transport_, SendPackets(_)).Times(AtLeast(1)); in TEST_F()
139 EXPECT_CALL(mock_transport_, SendRtcpPacket(_)).Times(1); in TEST_F()
165 EXPECT_CALL(mock_transport_, SendPackets(_)).Times(2); in TEST_F()
166 EXPECT_CALL(mock_transport_, ResendPackets(_)).Times(1); in TEST_F()
/external/chromium_org/media/cast/audio_sender/
Daudio_sender_unittest.cc47 new AudioSender(cast_environment_, audio_config_, &mock_transport_)); in SetUp()
53 MockPacedPacketSender mock_transport_; member in media::cast::AudioSenderTest
61 EXPECT_CALL(mock_transport_, SendPackets(_)).Times(AtLeast(1)); in TEST_F()
79 EXPECT_CALL(mock_transport_, SendPackets(_)).Times(AtLeast(1)); in TEST_F()
80 EXPECT_CALL(mock_transport_, SendRtcpPacket(_)).Times(1); in TEST_F()
/external/chromium_org/media/cast/video_receiver/
Dvideo_receiver_unittest.cc79 PeerVideoReceiver(cast_environment_, config_, &mock_transport_)); in VideoReceiverTest()
99 MockPacedPacketSender mock_transport_; member in media::cast::VideoReceiverTest
112 EXPECT_CALL(mock_transport_, SendRtcpPacket(_)).WillRepeatedly( in TEST_F()
127 EXPECT_CALL(mock_transport_, SendRtcpPacket(_)).WillRepeatedly( in TEST_F()
151 EXPECT_CALL(mock_transport_, SendRtcpPacket(_)).WillRepeatedly( in TEST_F()
/external/chromium_org/media/cast/audio_receiver/
Daudio_receiver_unittest.cc89 &mock_transport_)); in Configure()
111 MockPacedPacketSender mock_transport_; member in media::cast::AudioReceiverTest
120 EXPECT_CALL(mock_transport_, SendRtcpPacket(testing::_)).Times(1); in TEST_F()
139 EXPECT_CALL(mock_transport_, SendRtcpPacket(testing::_)).WillRepeatedly( in TEST_F()