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

Side by Side Diff: components/sync/base/unique_position_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. Created 4 years, 2 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 | « components/sync/base/ordinal_unittest.cc ('k') | components/sync/base/weak_handle_unittest.cc » ('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 "components/sync/base/unique_position.h" 5 #include "components/sync/base/unique_position.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
10 #include <algorithm> 7 #include <algorithm>
11 #include <functional> 8 #include <functional>
12 #include <memory> 9 #include <memory>
13 #include <string>
14 #include <vector> 10 #include <vector>
15 11
16 #include "base/base64.h" 12 #include "base/base64.h"
17 #include "base/logging.h" 13 #include "base/logging.h"
18 #include "base/macros.h" 14 #include "base/macros.h"
19 #include "base/sha1.h" 15 #include "base/sha1.h"
20 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
21 #include "components/sync/protocol/unique_position.pb.h" 17 #include "components/sync/protocol/unique_position.pb.h"
22 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
23 19
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 // This requires values in the test harness to be hard-coded in ascending order. 671 // This requires values in the test harness to be hard-coded in ascending order.
676 TEST_F(CompressedPositionTest, OrderingTest) { 672 TEST_F(CompressedPositionTest, OrderingTest) {
677 for (size_t i = 0; i < positions_.size() - 1; ++i) { 673 for (size_t i = 0; i < positions_.size() - 1; ++i) {
678 EXPECT_PRED_FORMAT2(LessThan, positions_[i], positions_[i + 1]); 674 EXPECT_PRED_FORMAT2(LessThan, positions_[i], positions_[i + 1]);
679 } 675 }
680 } 676 }
681 677
682 } // namespace 678 } // namespace
683 679
684 } // namespace syncer 680 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/base/ordinal_unittest.cc ('k') | components/sync/base/weak_handle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698