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

Issue 8735019: Add App Notification Sync Integration Test (Closed)

Created:
9 years ago by elvin
Modified:
8 years, 3 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

Add App Notification Sync Integration Test

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 17
Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -0 lines) Patch
A chrome/browser/sync/test/integration/app_notification_helper.h View 1 2 3 4 5 1 chunk +45 lines, -0 lines 11 comments Download
A chrome/browser/sync/test/integration/app_notification_helper.cc View 1 2 3 4 5 1 chunk +94 lines, -0 lines 3 comments Download
A chrome/browser/sync/test/integration/single_client_app_notification_sync_test.cc View 1 2 3 4 5 1 chunk +50 lines, -0 lines 3 comments Download
M chrome/chrome_tests.gypi View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Munjal (Google)
Actually Lingesh and Raghu should review this.
9 years ago (2011-11-30 19:22:26 UTC) #1
elvin
On 2011/11/30 19:22:26, munjal wrote: > Actually Lingesh and Raghu should review this. Ping
9 years ago (2011-12-03 01:16:55 UTC) #2
lipalani1
LGTM on the test case. I am sorry I should have told this earlier. The ...
9 years ago (2011-12-03 01:25:39 UTC) #3
Munjal (Google)
LGTM. Again, thanks for doing this. http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/integration/app_notification_helper.cc File chrome/browser/sync/test/integration/app_notification_helper.cc (right): http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/integration/app_notification_helper.cc#newcode61 chrome/browser/sync/test/integration/app_notification_helper.cc:61: if (verifier_list->size() != ...
9 years ago (2011-12-03 05:03:48 UTC) #4
asargent_no_longer_on_chrome
lgtm http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/integration/app_notification_helper.h File chrome/browser/sync/test/integration/app_notification_helper.h (right): http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/integration/app_notification_helper.h#newcode17 chrome/browser/sync/test/integration/app_notification_helper.h:17: typedef std::map<std::string, const AppNotification*> GUIDToTURLMap; nit: What's a ...
9 years ago (2011-12-03 05:34:30 UTC) #5
Raghu Simha
9 years ago (2011-12-05 18:33:55 UTC) #6
Sorry -- this skipped my attention until today. I've made some comments below.

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
File chrome/browser/sync/test/integration/app_notification_helper.h (right):

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
chrome/browser/sync/test/integration/app_notification_helper.h:22:
AppNotificationManager* GetServiceForProfile(int index);
Rename to GetAppNotificationManager().

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
chrome/browser/sync/test/integration/app_notification_helper.h:25:
AppNotificationManager* GetVerifierService();
GetVerifierAppNotificationManager().

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
chrome/browser/sync/test/integration/app_notification_helper.h:32: bool
AppNotificationMatch(const AppNotification* not1,
nit: Rename to AppNotificationsMatch().

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
chrome/browser/sync/test/integration/app_notification_helper.h:37: void
AddNotification(int profile, int seed);
nit: Rename to AddAppNotification().

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
chrome/browser/sync/test/integration/app_notification_helper.h:41:
AppNotification* CreateTestAppNotification(int seed);
Nit: Add a blank line here.

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
chrome/browser/sync/test/integration/app_notification_helper.h:45: 
nit: Delete extra blank line.

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
File
chrome/browser/sync/test/integration/single_client_app_notification_sync_test.cc
(right):

http://codereview.chromium.org/8735019/diff/10001/chrome/browser/sync/test/in...
chrome/browser/sync/test/integration/single_client_app_notification_sync_test.cc:39:
FROM_HERE,
nit: Fix indentation.

Powered by Google App Engine
This is Rietveld 408576698