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/tools/quic/quic_dispatcher.h" | 5 #include "net/tools/quic/quic_dispatcher.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <ostream> | 8 #include <ostream> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "testing/gmock_mutant.h" | 34 #include "testing/gmock_mutant.h" |
35 #include "testing/gtest/include/gtest/gtest.h" | 35 #include "testing/gtest/include/gtest/gtest.h" |
36 | 36 |
37 using base::IntToString; | 37 using base::IntToString; |
38 using base::StringPiece; | 38 using base::StringPiece; |
39 using net::EpollServer; | 39 using net::EpollServer; |
40 using net::test::ConstructEncryptedPacket; | 40 using net::test::ConstructEncryptedPacket; |
41 using net::test::CryptoTestUtils; | 41 using net::test::CryptoTestUtils; |
42 using net::test::MockQuicConnection; | 42 using net::test::MockQuicConnection; |
43 using net::test::MockQuicConnectionHelper; | 43 using net::test::MockQuicConnectionHelper; |
44 using net::test::ValueRestore; | |
45 using std::ostream; | 44 using std::ostream; |
46 using std::string; | 45 using std::string; |
47 using std::vector; | 46 using std::vector; |
48 using testing::CreateFunctor; | 47 using testing::CreateFunctor; |
49 using testing::DoAll; | 48 using testing::DoAll; |
50 using testing::InSequence; | 49 using testing::InSequence; |
51 using testing::Invoke; | 50 using testing::Invoke; |
52 using testing::WithoutArgs; | 51 using testing::WithoutArgs; |
53 using testing::_; | 52 using testing::_; |
54 | 53 |
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 // New arrived CHLO will be dropped because this connection is in time wait | 1276 // New arrived CHLO will be dropped because this connection is in time wait |
1278 // list. | 1277 // list. |
1279 ASSERT_TRUE(time_wait_list_manager_->IsConnectionIdInTimeWait(conn_id)); | 1278 ASSERT_TRUE(time_wait_list_manager_->IsConnectionIdInTimeWait(conn_id)); |
1280 EXPECT_CALL(*time_wait_list_manager_, ProcessPacket(_, _, conn_id, _, _)); | 1279 EXPECT_CALL(*time_wait_list_manager_, ProcessPacket(_, _, conn_id, _, _)); |
1281 ProcessPacket(client_address, conn_id, true, false, SerializeFullCHLO()); | 1280 ProcessPacket(client_address, conn_id, true, false, SerializeFullCHLO()); |
1282 } | 1281 } |
1283 | 1282 |
1284 } // namespace | 1283 } // namespace |
1285 } // namespace test | 1284 } // namespace test |
1286 } // namespace net | 1285 } // namespace net |
OLD | NEW |