[Sync] Clean up Android test code a bit, take 2.
Reland of
http://crrev.com/2009603005. It was reverted because of a minor
FindBugs issue.
- Remove SigninTestUtil.get() and make it a fully static class.
- Add SigninTestUtil.getCurrentAccount() for convenience.
- setUpTestAccountAndSignInToSync -> setUpTestAccountAndSignIn because there's
no such thing as signing in to sync.
- Remove SyncTestUtil.verify* and replace with asserts on SyncTestUtil.isSyncRequested
and SigninTestUtil.getCurrentAccount.
- Make PassphraseTypeDialogFragmentTest inherit from SyncTestBase to resolve
a flake related to signin state.
TBR=nyquist@chromium.org
BUG=
Committed:
https://crrev.com/a88f601af0666ad721b2d4e0e39bbd8a17470d41
Cr-Commit-Position: refs/heads/master@{#396728}