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

Side by Side Diff: net/quic/core/quic_bandwidth_test.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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
« no previous file with comments | « net/quic/core/quic_bandwidth.cc ('k') | net/quic/core/quic_blocked_writer_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/quic/quic_bandwidth.h" 5 #include "net/quic/core/quic_bandwidth.h"
6 #include "testing/gtest/include/gtest/gtest.h" 6 #include "testing/gtest/include/gtest/gtest.h"
7 7
8 namespace net { 8 namespace net {
9 namespace test { 9 namespace test {
10 10
11 class QuicBandwidthTest : public ::testing::Test {}; 11 class QuicBandwidthTest : public ::testing::Test {};
12 12
13 TEST_F(QuicBandwidthTest, FromTo) { 13 TEST_F(QuicBandwidthTest, FromTo) {
14 EXPECT_EQ(QuicBandwidth::FromKBitsPerSecond(1), 14 EXPECT_EQ(QuicBandwidth::FromKBitsPerSecond(1),
15 QuicBandwidth::FromBitsPerSecond(1000)); 15 QuicBandwidth::FromBitsPerSecond(1000));
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 EXPECT_LT(b1, b2); 90 EXPECT_LT(b1, b2);
91 EXPECT_GT(b2, b1); 91 EXPECT_GT(b2, b1);
92 EXPECT_LE(b1, b1); 92 EXPECT_LE(b1, b1);
93 EXPECT_LE(b1, b2); 93 EXPECT_LE(b1, b2);
94 EXPECT_GE(b1, b1); 94 EXPECT_GE(b1, b1);
95 EXPECT_GE(b2, b1); 95 EXPECT_GE(b2, b1);
96 } 96 }
97 97
98 } // namespace test 98 } // namespace test
99 } // namespace net 99 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_bandwidth.cc ('k') | net/quic/core/quic_blocked_writer_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698