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

Issue 843483004: sync: add more integration tests for wifi_sync (Closed)

Created:
5 years, 11 months ago by mukesh agrawal
Modified:
5 years, 10 months ago
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@submit-4.3-syncable-service
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sync: add more integration tests for wifi_sync Add tests which exercise wifi_sync's ability to add networks. These tests add a network to the platform wifi config, and then verify that the new network appears in other sync clients. BUG=chromium:431435 TEST=sync_integration_tests --gtest_filter="*Wifi*" Committed: https://crrev.com/0c9f1c75eb83c5aa231696e49f72d004e6e10026 Cr-Commit-Position: refs/heads/master@{#315070}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 18

Patch Set 3 : address feedback on PS2 from stevenjb #

Patch Set 4 : add assertions for |credential| #

Patch Set 5 : fix compilation errors #

Total comments: 6

Patch Set 6 : use directory-level deps (instead of file-level) #

Total comments: 34

Patch Set 7 : address feedback from pneubeck, on PS6 #

Total comments: 3

Patch Set 8 : address pneubeck's comments on PS7 #

Total comments: 3

Patch Set 9 : rebase, and resolve (trivial) conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+314 lines, -19 lines) Patch
M chrome/browser/sync/test/integration/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc View 1 2 3 4 5 6 7 2 chunks +44 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_wifi_credentials_sync_test.cc View 1 2 3 4 5 6 7 2 chunks +46 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/wifi_credentials_helper.h View 1 2 3 4 5 6 7 2 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/wifi_credentials_helper.cc View 1 2 3 4 5 6 7 5 chunks +75 lines, -7 lines 0 comments Download
M chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.h View 1 2 3 4 5 6 7 1 chunk +24 lines, -3 lines 0 comments Download
M chrome/browser/sync/test/integration/wifi_credentials_helper_chromeos.cc View 1 2 3 4 5 6 7 8 2 chunks +90 lines, -9 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
mukesh agrawal
5 years, 11 months ago (2015-01-07 18:44:05 UTC) #3
mukesh agrawal
The build failure is due to this being an incremental CL. (I didn't realize the ...
5 years, 11 months ago (2015-01-07 18:50:26 UTC) #4
mukesh agrawal
This CL depends on https://codereview.chromium.org/876833002/
5 years, 11 months ago (2015-01-27 02:03:17 UTC) #7
mukesh agrawal
5 years, 11 months ago (2015-01-27 02:18:15 UTC) #10
stevenjb
+pneubeck@ - can you also take a look at wifi_credentials_helper_chromeos.cc? Thanks. https://codereview.chromium.org/843483004/diff/20001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc File chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc (right): ...
5 years, 10 months ago (2015-01-28 21:29:43 UTC) #13
mukesh agrawal
Thanks + PTAL. https://codereview.chromium.org/843483004/diff/20001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc File chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc (right): https://codereview.chromium.org/843483004/diff/20001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc#newcode21 chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc:21: On 2015/01/28 21:29:43, stevenjb wrote: > ...
5 years, 10 months ago (2015-01-28 22:55:11 UTC) #14
stevenjb
lgtm https://codereview.chromium.org/843483004/diff/80001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc File chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc (right): https://codereview.chromium.org/843483004/diff/80001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc#newcode26 chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc:26: } nit: There should still be WS between ...
5 years, 10 months ago (2015-01-28 23:02:51 UTC) #15
erikwright (departed)
LGTM. https://codereview.chromium.org/843483004/diff/80001/chrome/browser/sync/test/integration/DEPS File chrome/browser/sync/test/integration/DEPS (right): https://codereview.chromium.org/843483004/diff/80001/chrome/browser/sync/test/integration/DEPS#newcode2 chrome/browser/sync/test/integration/DEPS:2: "+components/onc/onc_constants.h", # wifi_credentials tests It seems exceptional, to ...
5 years, 10 months ago (2015-01-29 15:51:34 UTC) #16
mukesh agrawal
Thanks. I'll ping pavely for the final LGTM. https://codereview.chromium.org/843483004/diff/80001/chrome/browser/sync/test/integration/DEPS File chrome/browser/sync/test/integration/DEPS (right): https://codereview.chromium.org/843483004/diff/80001/chrome/browser/sync/test/integration/DEPS#newcode2 chrome/browser/sync/test/integration/DEPS:2: "+components/onc/onc_constants.h", ...
5 years, 10 months ago (2015-01-29 19:01:21 UTC) #17
pneubeck (no reviews)
https://codereview.chromium.org/843483004/diff/100001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc File chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc (right): https://codereview.chromium.org/843483004/diff/100001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc#newcode46 chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc:46: IN_PROC_BROWSER_TEST_F(SingleClientWifiCredentialsSyncTest, SingleCredential) { is there a reason why this ...
5 years, 10 months ago (2015-01-30 14:38:46 UTC) #18
mukesh agrawal
pneubeck: thanks and PTAL. https://codereview.chromium.org/843483004/diff/80001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc File chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc (right): https://codereview.chromium.org/843483004/diff/80001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc#newcode26 chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc:26: } On 2015/01/28 23:02:50, stevenjb ...
5 years, 10 months ago (2015-01-30 22:28:15 UTC) #19
pavely
lgtm
5 years, 10 months ago (2015-01-30 22:34:33 UTC) #20
pneubeck (no reviews)
lgtm with a few comments for consideration https://codereview.chromium.org/843483004/diff/100001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc File chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc (right): https://codereview.chromium.org/843483004/diff/100001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc#newcode59 chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc:59: EXPECT_TRUE(wifi_credentials_helper::ProfileMatchesVerifier(0)); On ...
5 years, 10 months ago (2015-01-31 10:26:41 UTC) #21
mukesh agrawal
https://codereview.chromium.org/843483004/diff/100001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc File chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc (right): https://codereview.chromium.org/843483004/diff/100001/chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc#newcode59 chrome/browser/sync/test/integration/single_client_wifi_credentials_sync_test.cc:59: EXPECT_TRUE(wifi_credentials_helper::ProfileMatchesVerifier(0)); On 2015/01/31 10:26:40, pneubeck wrote: > On 2015/01/30 ...
5 years, 10 months ago (2015-02-02 20:36:40 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843483004/140001
5 years, 10 months ago (2015-02-06 17:18:28 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/5798)
5 years, 10 months ago (2015-02-06 17:33:49 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/843483004/160001
5 years, 10 months ago (2015-02-06 17:58:44 UTC) #28
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 10 months ago (2015-02-06 18:21:10 UTC) #29
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 18:21:48 UTC) #30
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/0c9f1c75eb83c5aa231696e49f72d004e6e10026
Cr-Commit-Position: refs/heads/master@{#315070}

Powered by Google App Engine
This is Rietveld 408576698