| 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/quic/crypto/crypto_handshake_message.h" | 5 #include "net/quic/core/crypto/crypto_handshake_message.h" |
| 6 | 6 |
| 7 #include "net/quic/crypto/crypto_handshake.h" | 7 #include "net/quic/core/crypto/crypto_handshake.h" |
| 8 #include "net/quic/crypto/crypto_protocol.h" | 8 #include "net/quic/core/crypto/crypto_protocol.h" |
| 9 #include "net/test/gtest_util.h" | 9 #include "net/test/gtest_util.h" |
| 10 | 10 |
| 11 namespace net { | 11 namespace net { |
| 12 namespace test { | 12 namespace test { |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 TEST(CryptoHandshakeMessageTest, DebugString) { | 15 TEST(CryptoHandshakeMessageTest, DebugString) { |
| 16 const char* str = "SHLO<\n>"; | 16 const char* str = "SHLO<\n>"; |
| 17 | 17 |
| 18 CryptoHandshakeMessage message; | 18 CryptoHandshakeMessage message; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 EXPECT_EQ(str, message4.DebugString()); | 113 EXPECT_EQ(str, message4.DebugString()); |
| 114 | 114 |
| 115 // Test move-assign | 115 // Test move-assign |
| 116 CryptoHandshakeMessage message5 = std::move(message3); | 116 CryptoHandshakeMessage message5 = std::move(message3); |
| 117 EXPECT_EQ(str, message5.DebugString()); | 117 EXPECT_EQ(str, message5.DebugString()); |
| 118 } | 118 } |
| 119 | 119 |
| 120 } // namespace | 120 } // namespace |
| 121 } // namespace test | 121 } // namespace test |
| 122 } // namespace net | 122 } // namespace net |
| OLD | NEW |