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

Issue 2672253003: [Remote fetcher] Add unit-tests for the authenticated case (Closed)

Created:
3 years, 10 months ago by jkrcal
Modified:
3 years, 10 months ago
Reviewers:
Marc Treib
CC:
chromium-reviews, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Remote fetcher] Add unit-tests for the authenticated case This CL adds basic tests for authenticated fetches of remote_suggestions_fetcher. BUG=688310 Review-Url: https://codereview.chromium.org/2672253003 Cr-Commit-Position: refs/heads/master@{#448581} Committed: https://chromium.googlesource.com/chromium/src/+/70957b2671edd5d21ec7b8a6cd36c0cc1f92df99

Patch Set 1 #

Patch Set 2 : Cleaning up DLOGs #

Total comments: 19

Patch Set 3 : Marc's comments and a bit of renaming #

Total comments: 8

Patch Set 4 : Marc's comment #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -118 lines) Patch
M components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc View 1 2 3 30 chunks +239 lines, -118 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
jkrcal
Marc, could you PTAL? This does not cover the "authentication in progress" case as it ...
3 years, 10 months ago (2017-02-06 09:47:38 UTC) #2
Marc Treib
On 2017/02/06 09:47:38, jkrcal wrote: > Marc, could you PTAL? > > This does not ...
3 years, 10 months ago (2017-02-06 10:51:26 UTC) #3
Marc Treib
https://codereview.chromium.org/2672253003/diff/20001/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc File components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc (right): https://codereview.chromium.org/2672253003/diff/20001/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc#newcode60 components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc:60: const char kTestChromeContentSuggestionsUrl[] = nit: Maybe rename this to ...
3 years, 10 months ago (2017-02-06 11:03:17 UTC) #4
jkrcal
Thanks, PTAL, again! https://codereview.chromium.org/2672253003/diff/20001/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc File components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc (right): https://codereview.chromium.org/2672253003/diff/20001/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc#newcode60 components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc:60: const char kTestChromeContentSuggestionsUrl[] = On 2017/02/06 ...
3 years, 10 months ago (2017-02-07 08:44:18 UTC) #5
Marc Treib
Thanks! LGTM with one comment nit. For bonus brownie points, next time try uploading the ...
3 years, 10 months ago (2017-02-07 09:18:13 UTC) #6
jkrcal
Thanks and sorry for mixing the patch sets! https://codereview.chromium.org/2672253003/diff/40001/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc File components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc (right): https://codereview.chromium.org/2672253003/diff/40001/components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc#newcode276 components/ntp_snippets/remote/remote_suggestions_fetcher_unittest.cc:276: // ...
3 years, 10 months ago (2017-02-07 09:27:34 UTC) #7
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/2672253003/60001
3 years, 10 months ago (2017-02-07 10:09:05 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 10:14:01 UTC) #17
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/70957b2671edd5d21ec7b8a6cd36...

Powered by Google App Engine
This is Rietveld 408576698