• pavely@chromium.org's avatar
    ProfileSyncServiceTest refactoring · 57820b70
    pavely@chromium.org authored
    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
    
    Review URL: https://codereview.chromium.org/68483005
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235854 0039d316-1c4b-4281-b951-d872f2087c98
    57820b70
profile_sync_service_unittest.cc 18.5 KB