Index: sync/internal_api/sync_manager_impl_unittest.cc |
diff --git a/sync/internal_api/syncapi_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc |
similarity index 99% |
rename from sync/internal_api/syncapi_unittest.cc |
rename to sync/internal_api/sync_manager_impl_unittest.cc |
index e43a2e2ab7760549a5557478e5d1552032b9e86a..6b095431fa1477f8ef3d08f593daa5fd5815d5f7 100644 |
--- a/sync/internal_api/syncapi_unittest.cc |
+++ b/sync/internal_api/sync_manager_impl_unittest.cc |
@@ -23,8 +23,8 @@ |
#include "base/test/values_test_util.h" |
#include "base/utf_string_conversions.h" |
#include "base/values.h" |
-#include "sync/internal_api/public/base/model_type_test_util.h" |
#include "sync/engine/sync_scheduler.h" |
+#include "sync/internal_api/public/base/model_type_test_util.h" |
#include "sync/internal_api/public/change_record.h" |
#include "sync/internal_api/public/engine/model_safe_worker.h" |
#include "sync/internal_api/public/engine/polling_constants.h" |
@@ -36,8 +36,8 @@ |
#include "sync/internal_api/public/test/test_user_share.h" |
#include "sync/internal_api/public/write_node.h" |
#include "sync/internal_api/public/write_transaction.h" |
-#include "sync/internal_api/syncapi_internal.h" |
#include "sync/internal_api/sync_manager_impl.h" |
+#include "sync/internal_api/syncapi_internal.h" |
#include "sync/js/js_arg_list.h" |
#include "sync/js/js_backend.h" |
#include "sync/js/js_event_handler.h" |
@@ -60,9 +60,9 @@ |
#include "sync/syncable/syncable_id.h" |
#include "sync/syncable/write_transaction.h" |
#include "sync/test/callback_counter.h" |
+#include "sync/test/engine/fake_sync_scheduler.h" |
#include "sync/test/fake_encryptor.h" |
#include "sync/test/fake_extensions_activity_monitor.h" |
-#include "sync/test/engine/fake_sync_scheduler.h" |
#include "sync/util/cryptographer.h" |
#include "sync/util/extensions_activity_monitor.h" |
#include "sync/util/test_unrecoverable_error_handler.h" |
@@ -963,6 +963,11 @@ TEST_F(SyncManagerTest, UpdateEnabledTypes) { |
sync_manager_.UpdateEnabledTypes(enabled_types); |
} |
+TEST_F(SyncManagerTest, UpdateRegisteredIds) { |
+ EXPECT_CALL(*sync_notifier_mock_, UpdateRegisteredIds(NULL, ObjectIdSet())); |
+ sync_manager_.UpdateRegisteredIds(NULL, ObjectIdSet()); |
+} |
+ |
TEST_F(SyncManagerTest, ProcessJsMessage) { |
const JsArgList kNoArgs; |