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

Unified Diff: net/quic/core/frames/quic_frames_test.cc

Issue 2919733002: Remove QuicPacketNumberQueue::Complement() because it is no longer (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « net/quic/core/frames/quic_ack_frame.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/frames/quic_frames_test.cc
diff --git a/net/quic/core/frames/quic_frames_test.cc b/net/quic/core/frames/quic_frames_test.cc
index 67ff6f8f0f3d92e0a29d415925463a17bc5f8b4c..b0a77377d09977ad3acc1c80368f7c12332226db 100644
--- a/net/quic/core/frames/quic_frames_test.cc
+++ b/net/quic/core/frames/quic_frames_test.cc
@@ -278,19 +278,6 @@ TEST_F(PacketNumberQueueTest, IntervalLengthAndRemoveInterval) {
EXPECT_FALSE(queue.Contains(20));
}
-TEST_F(PacketNumberQueueTest, Complement) {
- PacketNumberQueue queue;
- queue.Add(1, 10);
- queue.Add(12, 20);
- queue.Add(22, 30);
- queue.Complement();
- EXPECT_EQ(2u, queue.NumIntervals());
- EXPECT_TRUE(queue.Contains(10));
- EXPECT_TRUE(queue.Contains(11));
- EXPECT_TRUE(queue.Contains(20));
- EXPECT_TRUE(queue.Contains(21));
-}
-
} // namespace
} // namespace test
} // namespace net
« no previous file with comments | « net/quic/core/frames/quic_ack_frame.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698