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

Unified Diff: net/tools/quic/quic_epoll_connection_helper_test.cc

Issue 15937012: Land Recent QUIC changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small bug fixes Created 7 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
Index: net/tools/quic/quic_epoll_connection_helper_test.cc
diff --git a/net/tools/quic/quic_epoll_connection_helper_test.cc b/net/tools/quic/quic_epoll_connection_helper_test.cc
index 5f5dc1b3ea1f407587eb9d2fa2a243a54472b5f6..321565d777ec9026d3658208e23fa92f2a71fdee 100644
--- a/net/tools/quic/quic_epoll_connection_helper_test.cc
+++ b/net/tools/quic/quic_epoll_connection_helper_test.cc
@@ -95,8 +95,8 @@ class QuicConnectionHelperTest : public ::testing::Test {
header_.public_header.reset_flag = false;
header_.fec_flag = false;
header_.entropy_flag = false;
- header_.fec_entropy_flag = false;
header_.packet_sequence_number = number;
+ header_.is_in_fec_group = fec_group == 0 ? NOT_IN_FEC_GROUP : IN_FEC_GROUP;
header_.fec_group = fec_group;
QuicFrames frames;
@@ -123,7 +123,9 @@ TEST_F(QuicConnectionHelperTest, DISABLED_TestRetransmission) {
const int64 kDefaultRetransmissionTimeMs = 500;
const char buffer[] = "foo";
- const size_t packet_size = GetPacketHeaderSize(kIncludeVersion) +
+ const size_t packet_size =
+ GetPacketHeaderSize(
+ PACKET_8BYTE_GUID, kIncludeVersion, NOT_IN_FEC_GROUP) +
QuicFramer::GetMinStreamFrameSize() + arraysize(buffer) - 1;
EXPECT_CALL(*send_algorithm_,
SentPacket(_, 1, packet_size, NOT_RETRANSMISSION));

Powered by Google App Engine
This is Rietveld 408576698