Index: net/quic/quic_session_test.cc |
diff --git a/net/quic/quic_session_test.cc b/net/quic/quic_session_test.cc |
index 32751346896754dd36a7a1fd2ee4c79d1401bff0..ecc7525dbe5dee72fd8fef9f0bffbd5a8d269100 100644 |
--- a/net/quic/quic_session_test.cc |
+++ b/net/quic/quic_session_test.cc |
@@ -632,9 +632,6 @@ TEST_P(QuicSessionTest, MultipleRstStreamsCauseSingleConnectionClose) { |
TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedStream) { |
// Test that if a stream is flow control blocked, then on receipt of the SHLO |
// containing a suitable send window offset, the stream becomes unblocked. |
- if (version() <= QUIC_VERSION_16) { |
- return; |
- } |
// Ensure that Writev consumes all the data it is given (simulate no socket |
// blocking). |
@@ -660,7 +657,7 @@ TEST_P(QuicSessionTest, InvalidFlowControlWindowInHandshake) { |
// TODO(rjshade): Remove this test when removing QUIC_VERSION_19. |
// Test that receipt of an invalid (< default) flow control window from |
// the peer results in the connection being torn down. |
- if (version() <= QUIC_VERSION_16 || version() > QUIC_VERSION_19) { |
+ if (version() > QUIC_VERSION_19) { |
return; |
} |
@@ -857,10 +854,6 @@ TEST_P(QuicSessionTest, ConnectionFlowControlAccountingRstAfterRst) { |
TEST_P(QuicSessionTest, FlowControlWithInvalidFinalOffset) { |
// Test that if we receive a stream RST with a highest byte offset that |
// violates flow control, that we close the connection. |
- if (version() <= QUIC_VERSION_16) { |
- return; |
- } |
- |
const uint64 kLargeOffset = kInitialSessionFlowControlWindowForTest + 1; |
EXPECT_CALL(*connection_, |
SendConnectionClose(QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA)) |
@@ -898,11 +891,6 @@ TEST_P(QuicSessionTest, VersionNegotiationDisablesFlowControl) { |
session_.OnSuccessfulVersionNegotiation(QUIC_VERSION_18); |
EXPECT_FALSE(session_.flow_controller()->IsEnabled()); |
EXPECT_TRUE(stream->flow_controller()->IsEnabled()); |
- |
- // Version 16 means all flow control is disabled. |
- session_.OnSuccessfulVersionNegotiation(QUIC_VERSION_16); |
- EXPECT_FALSE(session_.flow_controller()->IsEnabled()); |
- EXPECT_FALSE(stream->flow_controller()->IsEnabled()); |
} |
TEST_P(QuicSessionTest, WindowUpdateUnblocksHeadersStream) { |