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

Issue 1942913002: Revert of [NTP Snippets] Add unit tests for NTPSnippetsFetcher (Closed)

Created:
4 years, 7 months ago by Dirk Pranke
Modified:
4 years, 7 months ago
Reviewers:
Marc Treib, mastiz
CC:
chromium-reviews, mcwilliams+watch_chromium.org, dgn+watch_chromium.org, jkrcal
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of [NTP Snippets] Add unit tests for NTPSnippetsFetcher (patchset #5 id:80001 of https://codereview.chromium.org/1940843002/ ) Reason for revert: I think this broke components_unittests on iOS: https://build.chromium.org/p/chromium.mac/builders/iOS_Simulator_%28dbg%29/builds/38004 Original issue's description: > [NTP Snippets] Add unit tests for NTPSnippetsFetcher > > The class had almost no coverage given that, besides not having unit tests, the ones for NTPSnippetsService don't actually exercise the fetcher. > > The proposed tests make use of FakeURLFetcherFactory to exercise basic success and failure cases and verify how callbacks are triggered. FakeURLFetcherFactory doesn't however support verifying features like the uploaded POST data for selected hosts which is left outside the scope of this patch. > > BUG=584428 > > Committed: https://crrev.com/302f9f70265f86097aa3bc4c7695fe99d067b47c > Cr-Commit-Position: refs/heads/master@{#390950} TBR=treib@chromium.org,mastiz@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=584428 Committed: https://crrev.com/508d55c0385d65406d2fc9a8235261f649ccf874 Cr-Commit-Position: refs/heads/master@{#390975}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -135 lines) Patch
M components/components_tests.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M components/ntp_snippets/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.h View 1 chunk +0 lines, -4 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.cc View 1 chunk +1 line, -0 lines 0 comments Download
D components/ntp_snippets/ntp_snippets_fetcher_unittest.cc View 1 chunk +0 lines, -129 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Dirk Pranke
Created Revert of [NTP Snippets] Add unit tests for NTPSnippetsFetcher
4 years, 7 months ago (2016-05-02 17:08:22 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1942913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1942913002/1
4 years, 7 months ago (2016-05-02 17:08:52 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-02 17:11:10 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/508d55c0385d65406d2fc9a8235261f649ccf874 Cr-Commit-Position: refs/heads/master@{#390975}
4 years, 7 months ago (2016-05-02 17:12:36 UTC) #6
mastiz
4 years, 7 months ago (2016-05-03 07:32:12 UTC) #7
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698