OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/tools/quic/quic_server.h" | 5 #include "net/tools/quic/quic_server.h" |
6 | 6 |
7 #include "net/quic/crypto/quic_random.h" | 7 #include "net/quic/core/crypto/quic_random.h" |
8 #include "net/quic/quic_utils.h" | 8 #include "net/quic/core/quic_utils.h" |
9 #include "net/quic/test_tools/crypto_test_utils.h" | 9 #include "net/quic/test_tools/crypto_test_utils.h" |
10 #include "net/quic/test_tools/mock_quic_dispatcher.h" | 10 #include "net/quic/test_tools/mock_quic_dispatcher.h" |
11 #include "net/tools/quic/quic_epoll_alarm_factory.h" | 11 #include "net/tools/quic/quic_epoll_alarm_factory.h" |
12 #include "net/tools/quic/quic_epoll_connection_helper.h" | 12 #include "net/tools/quic/quic_epoll_connection_helper.h" |
13 #include "net/tools/quic/quic_simple_server_session_helper.h" | 13 #include "net/tools/quic/quic_simple_server_session_helper.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 using ::testing::_; | 16 using ::testing::_; |
17 using net::test::CryptoTestUtils; | 17 using net::test::CryptoTestUtils; |
18 using net::test::MockQuicDispatcher; | 18 using net::test::MockQuicDispatcher; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 arraysize(valid_packet), | 72 arraysize(valid_packet), |
73 QuicTime::Zero(), false); | 73 QuicTime::Zero(), false); |
74 | 74 |
75 EXPECT_CALL(dispatcher_, ProcessPacket(_, _, _)).Times(1); | 75 EXPECT_CALL(dispatcher_, ProcessPacket(_, _, _)).Times(1); |
76 DispatchPacket(encrypted_valid_packet); | 76 DispatchPacket(encrypted_valid_packet); |
77 } | 77 } |
78 | 78 |
79 } // namespace | 79 } // namespace |
80 } // namespace test | 80 } // namespace test |
81 } // namespace net | 81 } // namespace net |
OLD | NEW |