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

Issue 2259873002: Add ContentSuggestionsService tests. (Closed)

Created:
4 years, 4 months ago by vitaliii
Modified:
4 years, 4 months ago
CC:
chromium-reviews, ntp-dev+reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ContentSuggestionsService tests. This CL adds more tests for the ContentSuggestionsService, namely: - for |GetCategoryInfo(category)|; - for a case when category status changes; BUG=638917 Committed: https://crrev.com/183c628941ee645e25d155ca5e4edffaa5872049 Cr-Commit-Position: refs/heads/master@{#413084}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added a test. #

Total comments: 14

Patch Set 3 : Marc's comments. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -17 lines) Patch
M components/ntp_snippets/content_suggestions_service_unittest.cc View 1 2 3 11 chunks +122 lines, -17 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
vitaliii
4 years, 4 months ago (2016-08-18 12:40:20 UTC) #3
Philipp Keck
https://codereview.chromium.org/2259873002/diff/1/components/ntp_snippets/content_suggestions_service_unittest.cc File components/ntp_snippets/content_suggestions_service_unittest.cc (right): https://codereview.chromium.org/2259873002/diff/1/components/ntp_snippets/content_suggestions_service_unittest.cc#newcode391 components/ntp_snippets/content_suggestions_service_unittest.cc:391: ShouldRegisterNewCategoryOnNewSuggestions) { OnCategoryStatusChanged has the same ability of adding ...
4 years, 4 months ago (2016-08-18 12:51:59 UTC) #4
vitaliii
https://codereview.chromium.org/2259873002/diff/1/components/ntp_snippets/content_suggestions_service_unittest.cc File components/ntp_snippets/content_suggestions_service_unittest.cc (right): https://codereview.chromium.org/2259873002/diff/1/components/ntp_snippets/content_suggestions_service_unittest.cc#newcode391 components/ntp_snippets/content_suggestions_service_unittest.cc:391: ShouldRegisterNewCategoryOnNewSuggestions) { On 2016/08/18 12:51:58, Philipp Keck wrote: > ...
4 years, 4 months ago (2016-08-18 13:12:35 UTC) #7
Philipp Keck
lgtm
4 years, 4 months ago (2016-08-18 13:13:12 UTC) #8
vitaliii
4 years, 4 months ago (2016-08-18 13:14:34 UTC) #10
Marc Treib
Protip: Write some message when you add a reviewer, saying what you expect from them. ...
4 years, 4 months ago (2016-08-18 15:27:43 UTC) #11
Philipp Keck
https://codereview.chromium.org/2259873002/diff/20001/components/ntp_snippets/content_suggestions_service_unittest.cc File components/ntp_snippets/content_suggestions_service_unittest.cc (right): https://codereview.chromium.org/2259873002/diff/20001/components/ntp_snippets/content_suggestions_service_unittest.cc#newcode398 components/ntp_snippets/content_suggestions_service_unittest.cc:398: // |OnCategoryStatusChanged|. On 2016/08/18 15:27:42, Marc Treib wrote: > ...
4 years, 4 months ago (2016-08-18 15:29:56 UTC) #12
Marc Treib
https://codereview.chromium.org/2259873002/diff/20001/components/ntp_snippets/content_suggestions_service_unittest.cc File components/ntp_snippets/content_suggestions_service_unittest.cc (right): https://codereview.chromium.org/2259873002/diff/20001/components/ntp_snippets/content_suggestions_service_unittest.cc#newcode398 components/ntp_snippets/content_suggestions_service_unittest.cc:398: // |OnCategoryStatusChanged|. On 2016/08/18 15:29:56, Philipp Keck wrote: > ...
4 years, 4 months ago (2016-08-18 15:33:55 UTC) #13
vitaliii
Hello trieb, Please review a changelist. https://codereview.chromium.org/2259873002/diff/20001/components/ntp_snippets/content_suggestions_service_unittest.cc File components/ntp_snippets/content_suggestions_service_unittest.cc (right): https://codereview.chromium.org/2259873002/diff/20001/components/ntp_snippets/content_suggestions_service_unittest.cc#newcode65 components/ntp_snippets/content_suggestions_service_unittest.cc:65: void SetProvidedCategories(std::vector<Category> provided_categories) ...
4 years, 4 months ago (2016-08-18 16:32:13 UTC) #14
Marc Treib
LGTM, thanks!
4 years, 4 months ago (2016-08-18 16:39:23 UTC) #15
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/2259873002/40001
4 years, 4 months ago (2016-08-19 06:13:46 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/221375) ios-device on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-08-19 06:21:53 UTC) #20
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/2259873002/60001
4 years, 4 months ago (2016-08-19 07:36:34 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-19 08:25:00 UTC) #25
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 08:26:51 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/183c628941ee645e25d155ca5e4edffaa5872049
Cr-Commit-Position: refs/heads/master@{#413084}

Powered by Google App Engine
This is Rietveld 408576698