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

Unified Diff: net/quic/core/quic_protocol_test.cc

Issue 2535283002: Move QuicVersionManager into standalone .h/.cc. No behavior change. (Closed)
Patch Set: Rebase 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/quic/core/quic_protocol.cc ('k') | net/quic/core/quic_version_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_protocol_test.cc
diff --git a/net/quic/core/quic_protocol_test.cc b/net/quic/core/quic_protocol_test.cc
index d9bacf5d2ecba6a799c72a751dee08789e240112..2ce81b62983f49504eb5b9c54bddecd1ded1090e 100644
--- a/net/quic/core/quic_protocol_test.cc
+++ b/net/quic/core/quic_protocol_test.cc
@@ -147,19 +147,6 @@ TEST(QuicProtocolTest, PathCloseFrameToString) {
EXPECT_EQ("{ path_id: 1 }\n", stream.str());
}
-TEST(QuicProtocolTest, QuicVersionManager) {
- QuicFlagSaver flags;
- FLAGS_quic_enable_version_36_v3 = false;
- QuicVersionManager manager(AllSupportedVersions());
- EXPECT_EQ(FilterSupportedVersions(AllSupportedVersions()),
- manager.GetSupportedVersions());
- FLAGS_quic_enable_version_36_v3 = true;
- EXPECT_EQ(FilterSupportedVersions(AllSupportedVersions()),
- manager.GetSupportedVersions());
- EXPECT_EQ(QUIC_VERSION_36, manager.GetSupportedVersions()[0]);
- EXPECT_EQ(QUIC_VERSION_35, manager.GetSupportedVersions()[1]);
-}
-
// Tests that a queue contains the expected data after calls to Add().
TEST(PacketNumberQueueTest, AddRange) {
PacketNumberQueue queue;
« no previous file with comments | « net/quic/core/quic_protocol.cc ('k') | net/quic/core/quic_version_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698