[Signin][Android] Use AccountManagerTestRule in background sync tests
This CL replaces the static class SigninTestUtil with AccountManagerTestRule to mock the AccountManagerFacade in background_sync tests. The latter is simpler and less flaky. Bug: 1078342 Change-Id: I4754df741cf27b92b0c99fa19f7377d762050396 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2185009Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Commit-Queue: Alice Wang <aliceywang@chromium.org> Cr-Commit-Position: refs/heads/master@{#768867}
Showing
Please register or sign in to comment