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

Unified Diff: net/quic/quic_ack_notifier_test.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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/quic_ack_notifier_manager.cc ('k') | net/quic/quic_client_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_ack_notifier_test.cc
diff --git a/net/quic/quic_ack_notifier_test.cc b/net/quic/quic_ack_notifier_test.cc
index 4e15b98ba6969bd9488813c5bb7790c029b29360..21c876665857ed3de03429c3aa672e654af3b23e 100644
--- a/net/quic/quic_ack_notifier_test.cc
+++ b/net/quic/quic_ack_notifier_test.cc
@@ -52,8 +52,8 @@ TEST_F(QuicAckNotifierTest, DoesNotTrigger) {
// new sequeunce numbers.
TEST_F(QuicAckNotifierTest, UpdateSeqNums) {
// Update a couple of the sequence numbers (i.e. retransmitted packets)
- notifier_->UpdateSequenceNumber(99, 3000);
- notifier_->UpdateSequenceNumber(1234, 3001);
+ notifier_->OnPacketRetransmitted(20);
+ notifier_->OnPacketRetransmitted(3);
EXPECT_CALL(*delegate_, OnAckNotification(2, 20 + 3, _)).Times(1);
EXPECT_FALSE(notifier_->OnAck(26, zero_)); // original
« no previous file with comments | « net/quic/quic_ack_notifier_manager.cc ('k') | net/quic/quic_client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698