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_session.h" | 5 #include "net/tools/quic/quic_server_session.h" |
6 | 6 |
7 | 7 |
8 #include "net/quic/crypto/crypto_server_config.h" | 8 #include "net/quic/crypto/crypto_server_config.h" |
9 #include "net/quic/crypto/quic_random.h" | 9 #include "net/quic/crypto/quic_random.h" |
10 #include "net/quic/quic_connection.h" | 10 #include "net/quic/quic_connection.h" |
11 #include "net/quic/test_tools/quic_connection_peer.h" | 11 #include "net/quic/test_tools/quic_connection_peer.h" |
12 #include "net/quic/test_tools/quic_test_utils.h" | 12 #include "net/quic/test_tools/quic_test_utils.h" |
13 #include "net/quic/test_tools/reliable_quic_stream_peer.h" | 13 #include "net/quic/test_tools/reliable_quic_stream_peer.h" |
14 #include "net/tools/flip_server/epoll_server.h" | 14 #include "net/tools/epoll_server/epoll_server.h" |
15 #include "net/tools/quic/quic_spdy_server_stream.h" | 15 #include "net/tools/quic/quic_spdy_server_stream.h" |
16 #include "net/tools/quic/test_tools/quic_test_utils.h" | 16 #include "net/tools/quic/test_tools/quic_test_utils.h" |
17 #include "testing/gmock/include/gmock/gmock.h" | 17 #include "testing/gmock/include/gmock/gmock.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 | 19 |
20 using __gnu_cxx::vector; | 20 using __gnu_cxx::vector; |
21 using net::test::MockConnection; | 21 using net::test::MockConnection; |
22 using net::test::QuicConnectionPeer; | 22 using net::test::QuicConnectionPeer; |
23 using net::test::ReliableQuicStreamPeer; | 23 using net::test::ReliableQuicStreamPeer; |
24 using testing::_; | 24 using testing::_; |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 // Incoming streams on the server session must be odd. | 246 // Incoming streams on the server session must be odd. |
247 EXPECT_EQ(NULL, | 247 EXPECT_EQ(NULL, |
248 QuicServerSessionPeer::GetIncomingReliableStream( | 248 QuicServerSessionPeer::GetIncomingReliableStream( |
249 session_.get(), 2)); | 249 session_.get(), 2)); |
250 } | 250 } |
251 | 251 |
252 } // namespace | 252 } // namespace |
253 } // namespace test | 253 } // namespace test |
254 } // namespace tools | 254 } // namespace tools |
255 } // namespace net | 255 } // namespace net |
OLD | NEW |