| 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_epoll_connection_helper.h" | 5 #include "net/tools/quic/quic_epoll_connection_helper.h" |
| 6 | 6 |
| 7 #include "net/quic/crypto/quic_random.h" | 7 #include "net/quic/core/crypto/quic_random.h" |
| 8 #include "net/tools/quic/test_tools/mock_epoll_server.h" | 8 #include "net/tools/quic/test_tools/mock_epoll_server.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| 11 using net::test::MockEpollServer; | 11 using net::test::MockEpollServer; |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 namespace test { | 14 namespace test { |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 class QuicEpollConnectionHelperTest : public ::testing::Test { | 17 class QuicEpollConnectionHelperTest : public ::testing::Test { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 34 } | 34 } |
| 35 | 35 |
| 36 TEST_F(QuicEpollConnectionHelperTest, GetRandomGenerator) { | 36 TEST_F(QuicEpollConnectionHelperTest, GetRandomGenerator) { |
| 37 QuicRandom* random = helper_.GetRandomGenerator(); | 37 QuicRandom* random = helper_.GetRandomGenerator(); |
| 38 EXPECT_EQ(QuicRandom::GetInstance(), random); | 38 EXPECT_EQ(QuicRandom::GetInstance(), random); |
| 39 } | 39 } |
| 40 | 40 |
| 41 } // namespace | 41 } // namespace |
| 42 } // namespace test | 42 } // namespace test |
| 43 } // namespace net | 43 } // namespace net |
| OLD | NEW |