| Index: net/tools/quic/quic_simple_server_test.cc
|
| diff --git a/net/quic/quic_server_test.cc b/net/tools/quic/quic_simple_server_test.cc
|
| similarity index 90%
|
| copy from net/quic/quic_server_test.cc
|
| copy to net/tools/quic/quic_simple_server_test.cc
|
| index cac66b63b39ae35d9e3021f884e99d5148c55b2d..e9d00f73af4db36632264f826f09a56388e50d4a 100644
|
| --- a/net/quic/quic_server_test.cc
|
| +++ b/net/tools/quic/quic_simple_server_test.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "net/quic/quic_server.h"
|
| +#include "net/tools/quic/quic_simple_server.h"
|
|
|
| #include "net/quic/crypto/quic_random.h"
|
| #include "net/quic/quic_utils.h"
|
| @@ -13,10 +13,9 @@
|
| using ::testing::_;
|
|
|
| namespace net {
|
| +namespace tools {
|
| namespace test {
|
|
|
| -namespace {
|
| -
|
| // TODO(dmz) Remove "Chrome" part of name once net/tools/quic is deleted.
|
| class QuicChromeServerDispatchPacketTest : public ::testing::Test {
|
| public:
|
| @@ -25,7 +24,7 @@ class QuicChromeServerDispatchPacketTest : public ::testing::Test {
|
| dispatcher_(config_,
|
| crypto_config_,
|
| new tools::QuicDispatcher::DefaultPacketWriterFactory(),
|
| - new MockHelper) {
|
| + new net::test::MockHelper) {
|
| dispatcher_.InitializeWithWriter(nullptr);
|
| }
|
|
|
| @@ -37,7 +36,7 @@ class QuicChromeServerDispatchPacketTest : public ::testing::Test {
|
| protected:
|
| QuicConfig config_;
|
| QuicCryptoServerConfig crypto_config_;
|
| - MockQuicDispatcher dispatcher_;
|
| + net::test::MockQuicDispatcher dispatcher_;
|
| };
|
|
|
| TEST_F(QuicChromeServerDispatchPacketTest, DispatchPacket) {
|
| @@ -59,6 +58,6 @@ TEST_F(QuicChromeServerDispatchPacketTest, DispatchPacket) {
|
| DispatchPacket(encrypted_valid_packet);
|
| }
|
|
|
| -} // namespace
|
| +} // namespace tools
|
| } // namespace test
|
| } // namespace net
|
|
|