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

Unified Diff: net/quic/quic_session_key_test.cc

Issue 218923002: Merge internal change: 63891842 - QuicServerId changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: net/quic/quic_session_key_test.cc
diff --git a/net/quic/quic_session_key_test.cc b/net/quic/quic_session_key_test.cc
deleted file mode 100644
index e8fd4fd57ae348d310b758bbfaae3ffbbedf5219..0000000000000000000000000000000000000000
--- a/net/quic/quic_session_key_test.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/quic/quic_session_key.h"
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-using std::string;
-
-namespace net {
-
-namespace {
-
-TEST(QuicSessionKeyTest, ToString) {
- HostPortPair google_host_port_pair("google.com", 10);
-
- QuicSessionKey google_http_key(google_host_port_pair, false,
- kPrivacyModeDisabled);
- string google_http_key_str = google_http_key.ToString();
- EXPECT_EQ("http://google.com:10", google_http_key_str);
-
- QuicSessionKey google_https_key(google_host_port_pair, true,
- kPrivacyModeDisabled);
- string google_https_key_str = google_https_key.ToString();
- EXPECT_EQ("https://google.com:10", google_https_key_str);
-
- QuicSessionKey private_http_key(google_host_port_pair, false,
- kPrivacyModeEnabled);
- string private_http_key_str = private_http_key.ToString();
- EXPECT_EQ("http://google.com:10/private", private_http_key_str);
-
- QuicSessionKey private_https_key(google_host_port_pair, true,
- kPrivacyModeEnabled);
- string private_https_key_str = private_https_key.ToString();
- EXPECT_EQ("https://google.com:10/private", private_https_key_str);
-}
-
-} // namespace
-
-} // namespace net

Powered by Google App Engine
This is Rietveld 408576698