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 |