| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "chrome/browser/sync/engine/syncer.h" | 27 #include "chrome/browser/sync/engine/syncer.h" |
| 28 #include "chrome/browser/sync/engine/syncer_proto_util.h" | 28 #include "chrome/browser/sync/engine/syncer_proto_util.h" |
| 29 #include "chrome/browser/sync/engine/syncer_util.h" | 29 #include "chrome/browser/sync/engine/syncer_util.h" |
| 30 #include "chrome/browser/sync/engine/syncproto.h" | 30 #include "chrome/browser/sync/engine/syncproto.h" |
| 31 #include "chrome/browser/sync/protocol/sync.pb.h" | 31 #include "chrome/browser/sync/protocol/sync.pb.h" |
| 32 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h" | 32 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h" |
| 33 #include "chrome/browser/sync/sessions/sync_session_context.h" | 33 #include "chrome/browser/sync/sessions/sync_session_context.h" |
| 34 #include "chrome/browser/sync/syncable/directory_manager.h" | 34 #include "chrome/browser/sync/syncable/directory_manager.h" |
| 35 #include "chrome/browser/sync/syncable/model_type.h" | 35 #include "chrome/browser/sync/syncable/model_type.h" |
| 36 #include "chrome/browser/sync/syncable/syncable.h" | 36 #include "chrome/browser/sync/syncable/syncable.h" |
| 37 #include "chrome/common/deprecated/event_sys-inl.h" | |
| 38 #include "chrome/test/sync/engine/mock_connection_manager.h" | 37 #include "chrome/test/sync/engine/mock_connection_manager.h" |
| 39 #include "chrome/test/sync/engine/test_directory_setter_upper.h" | 38 #include "chrome/test/sync/engine/test_directory_setter_upper.h" |
| 40 #include "chrome/test/sync/engine/test_id_factory.h" | 39 #include "chrome/test/sync/engine/test_id_factory.h" |
| 41 #include "chrome/test/sync/engine/test_syncable_utils.h" | 40 #include "chrome/test/sync/engine/test_syncable_utils.h" |
| 42 #include "testing/gtest/include/gtest/gtest.h" | 41 #include "testing/gtest/include/gtest/gtest.h" |
| 43 | 42 |
| 44 using base::TimeDelta; | 43 using base::TimeDelta; |
| 45 | 44 |
| 46 using std::map; | 45 using std::map; |
| 47 using std::multimap; | 46 using std::multimap; |
| (...skipping 5141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5189 Add(low_id_); | 5188 Add(low_id_); |
| 5190 Add(high_id_); | 5189 Add(high_id_); |
| 5191 SyncShareAsDelegate(); | 5190 SyncShareAsDelegate(); |
| 5192 ExpectLocalOrderIsByServerId(); | 5191 ExpectLocalOrderIsByServerId(); |
| 5193 } | 5192 } |
| 5194 | 5193 |
| 5195 const SyncerTest::CommitOrderingTest | 5194 const SyncerTest::CommitOrderingTest |
| 5196 SyncerTest::CommitOrderingTest::LAST_COMMIT_ITEM = {-1, TestIdFactory::root()}; | 5195 SyncerTest::CommitOrderingTest::LAST_COMMIT_ITEM = {-1, TestIdFactory::root()}; |
| 5197 | 5196 |
| 5198 } // namespace browser_sync | 5197 } // namespace browser_sync |
| OLD | NEW |