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

Issue 2354363007: Add unit tests for AddToHomescreenDataFetcher (Closed)

Created:
4 years, 3 months ago by pkotwicz
Modified:
4 years, 2 months ago
Reviewers:
dominickn, michaeln
CC:
chromium-reviews, jam, dominickn+watch_chromium.org, darin-cc_chromium.org, Xi Han
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unit tests for AddToHomescreenDataFetcher This CL makes some of the instrumentation tests in AddToHomescreenManagerTest unit tests for AddToHomescreenDataFetcher instead BUG=None R=dominickn, michaeln TBR=sky (For moving a file from content_browsertests to test_support in content/test/BUILD.gn) Committed: https://crrev.com/4207dcd418e427ebd7d344d305a8d19414dd0279 Cr-Commit-Position: refs/heads/master@{#421387}

Patch Set 1 : Merge branch 'remove_unneeded_var2.7' into remove_unneeded_var3 #

Total comments: 1

Patch Set 2 : Merge branch 'master' into remove_unneeded_var2.9 #

Patch Set 3 : Merge branch 'master' into remove_unneeded_var2.9 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+315 lines, -95 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/webapps/AddToHomescreenManagerTest.java View 4 chunks +0 lines, -93 lines 0 comments Download
A chrome/browser/android/webapps/DEPS View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc View 1 2 1 chunk +303 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
pkotwicz
Dominick, can you please take a look? Ideally these would be browser tests but Android ...
4 years, 3 months ago (2016-09-23 14:12:29 UTC) #2
dominickn
This looks pretty good, but what's the motivation for moving this to a unit test? ...
4 years, 2 months ago (2016-09-26 07:36:07 UTC) #5
pkotwicz
I wrote this CL as a prerequisite for https://codereview.chromium.org/2362813003/ The unit test makes it possible ...
4 years, 2 months ago (2016-09-26 18:01:59 UTC) #6
dominickn
On 2016/09/26 18:01:59, pkotwicz wrote: > I wrote this CL as a prerequisite for > ...
4 years, 2 months ago (2016-09-27 01:50:32 UTC) #7
pkotwicz
michaeln@ for new dependency on content/browser/service_worker by add_to_homescreen_data_fetcher_unittest.cc
4 years, 2 months ago (2016-09-27 15:25:30 UTC) #10
pkotwicz
michaeln@ for new dependency on content/browser/service_worker by add_to_homescreen_data_fetcher_unittest.cc
4 years, 2 months ago (2016-09-27 15:25:30 UTC) #11
michaeln
r/s lgtm
4 years, 2 months ago (2016-09-27 20:52:07 UTC) #12
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/2354363007/60001
4 years, 2 months ago (2016-09-27 22:04:41 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-09-27 23:46:44 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/4207dcd418e427ebd7d344d305a8d19414dd0279 Cr-Commit-Position: refs/heads/master@{#421387}
4 years, 2 months ago (2016-09-27 23:48:45 UTC) #23
tsergeant
4 years, 2 months ago (2016-09-29 00:34:49 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:60001) has been created in
https://codereview.chromium.org/2378973002/ by tsergeant@chromium.org.

The reason for reverting is: The new
AddToHomescreenDataFetcherTestCommon.ManifestFetchTimesOut test is flaky on
android_n5x_swarming_rel.

See crbug.com/651047 for further details..

Powered by Google App Engine
This is Rietveld 408576698