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

Side by Side Diff: sync/engine/syncer_unittest.cc

Issue 11638018: [sync] Componentize sync: Part 5: Eliminate filename collisions in sync.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comments Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « sync/engine/process_updates_command.cc ('k') | sync/engine/syncer_util.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 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 // Syncer unit tests. Unfortunately a lot of these tests 5 // Syncer unit tests. Unfortunately a lot of these tests
6 // are outdated and need to be reworked and updated. 6 // are outdated and need to be reworked and updated.
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <limits> 9 #include <limits>
10 #include <list> 10 #include <list>
11 #include <map> 11 #include <map>
(...skipping 22 matching lines...) Expand all
34 #include "sync/internal_api/public/base/model_type.h" 34 #include "sync/internal_api/public/base/model_type.h"
35 #include "sync/internal_api/public/engine/model_safe_worker.h" 35 #include "sync/internal_api/public/engine/model_safe_worker.h"
36 #include "sync/internal_api/public/base/node_ordinal.h" 36 #include "sync/internal_api/public/base/node_ordinal.h"
37 #include "sync/protocol/bookmark_specifics.pb.h" 37 #include "sync/protocol/bookmark_specifics.pb.h"
38 #include "sync/protocol/nigori_specifics.pb.h" 38 #include "sync/protocol/nigori_specifics.pb.h"
39 #include "sync/protocol/preference_specifics.pb.h" 39 #include "sync/protocol/preference_specifics.pb.h"
40 #include "sync/protocol/sync.pb.h" 40 #include "sync/protocol/sync.pb.h"
41 #include "sync/sessions/sync_session_context.h" 41 #include "sync/sessions/sync_session_context.h"
42 #include "sync/syncable/mutable_entry.h" 42 #include "sync/syncable/mutable_entry.h"
43 #include "sync/syncable/nigori_util.h" 43 #include "sync/syncable/nigori_util.h"
44 #include "sync/syncable/read_transaction.h" 44 #include "sync/syncable/syncable_read_transaction.h"
45 #include "sync/syncable/syncable_util.h" 45 #include "sync/syncable/syncable_util.h"
46 #include "sync/syncable/write_transaction.h" 46 #include "sync/syncable/syncable_write_transaction.h"
47 #include "sync/test/engine/fake_model_worker.h" 47 #include "sync/test/engine/fake_model_worker.h"
48 #include "sync/test/engine/mock_connection_manager.h" 48 #include "sync/test/engine/mock_connection_manager.h"
49 #include "sync/test/engine/test_directory_setter_upper.h" 49 #include "sync/test/engine/test_directory_setter_upper.h"
50 #include "sync/test/engine/test_id_factory.h" 50 #include "sync/test/engine/test_id_factory.h"
51 #include "sync/test/engine/test_syncable_utils.h" 51 #include "sync/test/engine/test_syncable_utils.h"
52 #include "sync/test/fake_encryptor.h" 52 #include "sync/test/fake_encryptor.h"
53 #include "sync/test/fake_extensions_activity_monitor.h" 53 #include "sync/test/fake_extensions_activity_monitor.h"
54 #include "sync/test/fake_sync_encryption_handler.h" 54 #include "sync/test/fake_sync_encryption_handler.h"
55 #include "sync/util/cryptographer.h" 55 #include "sync/util/cryptographer.h"
56 #include "sync/util/time.h" 56 #include "sync/util/time.h"
(...skipping 4642 matching lines...) Expand 10 before | Expand all | Expand 10 after
4699 4699
4700 TEST_F(SyncerPositionTiebreakingTest, MidLowHigh) { 4700 TEST_F(SyncerPositionTiebreakingTest, MidLowHigh) {
4701 Add(mid_id_); 4701 Add(mid_id_);
4702 Add(low_id_); 4702 Add(low_id_);
4703 Add(high_id_); 4703 Add(high_id_);
4704 SyncShareNudge(); 4704 SyncShareNudge();
4705 ExpectLocalOrderIsByServerId(); 4705 ExpectLocalOrderIsByServerId();
4706 } 4706 }
4707 4707
4708 } // namespace syncer 4708 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/engine/process_updates_command.cc ('k') | sync/engine/syncer_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698