sync: Refactor TwoClientPreferencesSyncTest
Makes the TwoClientPreferencesSyncTests compatible with reflection-blocking and enables reflection-blocking in its test harness. Introduces new StatusCheckers that wait for preferences. The new preference status checkers work by observering preference changes rather than sync cycle completion notifications. Also introduces some new status checkers to wait until encryption is enabled. Removes DisablePreferences and DisableSync tests because we have decided that there is not enough value in testing disable scenarios to bother maintaining them for each type. Removes several translation tests because they seem to not provide much additional value and they would be particularly onerous to maintain. Each one of these tests would have needed its own status checker or a generic status-checker that makes use of an injected Closure. Removes several encryption tests because they were redundant. Removes or renames many other redundant tests. BUG=97780,95742,351159 Review URL: https://codereview.chromium.org/342853004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282241 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment