Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: net/quic/congestion_control/tcp_receiver_test.cc

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "base/logging.h"
6 #include "base/memory/scoped_ptr.h"
7 #include "net/quic/congestion_control/tcp_receiver.h"
8 #include "net/quic/test_tools/mock_clock.h"
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 namespace net {
12 namespace test {
13
14 class QuicTcpReceiverTest : public ::testing::Test {
15 protected:
16 void SetUp() override { receiver_.reset(new TcpReceiver()); }
17 scoped_ptr<TcpReceiver> receiver_;
18 };
19
20 TEST_F(QuicTcpReceiverTest, SimpleReceiver) {
21 QuicTime timestamp(QuicTime::Zero());
22 receiver_->RecordIncomingPacket(1, 1, timestamp);
23 }
24
25 } // namespace test
26 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/congestion_control/tcp_receiver.cc ('k') | net/quic/congestion_control/time_loss_algorithm_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698