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

Issue 642943002: Add tests for sync custom wallpaper feature (Closed)

Created:
6 years, 2 months ago by Ran
Modified:
6 years, 1 month ago
Reviewers:
bshe, kevers
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add tests for sync custom wallpaper feature BUG=421864 Committed: https://crrev.com/41aa884211d2d8d2be9923e6a75fb5a40238cd5b Cr-Commit-Position: refs/heads/master@{#302659}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add sync custom wallpaper tests in EventPageTest #

Total comments: 10

Patch Set 3 : Move mock functions to api_mock.js #

Total comments: 14

Patch Set 4 : Fix issues from 2nd code review #

Total comments: 10

Patch Set 5 : Fix issues from last code review #

Total comments: 10

Patch Set 6 : Fix issues #

Patch Set 7 : Merge to resolve conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -10 lines) Patch
M chrome/browser/resources/chromeos/wallpaper_manager/js/util.js View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js View 1 2 3 4 5 6 5 chunks +199 lines, -9 lines 0 comments Download
M chrome/test/data/chromeos/wallpaper_manager/unit_tests/event_page_unittest.js View 1 2 3 4 5 3 chunks +66 lines, -1 line 0 comments Download

Messages

Total messages: 23 (6 generated)
Ran
Hi Biao, I created some tests for sync custom wallpaper feature following "event_page_unittest". Could you ...
6 years, 2 months ago (2014-10-09 21:37:13 UTC) #2
bshe
https://codereview.chromium.org/642943002/diff/1/chrome/test/data/chromeos/wallpaper_manager/unit_tests/sync_custom_wallpaper_add_unittest.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/sync_custom_wallpaper_add_unittest.js (right): https://codereview.chromium.org/642943002/diff/1/chrome/test/data/chromeos/wallpaper_manager/unit_tests/sync_custom_wallpaper_add_unittest.js#newcode24 chrome/test/data/chromeos/wallpaper_manager/unit_tests/sync_custom_wallpaper_add_unittest.js:24: function testSyncCustomAddWallpaper() { you can move this test to ...
6 years, 2 months ago (2014-10-10 15:44:17 UTC) #3
bshe
+kevers as reviewer too
6 years, 2 months ago (2014-10-10 15:46:56 UTC) #5
Ran
Move tests into EventPageTest and add mock FS APIs
6 years, 2 months ago (2014-10-20 14:58:03 UTC) #6
bshe
I haven't look into details but just some high level feedback to unblock you. https://codereview.chromium.org/642943002/diff/170001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/event_page_unittest.js ...
6 years, 2 months ago (2014-10-20 21:01:00 UTC) #7
Ran
Move mock functions to api_mock.js https://codereview.chromium.org/642943002/diff/170001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/event_page_unittest.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/event_page_unittest.js (right): https://codereview.chromium.org/642943002/diff/170001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/event_page_unittest.js#newcode13 chrome/test/data/chromeos/wallpaper_manager/unit_tests/event_page_unittest.js:13: var currentWallpaperName = 'currentwallpapername'; ...
6 years, 2 months ago (2014-10-23 15:58:59 UTC) #8
bshe
Sorry for the delay. Some high level feedback for now. https://codereview.chromium.org/642943002/diff/190001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js (right): https://codereview.chromium.org/642943002/diff/190001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js#newcode36 ...
6 years, 1 month ago (2014-10-27 20:14:51 UTC) #9
Ran
Fix issues from last code review https://codereview.chromium.org/642943002/diff/190001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js (right): https://codereview.chromium.org/642943002/diff/190001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js#newcode36 chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js:36: if (isCreate.create == ...
6 years, 1 month ago (2014-10-27 22:22:02 UTC) #11
bshe
https://codereview.chromium.org/642943002/diff/230001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js (right): https://codereview.chromium.org/642943002/diff/230001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js#newcode37 chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js:37: if (failure) { nit: perhaps easier to read this ...
6 years, 1 month ago (2014-10-28 22:34:58 UTC) #12
Ran
https://codereview.chromium.org/642943002/diff/230001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js (right): https://codereview.chromium.org/642943002/diff/230001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js#newcode37 chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js:37: if (failure) { On 2014/10/28 22:34:57, bshe wrote: > ...
6 years, 1 month ago (2014-10-29 19:13:13 UTC) #13
bshe
lgtm please wait for kevin's review before you submit. https://codereview.chromium.org/642943002/diff/230001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js (right): https://codereview.chromium.org/642943002/diff/230001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js#newcode37 chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js:37: ...
6 years, 1 month ago (2014-10-30 12:51:37 UTC) #14
kevers
https://codereview.chromium.org/642943002/diff/250001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js (right): https://codereview.chromium.org/642943002/diff/250001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js#newcode9 chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js:9: image: '*#*@#&', Constants should be in all caps. var ...
6 years, 1 month ago (2014-10-30 14:17:36 UTC) #15
Ran
https://codereview.chromium.org/642943002/diff/250001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js File chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js (right): https://codereview.chromium.org/642943002/diff/250001/chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js#newcode9 chrome/test/data/chromeos/wallpaper_manager/unit_tests/api_mock.js:9: image: '*#*@#&', On 2014/10/30 14:17:36, kevers wrote: > Constants ...
6 years, 1 month ago (2014-10-30 19:23:43 UTC) #17
kevers
Sorry for the delay. LGTM.
6 years, 1 month ago (2014-11-03 21:48:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/642943002/330001
6 years, 1 month ago (2014-11-04 19:37:45 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:330001)
6 years, 1 month ago (2014-11-04 20:46:34 UTC) #22
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 20:47:18 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/41aa884211d2d8d2be9923e6a75fb5a40238cd5b
Cr-Commit-Position: refs/heads/master@{#302659}

Powered by Google App Engine
This is Rietveld 408576698