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

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

Issue 2516033003: Landing Recent QUIC changes until Mon Nov 14 04:43:50 2016 +0000 (Closed)
Patch Set: Remove unused UpdatePacketGapSentHistogram() function. 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_utils.cc ('k') | net/quic/core/quic_versions.h » ('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 ca3df9bfbb8b56762f4a84eea2f49dab30982ddb..c6059aa975b55b347fd8162c01f9bf01344d5455 100644
--- a/net/quic/core/quic_utils_test.cc
+++ b/net/quic/core/quic_utils_test.cc
@@ -15,26 +15,6 @@ namespace net {
namespace test {
namespace {
-TEST(QuicUtilsTest, StreamErrorToString) {
- EXPECT_STREQ("QUIC_BAD_APPLICATION_PAYLOAD",
- QuicUtils::StreamErrorToString(QUIC_BAD_APPLICATION_PAYLOAD));
-}
-
-TEST(QuicUtilsTest, ErrorToString) {
- EXPECT_STREQ("QUIC_NO_ERROR", QuicUtils::ErrorToString(QUIC_NO_ERROR));
-}
-
-TEST(QuicUtilsTest, TagToString) {
- EXPECT_EQ("SCFG", QuicUtils::TagToString(kSCFG));
- EXPECT_EQ("SNO ", QuicUtils::TagToString(kServerNonceTag));
- EXPECT_EQ("CRT ", QuicUtils::TagToString(kCertificateTag));
- EXPECT_EQ("CHLO", QuicUtils::TagToString(MakeQuicTag('C', 'H', 'L', 'O')));
- // A tag that contains a non-printing character will be printed as a decimal
- // number.
- EXPECT_EQ("525092931",
- QuicUtils::TagToString(MakeQuicTag('C', 'H', 'L', '\x1f')));
-}
-
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/quic_versions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698