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

Unified Diff: net/spdy/spdy_protocol_test.cc

Issue 710713002: Remove SPDY2 and SPDY/3.0 from tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: net/spdy/spdy_protocol_test.cc
diff --git a/net/spdy/spdy_protocol_test.cc b/net/spdy/spdy_protocol_test.cc
index 486a7722fda55e82b88134a744e1327c0dd92b1a..287e333440e528bf99fa599f18a0acf89014ce8b 100644
--- a/net/spdy/spdy_protocol_test.cc
+++ b/net/spdy/spdy_protocol_test.cc
@@ -16,8 +16,8 @@
namespace {
enum SpdyProtocolTestTypes {
- SPDY2 = net::SPDY2,
SPDY3 = net::SPDY3,
+ SPDY4 = net::SPDY4,
};
} // namespace
@@ -35,17 +35,15 @@ class SpdyProtocolTest
SpdyMajorVersion spdy_version_;
};
-// All tests are run with two different SPDY versions: SPDY/2 and SPDY/3.
INSTANTIATE_TEST_CASE_P(SpdyProtocolTests,
SpdyProtocolTest,
- ::testing::Values(SPDY2, SPDY3));
+ ::testing::Values(SPDY3, SPDY4));
class SpdyProtocolDeathTest : public SpdyProtocolTest {};
-// All tests are run with two different SPDY versions: SPDY/2 and SPDY/3.
INSTANTIATE_TEST_CASE_P(SpdyProtocolDeathTests,
SpdyProtocolDeathTest,
- ::testing::Values(SPDY2, SPDY3));
+ ::testing::Values(SPDY3, SPDY4));
TEST_P(SpdyProtocolDeathTest, TestSpdySettingsAndIdOutOfBounds) {
scoped_ptr<SettingsFlagsAndId> flags_and_id;

Powered by Google App Engine
This is Rietveld 408576698