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

Side by Side Diff: net/quic/core/interval_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/interval_set_test.cc ('k') | net/quic/core/iovector.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // ---------------------------------------------------------------------- 5 // ----------------------------------------------------------------------
6 // 6 //
7 // Unittest for the Interval class. 7 // Unittest for the Interval class.
8 // 8 //
9 // Author: Will Neveitt (wneveitt@google.com) 9 // Author: Will Neveitt (wneveitt@google.com)
10 // ---------------------------------------------------------------------- 10 // ----------------------------------------------------------------------
11 11
12 #include "net/quic/interval.h" 12 #include "net/quic/core/interval.h"
13 13
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "net/test/gtest_util.h" 16 #include "net/test/gtest_util.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 using std::pair; 19 using std::pair;
20 using std::string; 20 using std::string;
21 using std::vector; 21 using std::vector;
22 22
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 const Interval<pair<int, int>> d2({1, 2}, {4, 3}); 324 const Interval<pair<int, int>> d2({1, 2}, {4, 3});
325 EXPECT_EQ("a", d1.min()); 325 EXPECT_EQ("a", d1.min());
326 EXPECT_EQ("b", d1.max()); 326 EXPECT_EQ("b", d1.max());
327 EXPECT_EQ(std::make_pair(1, 2), d2.min()); 327 EXPECT_EQ(std::make_pair(1, 2), d2.min());
328 EXPECT_EQ(std::make_pair(4, 3), d2.max()); 328 EXPECT_EQ(std::make_pair(4, 3), d2.max());
329 } 329 }
330 330
331 } // unnamed namespace 331 } // unnamed namespace
332 } // namespace test 332 } // namespace test
333 } // namespace net 333 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/interval_set_test.cc ('k') | net/quic/core/iovector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698