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

Issue 68483005: ProfileSyncServiceTest refactoring (Closed)

Created:
7 years, 1 month ago by pavely
Modified:
7 years, 1 month ago
Reviewers:
rlarocque
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

ProfileSyncServiceTest refactoring Move following tests: TestStartupWithOldSyncData FailToOpenDatabase FailToDownloadControlTypes Remove redundant parameters from StartSyncServiceAndSetInitialSyncEnded and remove StartSyncService function. TestStartupWithOldSyncData goes to SyncBackendHost tests. It verifies that SyncBackendHost cleans Sync Data directory before initialization. FailToOpenDatabase goes to SyncManagerImpl test. It verifies that if SyncManager fails to open database it reports initialization failure. FailToDownloadControlTypes is already covered by SyncBackendHostTest.SilentlyFailToDownloadControlTypes BUG=312994 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235854

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase and move tests around #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Fix mac build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -107 lines) Patch
M chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc View 1 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_unittest.cc View 1 2 8 chunks +9 lines, -100 lines 0 comments Download
M sync/internal_api/sync_manager_impl_unittest.cc View 1 2 3 4 chunks +33 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
pavely
7 years, 1 month ago (2013-11-11 22:18:06 UTC) #1
rlarocque
See r233945, a ProfileSyncServiceStartupTest refactor that landed last week. See also https://codereview.chromium.org/69583002/, an in-progress CL ...
7 years, 1 month ago (2013-11-11 22:30:46 UTC) #2
pavely
I did rebase, moved tests to better places. PTAL.
7 years, 1 month ago (2013-11-13 18:20:15 UTC) #3
rlarocque
Thanks! Once we combine this with the other CL I'm working on, we should finally ...
7 years, 1 month ago (2013-11-13 18:58:35 UTC) #4
pavely
https://codereview.chromium.org/68483005/diff/70001/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc File chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc (right): https://codereview.chromium.org/68483005/diff/70001/chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc#newcode701 chrome/browser/sync/glue/sync_backend_host_impl_unittest.cc:701: InitializeBackend(true); On 2013/11/13 18:58:35, rlarocque wrote: > I think ...
7 years, 1 month ago (2013-11-18 19:26:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavely@chromium.org/68483005/180001
7 years, 1 month ago (2013-11-18 19:31:04 UTC) #6
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=189743
7 years, 1 month ago (2013-11-18 19:58:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavely@chromium.org/68483005/440001
7 years, 1 month ago (2013-11-18 20:09:16 UTC) #8
commit-bot: I haz the power
7 years, 1 month ago (2013-11-18 23:54:36 UTC) #9
Message was sent while issue was closed.
Change committed as 235854

Powered by Google App Engine
This is Rietveld 408576698