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

Unified Diff: net/quic/quic_data_stream_test.cc

Issue 350973003: Killing off quic V17. Not flag protected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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_connection_test.cc ('k') | net/quic/quic_flow_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_data_stream_test.cc
diff --git a/net/quic/quic_data_stream_test.cc b/net/quic/quic_data_stream_test.cc
index be9bc4d213327beaeb87461c9d292539cdde2f1c..b36053c6e7548ff358c52acd14c079c0b5a6746c 100644
--- a/net/quic/quic_data_stream_test.cc
+++ b/net/quic/quic_data_stream_test.cc
@@ -282,7 +282,7 @@ TEST_P(QuicDataStreamTest, ProcessHeadersUsingReadvWithMultipleIovecs) {
TEST_P(QuicDataStreamTest, StreamFlowControlBlocked) {
// Tests that we send a BLOCKED frame to the peer when we attempt to write,
// but are flow control blocked.
- if (GetParam() < QUIC_VERSION_17) {
+ if (GetParam() <= QUIC_VERSION_16) {
return;
}
@@ -320,7 +320,7 @@ TEST_P(QuicDataStreamTest, StreamFlowControlNoWindowUpdateIfNotConsumed) {
// sequencer, whether they are consumed immediately or buffered. However we
// only send WINDOW_UPDATE frames based on increasing number of bytes
// consumed.
- if (GetParam() < QUIC_VERSION_17) {
+ if (GetParam() <= QUIC_VERSION_16) {
return;
}
@@ -367,7 +367,7 @@ TEST_P(QuicDataStreamTest, StreamFlowControlWindowUpdate) {
// Tests that on receipt of data, the stream updates its receive window offset
// appropriately, and sends WINDOW_UPDATE frames when its receive window drops
// too low.
- if (GetParam() < QUIC_VERSION_17) {
+ if (GetParam() <= QUIC_VERSION_16) {
return;
}
@@ -471,7 +471,7 @@ TEST_P(QuicDataStreamTest, ConnectionFlowControlWindowUpdate) {
TEST_P(QuicDataStreamTest, StreamFlowControlViolation) {
// Tests that on if the peer sends too much data (i.e. violates the flow
// control protocol), then we terminate the connection.
- if (GetParam() < QUIC_VERSION_17) {
+ if (GetParam() <= QUIC_VERSION_16) {
return;
}
@@ -539,7 +539,7 @@ TEST_P(QuicDataStreamTest, ConnectionFlowControlViolation) {
TEST_P(QuicDataStreamTest, StreamFlowControlFinNotBlocked) {
// An attempt to write a FIN with no data should not be flow control blocked,
// even if the send window is 0.
- if (GetParam() < QUIC_VERSION_17) {
+ if (GetParam() <= QUIC_VERSION_16) {
return;
}
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_flow_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698