OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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/spdy/spdy_alt_svc_wire_format.h" | 5 #include "net/spdy/core/spdy_alt_svc_wire_format.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "testing/gmock/include/gmock/gmock.h" | 8 #include "testing/gmock/include/gmock/gmock.h" |
9 #include "testing/platform_test.h" | 9 #include "testing/platform_test.h" |
10 | 10 |
11 using ::testing::_; | 11 using ::testing::_; |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 namespace test { | 15 namespace test { |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
544 EXPECT_EQ("quic", altsvc_vector[0].protocol_id); | 544 EXPECT_EQ("quic", altsvc_vector[0].protocol_id); |
545 EXPECT_EQ("[2003:8:0:16::509d:9615]", altsvc_vector[0].host); | 545 EXPECT_EQ("[2003:8:0:16::509d:9615]", altsvc_vector[0].host); |
546 EXPECT_EQ(443u, altsvc_vector[0].port); | 546 EXPECT_EQ(443u, altsvc_vector[0].port); |
547 EXPECT_EQ(60u, altsvc_vector[0].max_age); | 547 EXPECT_EQ(60u, altsvc_vector[0].max_age); |
548 EXPECT_THAT(altsvc_vector[0].version, ::testing::ElementsAre(36, 35)); | 548 EXPECT_THAT(altsvc_vector[0].version, ::testing::ElementsAre(36, 35)); |
549 } | 549 } |
550 | 550 |
551 } // namespace | 551 } // namespace |
552 | 552 |
553 } // namespace net | 553 } // namespace net |
OLD | NEW |