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

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

Issue 2515613002: deprecate FLAGS_quic_disable_pre_34 (Closed)
Patch Set: Created 4 years, 1 month 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/tools/quic/stateless_rejector.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/stateless_rejector_test.cc
diff --git a/net/tools/quic/stateless_rejector_test.cc b/net/tools/quic/stateless_rejector_test.cc
index a6a688c0b94628d24d47178a2244b4501417ff33..3388742d9b291d366fef74adcd1a4971bd19dadf 100644
--- a/net/tools/quic/stateless_rejector_test.cc
+++ b/net/tools/quic/stateless_rejector_test.cc
@@ -176,7 +176,7 @@ TEST_P(StatelessRejectorTest, InvalidChlo) {
rejector_->OnChlo(GetParam().version, kConnectionId,
kServerDesignateConnectionId, client_hello);
- if (GetParam().flags != ENABLED || GetParam().version <= QUIC_VERSION_32) {
+ if (GetParam().flags != ENABLED) {
EXPECT_EQ(StatelessRejector::UNSUPPORTED, rejector_->state());
return;
}
@@ -228,7 +228,7 @@ TEST_P(StatelessRejectorTest, RejectChlo) {
rejector_->OnChlo(GetParam().version, kConnectionId,
kServerDesignateConnectionId, client_hello);
- if (GetParam().flags != ENABLED || GetParam().version <= QUIC_VERSION_32) {
+ if (GetParam().flags != ENABLED) {
EXPECT_EQ(StatelessRejector::UNSUPPORTED, rejector_->state());
return;
}
@@ -274,7 +274,7 @@ TEST_P(StatelessRejectorTest, AcceptChlo) {
rejector_->OnChlo(GetParam().version, kConnectionId,
kServerDesignateConnectionId, client_hello);
- if (GetParam().flags != ENABLED || GetParam().version <= QUIC_VERSION_32) {
+ if (GetParam().flags != ENABLED) {
EXPECT_EQ(StatelessRejector::UNSUPPORTED, rejector_->state());
return;
}
« no previous file with comments | « net/tools/quic/stateless_rejector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698