OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/quic/quic_server_id.h" | 5 #include "net/quic/core/quic_server_id.h" |
6 | 6 |
7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
8 | 8 |
9 using std::string; | 9 using std::string; |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 TEST(QuicServerIdTest, ToString) { | 15 TEST(QuicServerIdTest, ToString) { |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 QuicServerId a_10_https_private(HostPortPair("a.com", 10), | 136 QuicServerId a_10_https_private(HostPortPair("a.com", 10), |
137 PRIVACY_MODE_ENABLED); | 137 PRIVACY_MODE_ENABLED); |
138 QuicServerId new_a_10_https_no_private(HostPortPair("a.com", 10), | 138 QuicServerId new_a_10_https_no_private(HostPortPair("a.com", 10), |
139 PRIVACY_MODE_DISABLED); | 139 PRIVACY_MODE_DISABLED); |
140 EXPECT_FALSE(new_a_10_https_no_private == a_10_https_private); | 140 EXPECT_FALSE(new_a_10_https_no_private == a_10_https_private); |
141 } | 141 } |
142 | 142 |
143 } // namespace | 143 } // namespace |
144 | 144 |
145 } // namespace net | 145 } // namespace net |
OLD | NEW |