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

Issue 2174753004: arc:Integration test for Arc package Chrome sync. (Closed)

Created:
4 years, 5 months ago by lgcheng
Modified:
4 years, 4 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, tapted, yusukes+watch_chromium.org, tfarina, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, sync-reviews_chromium.org, Matt Giuca
Base URL:
https://chromium.googlesource.com/chromium/src.git@current
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc:Integration test for Arc package Chrome sync. This Patch depends on: https://codereview.chromium.org/2106663004 BUG=631253 TEST=Pass added integration tests. Committed: https://crrev.com/f0d5430a0e13a019f7fbdbe69fbb63c92d9e719a Cr-Commit-Position: refs/heads/master@{#409461}

Patch Set 1 #

Total comments: 30

Patch Set 2 : Issue addressed. #

Total comments: 4

Patch Set 3 #

Total comments: 2

Patch Set 4 : Address Josh's comment. #

Patch Set 5 : Remove test log. #

Total comments: 4

Patch Set 6 : Nits #

Patch Set 7 : Rebase #

Total comments: 6

Patch Set 8 #

Total comments: 4

Patch Set 9 #

Patch Set 10 : Rebase #

Patch Set 11 : Modify target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+639 lines, -22 lines) Patch
M chrome/browser/chromeos/profiles/profile_helper.h View 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc View 1 2 3 4 5 6 7 8 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/sync/test/integration/sync_arc_package_helper.h View 1 2 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/sync/test/integration/sync_arc_package_helper.cc View 1 2 3 4 5 1 chunk +244 lines, -0 lines 0 comments Download
A chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc View 1 2 3 4 5 6 7 8 1 chunk +178 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.h View 1 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.cc View 1 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc View 1 2 3 4 5 6 7 8 9 12 chunks +6 lines, -21 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 5 chunks +14 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
M components/arc/test/fake_app_instance.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 36 (14 generated)
lgcheng
Hi Guys, This is the integration test for Arc package chrome sync. PTAL. Thanks! https://codereview.chromium.org/2174753004/diff/1/chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.cc ...
4 years, 5 months ago (2016-07-22 20:28:03 UTC) #3
lgcheng
+ Josh I think two_client_arc_package_sync_test.cc will be the file that you are interested in as ...
4 years, 5 months ago (2016-07-23 00:11:26 UTC) #6
stevenjb
https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.h File chrome/browser/sync/test/integration/sync_arc_package_helper.h (right): https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.h#newcode31 chrome/browser/sync/test/integration/sync_arc_package_helper.h:31: void ClearUp(); nit: CleanUp https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.h#newcode57 chrome/browser/sync/test/integration/sync_arc_package_helper.h:57: bool ArcPackageMatch(Profile* profile1, ...
4 years, 5 months ago (2016-07-25 16:45:08 UTC) #7
Josh Horwich
https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.cc File chrome/browser/sync/test/integration/sync_arc_package_helper.cc (right): https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.cc#newcode78 chrome/browser/sync/test/integration/sync_arc_package_helper.cc:78: char id = '0'; Are you counting on pointer-to-this ...
4 years, 5 months ago (2016-07-25 16:48:09 UTC) #8
Luis Héctor Chávez
https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.cc File chrome/browser/sync/test/integration/sync_arc_package_helper.cc (right): https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.cc#newcode211 chrome/browser/sync/test/integration/sync_arc_package_helper.cc:211: if (pref1_packages.size()!=pref2_packages.size()) can you run git cl format? https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.h ...
4 years, 5 months ago (2016-07-25 17:56:24 UTC) #9
lgcheng
Issue fixed. PTAL https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.cc File chrome/browser/sync/test/integration/sync_arc_package_helper.cc (right): https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/sync_arc_package_helper.cc#newcode78 chrome/browser/sync/test/integration/sync_arc_package_helper.cc:78: char id = '0'; On 2016/07/25 ...
4 years, 5 months ago (2016-07-25 20:45:32 UTC) #10
Luis Héctor Chávez
https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc File chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc (right): https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc#newcode19 chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc:19: } */ On 2016/07/25 20:45:32, lgcheng wrote: > On ...
4 years, 5 months ago (2016-07-25 20:57:25 UTC) #11
lgcheng
PTAL this update. Thanks! https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc File chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc (right): https://codereview.chromium.org/2174753004/diff/1/chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc#newcode19 chrome/browser/sync/test/integration/two_client_arc_package_sync_test.cc:19: } */ On 2016/07/25 20:57:24, ...
4 years, 5 months ago (2016-07-25 21:37:28 UTC) #13
Josh Horwich
https://codereview.chromium.org/2174753004/diff/60001/chrome/browser/sync/test/integration/sync_arc_package_helper.cc File chrome/browser/sync/test/integration/sync_arc_package_helper.cc (right): https://codereview.chromium.org/2174753004/diff/60001/chrome/browser/sync/test/integration/sync_arc_package_helper.cc#newcode41 chrome/browser/sync/test/integration/sync_arc_package_helper.cc:41: std::string gaia_id = "1234567890" + base::IntToString(id); base::SizeTToString
4 years, 5 months ago (2016-07-25 22:14:50 UTC) #14
lgcheng
https://codereview.chromium.org/2174753004/diff/60001/chrome/browser/sync/test/integration/sync_arc_package_helper.cc File chrome/browser/sync/test/integration/sync_arc_package_helper.cc (right): https://codereview.chromium.org/2174753004/diff/60001/chrome/browser/sync/test/integration/sync_arc_package_helper.cc#newcode41 chrome/browser/sync/test/integration/sync_arc_package_helper.cc:41: std::string gaia_id = "1234567890" + base::IntToString(id); On 2016/07/25 22:14:50, ...
4 years, 5 months ago (2016-07-25 22:26:39 UTC) #15
Luis Héctor Chávez
lgtm with nits https://codereview.chromium.org/2174753004/diff/100001/chrome/browser/sync/test/integration/sync_arc_package_helper.cc File chrome/browser/sync/test/integration/sync_arc_package_helper.cc (right): https://codereview.chromium.org/2174753004/diff/100001/chrome/browser/sync/test/integration/sync_arc_package_helper.cc#newcode107 chrome/browser/sync/test/integration/sync_arc_package_helper.cc:107: ArcAppListPrefs* prefs = ArcAppListPrefs::Get(profile); nit: const ...
4 years, 4 months ago (2016-07-26 17:30:53 UTC) #17
lgcheng
Thanks Luis for review! Steven, PTAL chrome/browser/chromeos/profiles/profile_helper.h chrome/browser/ui/app_list/* pavely@, PTAL chrome/browser/sync/test/* Thanks! https://codereview.chromium.org/2174753004/diff/100001/chrome/browser/sync/test/integration/sync_arc_package_helper.cc File chrome/browser/sync/test/integration/sync_arc_package_helper.cc ...
4 years, 4 months ago (2016-07-26 17:46:13 UTC) #18
stevenjb
lgtm
4 years, 4 months ago (2016-07-27 16:45:46 UTC) #19
lgcheng
On 2016/07/27 16:45:46, stevenjb wrote: > lgtm Thank Steven for review this! Pavel, I know ...
4 years, 4 months ago (2016-07-27 17:10:29 UTC) #20
lgcheng
Hi Pavel, Could you revew chrome/browser/sync/test/* when you have a moment? Or if you don't ...
4 years, 4 months ago (2016-07-29 21:26:59 UTC) #21
pavely
chrome/browser/sync/test/* lgtm % couple of comments. https://codereview.chromium.org/2174753004/diff/140001/chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc File chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc (right): https://codereview.chromium.org/2174753004/diff/140001/chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc#newcode56 chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc:56: CleanUp(); ASSERT_TRUE returns ...
4 years, 4 months ago (2016-07-29 23:01:04 UTC) #22
lgcheng
Thank pavel for review! Issue addressed. https://codereview.chromium.org/2174753004/diff/140001/chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc File chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc (right): https://codereview.chromium.org/2174753004/diff/140001/chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc#newcode56 chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc:56: CleanUp(); On 2016/07/29 ...
4 years, 4 months ago (2016-07-29 23:53:21 UTC) #23
Luis Héctor Chávez
https://codereview.chromium.org/2174753004/diff/160001/chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc File chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc (right): https://codereview.chromium.org/2174753004/diff/160001/chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc#newcode42 chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc:42: sync_helper_->CleanUp(); For symmetry, can |sync_helper_| be initialized in SetUpOnMainThread()? ...
4 years, 4 months ago (2016-08-01 18:03:40 UTC) #24
lgcheng
https://codereview.chromium.org/2174753004/diff/160001/chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc File chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc (right): https://codereview.chromium.org/2174753004/diff/160001/chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc#newcode42 chrome/browser/sync/test/integration/single_client_arc_package_sync_test.cc:42: sync_helper_->CleanUp(); On 2016/08/01 18:03:40, Luis Héctor Chávez wrote: > ...
4 years, 4 months ago (2016-08-01 18:14:18 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2174753004/220001
4 years, 4 months ago (2016-08-03 05:17:45 UTC) #32
commit-bot: I haz the power
Committed patchset #11 (id:220001)
4 years, 4 months ago (2016-08-03 05:21:27 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 05:23:27 UTC) #36
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/f0d5430a0e13a019f7fbdbe69fbb63c92d9e719a
Cr-Commit-Position: refs/heads/master@{#409461}

Powered by Google App Engine
This is Rietveld 408576698