[Android] Add tests for personalized signin promos in Bookmarks
This CL adds a handful of tests for the personalized signin promos in Bookmarks. The tests verify whether: - The promo can be manually dismissed / the promo gets automatically dismissed after the impression limit has been reached. - The signin buttons fire the right intents when clicked. It also updates the API of AccountSigninActivity and replaces some anonymous classes in SigninAndSyncView with lambdas. Bug: 737743 Change-Id: I45d7dfd246f98e1a2ca4e3bf79616274c858d256 Reviewed-on: https://chromium-review.googlesource.com/686755 Commit-Queue: Iulia Harasim <iuliah@google.com> Reviewed-by:Boris Sazonov <bsazonov@chromium.org> Reviewed-by:
Bernhard Bauer <bauerb@chromium.org> Cr-Commit-Position: refs/heads/master@{#505050}
Showing
Please register or sign in to comment