Add tests for the full ProfileSyncService startup sequence
This adds tests FullStartupSequenceFirstTime and FullStartupSequenceNthTime, based on the new SyncService::State enum. To be able to properly test the full flow, this also introduces a MockSyncEngine (previous tests use a Fake, which bypasses some steps). Bug: 839834 Change-Id: I145becf840f476d73815526b8abd43a9bfa159b8 Reviewed-on: https://chromium-review.googlesource.com/1118383 Commit-Queue: Marc Treib <treib@chromium.org> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#572170}
Showing
Please register or sign in to comment