Description[Sync] Add diagnostic into AndroidSyncSettingsTest
After my last change tests started failing on assert in setUp claiming that
getIsSyncable returns -1.
I'm trying to confirm if code in AndroidSyncSettings.updateSyncability executes
call to setIsSyncable, thus adding a few assertTrue.
In addition I noticed that AndroidSyncSettings.mContractAuthority is initialized
in ctor, but getContractAuthority() still calls mApplicationContext. I changed
it to always return mContractAuthority to ensure the same value is used
throughout test execution.
BUG=717960
R=skym@chromium.org
Review-Url: https://codereview.chromium.org/2873893004
Cr-Commit-Position: refs/heads/master@{#470697}
Committed: https://chromium.googlesource.com/chromium/src/+/78577b17b468843edb79d4111471b16e55e2aaac
Patch Set 1 #
Messages
Total messages: 10 (6 generated)
|