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

Issue 7753023: [Sync] Add tests for migration triggered by notifications (Closed)

Created:
9 years, 4 months ago by akalin
Modified:
9 years, 4 months ago
CC:
chromium-reviews, ncarter (slow), idana, kkania, cbentzel+watch_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

[Sync] Add tests for migration triggered by notifications Add support for disabling/enabling notifications to the test server, and support for triggering notifications. BUG=92928 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98558

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -105 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/sync/notifier/p2p_notifier.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/notifier/p2p_notifier.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.h View 4 chunks +14 lines, -5 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_harness.cc View 5 chunks +14 lines, -8 lines 0 comments Download
M chrome/test/live_sync/live_sync_test.h View 2 chunks +13 lines, -8 lines 0 comments Download
M chrome/test/live_sync/live_sync_test.cc View 5 chunks +50 lines, -32 lines 0 comments Download
M chrome/test/live_sync/migration_errors_test.cc View 1 5 chunks +38 lines, -12 lines 0 comments Download
M net/tools/testserver/testserver.py View 4 chunks +61 lines, -2 lines 0 comments Download
M net/tools/testserver/xmppserver.py View 4 chunks +50 lines, -3 lines 0 comments Download
M net/tools/testserver/xmppserver_test.py View 1 4 chunks +113 lines, -28 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
akalin
+rsimha for integration test stuff, +zea for everything else
9 years, 4 months ago (2011-08-26 00:54:08 UTC) #1
Raghu Simha
I have one question below. If there's a way of adding an extra check to ...
9 years, 4 months ago (2011-08-26 01:30:21 UTC) #2
akalin
http://codereview.chromium.org/7753023/diff/1/chrome/browser/sync/profile_sync_service_harness.h#newcode78 > chrome/browser/sync/profile_sync_service_harness.h:78: // cycle has > completed. > Is it a bug or a ...
9 years, 4 months ago (2011-08-26 01:58:16 UTC) #3
Raghu Simha
On 2011/08/26 01:58:16, akalin wrote: > Well, it's neither. The case in this CL is ...
9 years, 4 months ago (2011-08-26 03:13:18 UTC) #4
Raghu Simha
On 2011/08/26 01:58:16, akalin wrote: > Well, it's neither. The case in this CL is ...
9 years, 4 months ago (2011-08-26 03:14:46 UTC) #5
Nicolas Zea
http://codereview.chromium.org/7753023/diff/1/chrome/test/live_sync/migration_errors_test.cc File chrome/test/live_sync/migration_errors_test.cc (right): http://codereview.chromium.org/7753023/diff/1/chrome/test/live_sync/migration_errors_test.cc#newcode365 chrome/test/live_sync/migration_errors_test.cc:365: IN_PROC_BROWSER_TEST_F(MigrationReconfigureTest, SetSyncTabsAndMigrate) { Looks like this needs to be ...
9 years, 4 months ago (2011-08-26 21:42:55 UTC) #6
akalin
All comments addressed, PTAL. http://codereview.chromium.org/7753023/diff/1/chrome/test/live_sync/migration_errors_test.cc File chrome/test/live_sync/migration_errors_test.cc (right): http://codereview.chromium.org/7753023/diff/1/chrome/test/live_sync/migration_errors_test.cc#newcode12 chrome/test/live_sync/migration_errors_test.cc:12: #include "chrome/test/live_sync/bookmarks_helper.h" On 2011/08/26 01:30:21, ...
9 years, 4 months ago (2011-08-26 23:42:09 UTC) #7
akalin
> Curious: Do you think it will be useful for AwaitNextSyncCycleCompletion to > be a ...
9 years, 4 months ago (2011-08-26 23:44:15 UTC) #8
Nicolas Zea
LGTM
9 years, 4 months ago (2011-08-27 00:48:01 UTC) #9
commit-bot: I haz the power
9 years, 4 months ago (2011-08-27 06:53:27 UTC) #10
Change committed as 98558

Powered by Google App Engine
This is Rietveld 408576698