[Sync::USS] Unittesting the case of a corrupted password store sync
Some wrong DCHECKs have gone undiscovered for sometime due of the lack of unit tests of the case when the password store sync fails. This CL adds some simple unit testing that tests that during initial merge, if the store fails to add a login or to read all logins, an error is returned without crashing. Bug: 936823 Change-Id: Iefd2759b3a73c702c2e9bc4e95c96a43e1ed945c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1499543 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by:Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#637635}
Showing
Please register or sign in to comment