| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/core/quic_crypto_server_stream.h" | 5 #include "net/quic/core/quic_crypto_server_stream.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "net/quic/core/quic_session.h" | 24 #include "net/quic/core/quic_session.h" |
| 25 #include "net/quic/test_tools/crypto_test_utils.h" | 25 #include "net/quic/test_tools/crypto_test_utils.h" |
| 26 #include "net/quic/test_tools/delayed_verify_strike_register_client.h" | 26 #include "net/quic/test_tools/delayed_verify_strike_register_client.h" |
| 27 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" | 27 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" |
| 28 #include "net/quic/test_tools/quic_test_utils.h" | 28 #include "net/quic/test_tools/quic_test_utils.h" |
| 29 #include "testing/gmock/include/gmock/gmock.h" | 29 #include "testing/gmock/include/gmock/gmock.h" |
| 30 #include "testing/gtest/include/gtest/gtest.h" | 30 #include "testing/gtest/include/gtest/gtest.h" |
| 31 | 31 |
| 32 namespace net { | 32 namespace net { |
| 33 class QuicConnection; | 33 class QuicConnection; |
| 34 class ReliableQuicStream; | 34 class QuicStream; |
| 35 } // namespace net | 35 } // namespace net |
| 36 | 36 |
| 37 using std::string; | 37 using std::string; |
| 38 using testing::_; | 38 using testing::_; |
| 39 | 39 |
| 40 namespace net { | 40 namespace net { |
| 41 namespace test { | 41 namespace test { |
| 42 | 42 |
| 43 class QuicCryptoServerStreamPeer { | 43 class QuicCryptoServerStreamPeer { |
| 44 public: | 44 public: |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 // Regression test for b/31521252, in which a crash would happen here. | 620 // Regression test for b/31521252, in which a crash would happen here. |
| 621 AdvanceHandshakeWithFakeClient(); | 621 AdvanceHandshakeWithFakeClient(); |
| 622 EXPECT_FALSE(server_stream()->encryption_established()); | 622 EXPECT_FALSE(server_stream()->encryption_established()); |
| 623 EXPECT_FALSE(server_stream()->handshake_confirmed()); | 623 EXPECT_FALSE(server_stream()->handshake_confirmed()); |
| 624 } | 624 } |
| 625 | 625 |
| 626 } // namespace | 626 } // namespace |
| 627 | 627 |
| 628 } // namespace test | 628 } // namespace test |
| 629 } // namespace net | 629 } // namespace net |
| OLD | NEW |