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

Issue 1137543002: Sync: add a test for downloading a tombstoned bookmark (Closed)

Created:
5 years, 7 months ago by pval...(no longer on Chromium)
Modified:
5 years, 7 months ago
Reviewers:
maniscalco
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sync: add a test for downloading a tombstoned bookmark This CL adds the first test that injects a tombstone into FakeServer (a fancy way of saying deleting the entity). As part of this CL, a util to wait for a bookmark count to match was added. A util function to trigger a sync cycle given a ModelTypeSet was also added. BUG=365774 Committed: https://crrev.com/42417f22bf7c3ac27565c7771c49fd2b663b24a2 Cr-Commit-Position: refs/heads/master@{#329205}

Patch Set 1 : #

Total comments: 11

Patch Set 2 : fixing 1st round of comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -85 lines) Patch
M chrome/browser/sync/test/integration/bookmarks_helper.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/bookmarks_helper.cc View 1 2 chunks +46 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/p2p_sync_refresher.cc View 1 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc View 1 8 chunks +144 lines, -75 lines 0 comments Download
M chrome/browser/sync/test/integration/single_client_wallet_sync_test.cc View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137543002/60001
5 years, 7 months ago (2015-05-07 22:59:38 UTC) #5
pval...(no longer on Chromium)
5 years, 7 months ago (2015-05-07 23:00:16 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-08 00:10:10 UTC) #9
pval...(no longer on Chromium)
zea is out, so I'm switching reviewers. maniscalco@, please take a look? :-)
5 years, 7 months ago (2015-05-08 17:28:11 UTC) #11
maniscalco
Looking good. Just a few comments... https://codereview.chromium.org/1137543002/diff/60001/chrome/browser/sync/test/integration/bookmarks_helper.cc File chrome/browser/sync/test/integration/bookmarks_helper.cc (right): https://codereview.chromium.org/1137543002/diff/60001/chrome/browser/sync/test/integration/bookmarks_helper.cc#newcode769 chrome/browser/sync/test/integration/bookmarks_helper.cc:769: expected_count_(expected_count) {} nit: ...
5 years, 7 months ago (2015-05-08 20:13:18 UTC) #12
pval...(no longer on Chromium)
https://codereview.chromium.org/1137543002/diff/60001/chrome/browser/sync/test/integration/bookmarks_helper.cc File chrome/browser/sync/test/integration/bookmarks_helper.cc (right): https://codereview.chromium.org/1137543002/diff/60001/chrome/browser/sync/test/integration/bookmarks_helper.cc#newcode769 chrome/browser/sync/test/integration/bookmarks_helper.cc:769: expected_count_(expected_count) {} On 2015/05/08 20:13:18, maniscalco wrote: > nit: ...
5 years, 7 months ago (2015-05-08 22:34:19 UTC) #13
maniscalco
LGTM https://codereview.chromium.org/1137543002/diff/60001/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc File chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc (right): https://codereview.chromium.org/1137543002/diff/60001/chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc#newcode326 chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc:326: ASSERT_TRUE(AwaitCountBookmarksWithTitlesMatching(0 /* profile */, On 2015/05/08 22:34:19, pvalenzuela ...
5 years, 7 months ago (2015-05-08 23:56:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137543002/80001
5 years, 7 months ago (2015-05-11 17:53:02 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:80001)
5 years, 7 months ago (2015-05-11 18:45:17 UTC) #17
commit-bot: I haz the power
5 years, 7 months ago (2015-05-11 18:46:40 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/42417f22bf7c3ac27565c7771c49fd2b663b24a2
Cr-Commit-Position: refs/heads/master@{#329205}

Powered by Google App Engine
This is Rietveld 408576698