Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(752)

Unified Diff: net/quic/core/quic_multipath_received_packet_manager_test.cc

Issue 2713963003: Simplify QuicReceivedPacketManager by combining DontWaitForPacketsBefore and UpdatePacketInformatio… (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/core/quic_multipath_received_packet_manager_test.cc
diff --git a/net/quic/core/quic_multipath_received_packet_manager_test.cc b/net/quic/core/quic_multipath_received_packet_manager_test.cc
index d8e948d5de3333b7b557233198c5b514157f4840..afedaa39c47fcdd3df782e2a9bf21eb444b41e24 100644
--- a/net/quic/core/quic_multipath_received_packet_manager_test.cc
+++ b/net/quic/core/quic_multipath_received_packet_manager_test.cc
@@ -124,23 +124,6 @@ TEST_F(QuicMultipathReceivedPacketManagerTest, IsAwaitingPacket) {
"Check whether a packet is awaited on a non-existent path");
}
-TEST_F(QuicMultipathReceivedPacketManagerTest,
- UpdatePacketInformationSentByPeer) {
- std::vector<QuicStopWaitingFrame> stop_waitings;
- QuicStopWaitingFrame stop_waiting_0;
- QuicStopWaitingFrame stop_waiting_1;
- QuicStopWaitingFrame stop_waiting_2;
- stop_waiting_0.path_id = kDefaultPathId;
- stop_waiting_1.path_id = kPathId1;
- stop_waiting_2.path_id = kPathId2;
- stop_waitings.push_back(stop_waiting_0);
- stop_waitings.push_back(stop_waiting_1);
- stop_waitings.push_back(stop_waiting_2);
- EXPECT_CALL(*manager_0_, UpdatePacketInformationSentByPeer(_)).Times(1);
- EXPECT_CALL(*manager_1_, UpdatePacketInformationSentByPeer(_)).Times(1);
- multipath_manager_.UpdatePacketInformationSentByPeer(stop_waitings);
-}
-
TEST_F(QuicMultipathReceivedPacketManagerTest, HasNewMissingPackets) {
EXPECT_CALL(*manager_0_, HasNewMissingPackets()).WillOnce(Return(true));
EXPECT_CALL(*manager_1_, HasNewMissingPackets()).WillOnce(Return(false));
« no previous file with comments | « net/quic/core/quic_multipath_received_packet_manager.cc ('k') | net/quic/core/quic_received_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698