OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_utils.h" | 5 #include "net/quic/core/crypto/crypto_utils.h" |
6 | 6 |
7 #include "net/quic/test_tools/quic_test_utils.h" | 7 #include "net/quic/test_tools/quic_test_utils.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 using std::string; | 10 using std::string; |
11 | 11 |
12 namespace net { | 12 namespace net { |
13 namespace test { | 13 namespace test { |
14 namespace { | 14 namespace { |
15 | 15 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 CryptoUtils::HandshakeFailureReasonToString(MAX_FAILURE_REASON)); | 186 CryptoUtils::HandshakeFailureReasonToString(MAX_FAILURE_REASON)); |
187 EXPECT_STREQ( | 187 EXPECT_STREQ( |
188 "INVALID_HANDSHAKE_FAILURE_REASON", | 188 "INVALID_HANDSHAKE_FAILURE_REASON", |
189 CryptoUtils::HandshakeFailureReasonToString( | 189 CryptoUtils::HandshakeFailureReasonToString( |
190 static_cast<HandshakeFailureReason>(MAX_FAILURE_REASON + 1))); | 190 static_cast<HandshakeFailureReason>(MAX_FAILURE_REASON + 1))); |
191 } | 191 } |
192 | 192 |
193 } // namespace | 193 } // namespace |
194 } // namespace test | 194 } // namespace test |
195 } // namespace net | 195 } // namespace net |
OLD | NEW |