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

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

Issue 2236973002: Landing Recent QUIC changes until 4AM, Aug 7, 2016 UTC-4 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: flip quic_sequencer_buffer_retire_block_in_time to true Created 4 years, 4 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/core/quic_utils.cc ('k') | net/quic/core/reliable_quic_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_utils_test.cc
diff --git a/net/quic/core/quic_utils_test.cc b/net/quic/core/quic_utils_test.cc
index 57f57ffd1bceca45f7d64f3cd15dc592257a425e..1830bc748c101d95f5e804694c76bf890ae38b32 100644
--- a/net/quic/core/quic_utils_test.cc
+++ b/net/quic/core/quic_utils_test.cc
@@ -35,6 +35,13 @@ TEST(QuicUtilsTest, TagToString) {
QuicUtils::TagToString(MakeQuicTag('C', 'H', 'L', '\x1f')));
}
+TEST(QuicUtilsTest, ListTags) {
+ QuicTagValueMap map;
+ map.insert(std::make_pair(kSCFG, "asd"));
+ map.insert(std::make_pair(kCHLO, "dsa"));
+ EXPECT_EQ("SCFG CHLO ", QuicUtils::ListTags(map));
+}
+
TEST(QuicUtilsTest, ParseQuicConnectionOptions) {
QuicTagVector empty_options = QuicUtils::ParseQuicConnectionOptions("");
EXPECT_EQ(0ul, empty_options.size());
« no previous file with comments | « net/quic/core/quic_utils.cc ('k') | net/quic/core/reliable_quic_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698