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

Issue 2567333003: ntp_tiles: Refactor existing MostVisitedSites tests (Closed)

Created:
4 years ago by mastiz
Modified:
4 years ago
Reviewers:
Marc Treib
CC:
chromium-reviews, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ntp_tiles: Refactor existing MostVisitedSites tests Expectations are now more explicitly inlined in tests without an intermediate Check() function. Among other things, this allows better failure messages including line numbers. This is a preceding step before adding new tests, which require a few other patches submitted first. BUG=619584 Committed: https://crrev.com/8dc93c5196fbf8d6309f065276f4766ba5e00abf Cr-Commit-Position: refs/heads/master@{#438824}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Merge into a single matcher. #

Patch Set 3 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -102 lines) Patch
M components/ntp_tiles/most_visited_sites.h View 1 2 2 chunks +6 lines, -8 lines 0 comments Download
M components/ntp_tiles/most_visited_sites_unittest.cc View 1 2 2 chunks +87 lines, -94 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 23 (13 generated)
mastiz
4 years ago (2016-12-13 15:24:08 UTC) #1
Marc Treib
Did you mean to send this for review? If so, you should add a reviewer ...
4 years ago (2016-12-13 15:50:25 UTC) #2
mastiz
This is the second that happens the same to me today, not sure which button ...
4 years ago (2016-12-13 15:59:31 UTC) #3
Marc Treib
lgtm LGTM with some optional suggestions https://codereview.chromium.org/2567333003/diff/1/components/ntp_tiles/most_visited_sites.h File components/ntp_tiles/most_visited_sites.h (right): https://codereview.chromium.org/2567333003/diff/1/components/ntp_tiles/most_visited_sites.h#newcode126 components/ntp_tiles/most_visited_sites.h:126: NTPTilesVector popular_tiles); I ...
4 years ago (2016-12-13 16:44:15 UTC) #8
mastiz
PTAL. https://codereview.chromium.org/2567333003/diff/1/components/ntp_tiles/most_visited_sites.h File components/ntp_tiles/most_visited_sites.h (right): https://codereview.chromium.org/2567333003/diff/1/components/ntp_tiles/most_visited_sites.h#newcode126 components/ntp_tiles/most_visited_sites.h:126: NTPTilesVector popular_tiles); On 2016/12/13 16:44:15, Marc Treib wrote: ...
4 years ago (2016-12-14 08:54:27 UTC) #10
Marc Treib
Still LGTM https://codereview.chromium.org/2567333003/diff/1/components/ntp_tiles/most_visited_sites.h File components/ntp_tiles/most_visited_sites.h (right): https://codereview.chromium.org/2567333003/diff/1/components/ntp_tiles/most_visited_sites.h#newcode126 components/ntp_tiles/most_visited_sites.h:126: NTPTilesVector popular_tiles); On 2016/12/14 08:54:27, mastiz wrote: ...
4 years ago (2016-12-14 09:27:34 UTC) #12
mastiz
https://codereview.chromium.org/2567333003/diff/1/components/ntp_tiles/most_visited_sites.h File components/ntp_tiles/most_visited_sites.h (right): https://codereview.chromium.org/2567333003/diff/1/components/ntp_tiles/most_visited_sites.h#newcode126 components/ntp_tiles/most_visited_sites.h:126: NTPTilesVector popular_tiles); On 2016/12/14 09:27:34, Marc Treib wrote: > ...
4 years ago (2016-12-14 09:40:29 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/2567333003/40001
4 years ago (2016-12-15 13:12:33 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/2fe7f0723f73da1b730b76b9c9427536dcabb1d9
4 years ago (2016-12-15 14:02:29 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-15 14:04:18 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8dc93c5196fbf8d6309f065276f4766ba5e00abf
Cr-Commit-Position: refs/heads/master@{#438824}

Powered by Google App Engine
This is Rietveld 408576698