Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Issue 474273003: sync: Refactor bookmarks integration tests

Created:
6 years, 4 months ago by rlarocque
Modified:
6 years, 4 months ago
Reviewers:
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

sync: Refactor bookmarks integration tests Updates the bookmarks integration test helpers to use BookmarkObserver, rather than the ProfileSyncServiceObserver-based status checking hooks. Refactors the two-client bookmark integration tests to use this new checker functionality instead of the old AwaitQuiescence() and AwaitGroupSyncCycleComplete() calls. Replaces a python test server legacy test with the help of the fake-server's new sync entity injection feature. Deletes a few enable/disable tests. BUG=97780, 95742

Patch Set 1 #

Patch Set 2 : Use RunLoop for StatusChangeChecker #

Patch Set 3 : Use RunLoop for favicon wait #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -554 lines) Patch
M chrome/browser/sync/test/integration/bookmarks_helper.h View 2 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/sync/test/integration/bookmarks_helper.cc View 1 2 8 chunks +164 lines, -49 lines 0 comments Download
M chrome/browser/sync/test/integration/status_change_checker.h View 1 3 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/status_change_checker.cc View 1 1 chunk +2 lines, -7 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc View 65 chunks +302 lines, -479 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698